{"action":"created","issue":{"url":"https://api.github.com/repos/into-cps/intocps-ui/issues/140","repository_url":"https://api.github.com/repos/into-cps/intocps-ui","labels_url":"https://api.github.com/repos/into-cps/intocps-ui/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/into-cps/intocps-ui/issues/140/comments","events_url":"https://api.github.com/repos/into-cps/intocps-ui/issues/140/events","html_url":"https://github.com/into-cps/intocps-ui/issues/140","id":169898868,"number":140,"title":"Error in termination of multiple instance 20-sim FMUs","user":{"login":"kgpierce","id":5968335,"avatar_url":"https://avatars.githubusercontent.com/u/5968335?v=3","gravatar_id":"","url":"https://api.github.com/users/kgpierce","html_url":"https://github.com/kgpierce","followers_url":"https://api.github.com/users/kgpierce/followers","following_url":"https://api.github.com/users/kgpierce/following{/other_user}","gists_url":"https://api.github.com/users/kgpierce/gists{/gist_id}","starred_url":"https://api.github.com/users/kgpierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgpierce/subscriptions","organizations_url":"https://api.github.com/users/kgpierce/orgs","repos_url":"https://api.github.com/users/kgpierce/repos","events_url":"https://api.github.com/users/kgpierce/events{/privacy}","received_events_url":"https://api.github.com/users/kgpierce/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/into-cps/intocps-ui/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-08T11:14:28Z","updated_at":"2016-08-08T12:13:14Z","closed_at":null,"body":"Running a multi-model with multiple instances of 20-sim generated FMUs crashes the COE on termination:\r\n\r\n```\r\nINFO [NanoHttpd Request Processor (#1)] (CoeSimulator.scala:178) - Freeing serilized states from: 10.0\r\nTRACE [NanoHttpd Request Processor (#1)] (ResultLogger.scala:42) - org.intocps.orchestration.coe.scala.CoeObject$GlobalState@36388bcb\r\nDEBUG [NanoHttpd Request Processor (#1)] (CoeSimulator.scala:405) - Calling terminate for: {uav}.uav2\r\nDEBUG [NanoHttpd Request Processor (#1)] (CoeSimulator.scala:407) - Calling freeInstance for: {uav}.uav2\r\nDEBUG [NanoHttpd Request Processor (#1)] (CoeSimulator.scala:405) - Calling terminate for: {uav}.uav\r\njava(51300,0x12fe9f000) malloc: *** error for object 0x7f9551cb5c50: pointer being freed was not allocated\r\n*** set a breakpoint in malloc_error_break to debug\r\nAbort trap: 6\r\n```\r\n\r\nSuggested test model is the UAV case study: https://github.com/into-cps/case-study_uav_swarm/tree/development (use 3-UAV-Non-3D\\Experiment 1). You can obviously set the end time to very short to reach termination quickly."},"comment":{"url":"https://api.github.com/repos/into-cps/intocps-ui/issues/comments/238217926","html_url":"https://github.com/into-cps/intocps-ui/issues/140#issuecomment-238217926","issue_url":"https://api.github.com/repos/into-cps/intocps-ui/issues/140","id":238217926,"user":{"login":"kgpierce","id":5968335,"avatar_url":"https://avatars.githubusercontent.com/u/5968335?v=3","gravatar_id":"","url":"https://api.github.com/users/kgpierce","html_url":"https://github.com/kgpierce","followers_url":"https://api.github.com/users/kgpierce/followers","following_url":"https://api.github.com/users/kgpierce/following{/other_user}","gists_url":"https://api.github.com/users/kgpierce/gists{/gist_id}","starred_url":"https://api.github.com/users/kgpierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgpierce/subscriptions","organizations_url":"https://api.github.com/users/kgpierce/orgs","repos_url":"https://api.github.com/users/kgpierce/repos","events_url":"https://api.github.com/users/kgpierce/events{/privacy}","received_events_url":"https://api.github.com/users/kgpierce/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T12:13:14Z","updated_at":"2016-08-08T12:13:14Z","body":"Running the co-simulation with a single FMU (1-UAV-Non-3D\\Experiment 1) works fine."}}
{"actor":{"display_login":"kgpierce"}}