{"action":"created","issue":{"url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/128","labels_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/128/comments","events_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/128/events","html_url":"https://github.com/OpenModelica/OMCompiler/pull/128","id":97461873,"number":128,"title":"Changed number of event indicators for c++ based FMU export","user":{"login":"MarcusWalther","id":12247833,"avatar_url":"https://avatars.githubusercontent.com/u/12247833?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcusWalther","html_url":"https://github.com/MarcusWalther","followers_url":"https://api.github.com/users/MarcusWalther/followers","following_url":"https://api.github.com/users/MarcusWalther/following{/other_user}","gists_url":"https://api.github.com/users/MarcusWalther/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcusWalther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcusWalther/subscriptions","organizations_url":"https://api.github.com/users/MarcusWalther/orgs","repos_url":"https://api.github.com/users/MarcusWalther/repos","events_url":"https://api.github.com/users/MarcusWalther/events{/privacy}","received_events_url":"https://api.github.com/users/MarcusWalther/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-27T13:22:06Z","updated_at":"2015-07-28T05:54:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/128","html_url":"https://github.com/OpenModelica/OMCompiler/pull/128","diff_url":"https://github.com/OpenModelica/OMCompiler/pull/128.diff","patch_url":"https://github.com/OpenModelica/OMCompiler/pull/128.patch"},"body":"Because the c++-runtime handles events different than the c-runtime, the number of event indicators created by FMUCommon.tpl was not correct for both runtimes. Therefore i've added a switch inside the new function \"getNumberOfEventIndicators()\".\r\n\r\nThis fixes a segfault, that occurs when the CoupledClutches model is translated to FMU and simulated in OpenModelica. \r\n\r\n@rfranke  Can you please take a look at the request and test if these changes will also fix your local segfault?"},"comment":{"url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/comments/125459056","html_url":"https://github.com/OpenModelica/OMCompiler/pull/128#issuecomment-125459056","issue_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/128","id":125459056,"user":{"login":"OpenModelica-Hudson","id":12395824,"avatar_url":"https://avatars.githubusercontent.com/u/12395824?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenModelica-Hudson","html_url":"https://github.com/OpenModelica-Hudson","followers_url":"https://api.github.com/users/OpenModelica-Hudson/followers","following_url":"https://api.github.com/users/OpenModelica-Hudson/following{/other_user}","gists_url":"https://api.github.com/users/OpenModelica-Hudson/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenModelica-Hudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenModelica-Hudson/subscriptions","organizations_url":"https://api.github.com/users/OpenModelica-Hudson/orgs","repos_url":"https://api.github.com/users/OpenModelica-Hudson/repos","events_url":"https://api.github.com/users/OpenModelica-Hudson/events{/privacy}","received_events_url":"https://api.github.com/users/OpenModelica-Hudson/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T05:54:54Z","updated_at":"2015-07-28T05:54:54Z","body":"The tests run correctly according to [OpenModelica_TEST_PULL_REQUEST 2015-07-28_07-42-17](https://test.openmodelica.org/hudson//job/OpenModelica_TEST_PULL_REQUEST/438/console)."}}