{"action":"closed","number":571,"pull_request":{"url":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/571","id":64001441,"html_url":"https://github.com/OpenModelica/OMCompiler/pull/571","diff_url":"https://github.com/OpenModelica/OMCompiler/pull/571.diff","patch_url":"https://github.com/OpenModelica/OMCompiler/pull/571.patch","issue_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/571","number":571,"state":"closed","locked":false,"title":"Add functionality to record all mmc_alloc_words","user":{"login":"sjoelund","id":3016460,"avatar_url":"https://avatars.githubusercontent.com/u/3016460?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoelund","html_url":"https://github.com/sjoelund","followers_url":"https://api.github.com/users/sjoelund/followers","following_url":"https://api.github.com/users/sjoelund/following{/other_user}","gists_url":"https://api.github.com/users/sjoelund/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoelund/subscriptions","organizations_url":"https://api.github.com/users/sjoelund/orgs","repos_url":"https://api.github.com/users/sjoelund/repos","events_url":"https://api.github.com/users/sjoelund/events{/privacy}","received_events_url":"https://api.github.com/users/sjoelund/received_events","type":"User","site_admin":false},"body":"To use it: configure with CPPFLAGS=-DOMC_RECORD_ALLOC_WORDS and run\r\nmake OMC_EXTRA_FLAGS=-d=metaModelicaRecordAllocWords\r\n\r\nThen in your mos-script, finish the script by calling exit(0) since we\r\nusually call _exit(0), skipping the atexit handler. Note that your mos-\r\nscript must run with -n=1 since the code is not thread-safe.","created_at":"2016-03-24T08:11:51Z","updated_at":"2016-03-24T08:24:44Z","closed_at":"2016-03-24T08:24:44Z","merged_at":null,"merge_commit_sha":"2a7e8670cb8f5214b64a2c575084aeb784a1228d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/571/commits","review_comments_url":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/571/comments","review_comment_url":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/571/comments","statuses_url":"https://api.github.com/repos/OpenModelica/OMCompiler/statuses/dbd88c2a9766b7f995325d2aa897f24ef4ccf282","head":{"label":"sjoelund:record-alloc-words","ref":"record-alloc-words","sha":"dbd88c2a9766b7f995325d2aa897f24ef4ccf282","user":{"login":"sjoelund","id":3016460,"avatar_url":"https://avatars.githubusercontent.com/u/3016460?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoelund","html_url":"https://github.com/sjoelund","followers_url":"https://api.github.com/users/sjoelund/followers","following_url":"https://api.github.com/users/sjoelund/following{/other_user}","gists_url":"https://api.github.com/users/sjoelund/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoelund/subscriptions","organizations_url":"https://api.github.com/users/sjoelund/orgs","repos_url":"https://api.github.com/users/sjoelund/repos","events_url":"https://api.github.com/users/sjoelund/events{/privacy}","received_events_url":"https://api.github.com/users/sjoelund/received_events","type":"User","site_admin":false},"repo":{"id":36281448,"name":"OMCompiler","full_name":"sjoelund/OMCompiler","owner":{"login":"sjoelund","id":3016460,"avatar_url":"https://avatars.githubusercontent.com/u/3016460?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoelund","html_url":"https://github.com/sjoelund","followers_url":"https://api.github.com/users/sjoelund/followers","following_url":"https://api.github.com/users/sjoelund/following{/other_user}","gists_url":"https://api.github.com/users/sjoelund/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoelund/subscriptions","organizations_url":"https://api.github.com/users/sjoelund/orgs","repos_url":"https://api.github.com/users/sjoelund/repos","events_url":"https://api.github.com/users/sjoelund/events{/privacy}","received_events_url":"https://api.github.com/users/sjoelund/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjoelund/OMCompiler","description":"The OpenModelica Compiler is the core of the OpenModelica project, which is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage.","fork":true,"url":"https://api.github.com/repos/sjoelund/OMCompiler","forks_url":"https://api.github.com/repos/sjoelund/OMCompiler/forks","keys_url":"https://api.github.com/repos/sjoelund/OMCompiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjoelund/OMCompiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjoelund/OMCompiler/teams","hooks_url":"https://api.github.com/repos/sjoelund/OMCompiler/hooks","issue_events_url":"https://api.github.com/repos/sjoelund/OMCompiler/issues/events{/number}","events_url":"https://api.github.com/repos/sjoelund/OMCompiler/events","assignees_url":"https://api.github.com/repos/sjoelund/OMCompiler/assignees{/user}","branches_url":"https://api.github.com/repos/sjoelund/OMCompiler/branches{/branch}","tags_url":"https://api.github.com/repos/sjoelund/OMCompiler/tags","blobs_url":"https://api.github.com/repos/sjoelund/OMCompiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjoelund/OMCompiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjoelund/OMCompiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjoelund/OMCompiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjoelund/OMCompiler/statuses/{sha}","languages_url":"https://api.github.com/repos/sjoelund/OMCompiler/languages","stargazers_url":"https://api.github.com/repos/sjoelund/OMCompiler/stargazers","contributors_url":"https://api.github.com/repos/sjoelund/OMCompiler/contributors","subscribers_url":"https://api.github.com/repos/sjoelund/OMCompiler/subscribers","subscription_url":"https://api.github.com/repos/sjoelund/OMCompiler/subscription","commits_url":"https://api.github.com/repos/sjoelund/OMCompiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjoelund/OMCompiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjoelund/OMCompiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjoelund/OMCompiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjoelund/OMCompiler/contents/{+path}","compare_url":"https://api.github.com/repos/sjoelund/OMCompiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjoelund/OMCompiler/merges","archive_url":"https://api.github.com/repos/sjoelund/OMCompiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjoelund/OMCompiler/downloads","issues_url":"https://api.github.com/repos/sjoelund/OMCompiler/issues{/number}","pulls_url":"https://api.github.com/repos/sjoelund/OMCompiler/pulls{/number}","milestones_url":"https://api.github.com/repos/sjoelund/OMCompiler/milestones{/number}","notifications_url":"https://api.github.com/repos/sjoelund/OMCompiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjoelund/OMCompiler/labels{/name}","releases_url":"https://api.github.com/repos/sjoelund/OMCompiler/releases{/id}","deployments_url":"https://api.github.com/repos/sjoelund/OMCompiler/deployments","created_at":"2015-05-26T08:09:26Z","updated_at":"2016-02-03T10:42:34Z","pushed_at":"2016-03-24T08:11:46Z","git_url":"git://github.com/sjoelund/OMCompiler.git","ssh_url":"git@github.com:sjoelund/OMCompiler.git","clone_url":"https://github.com/sjoelund/OMCompiler.git","svn_url":"https://github.com/sjoelund/OMCompiler","homepage":"https://trac.openmodelica.org/OpenModelica","size":70505,"stargazers_count":0,"watchers_count":0,"language":"Modelica","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenModelica:master","ref":"master","sha":"ffcb0f705ac3c1bfae6ff42d45b8e68d22059e76","user":{"login":"OpenModelica","id":4006504,"avatar_url":"https://avatars.githubusercontent.com/u/4006504?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenModelica","html_url":"https://github.com/OpenModelica","followers_url":"https://api.github.com/users/OpenModelica/followers","following_url":"https://api.github.com/users/OpenModelica/following{/other_user}","gists_url":"https://api.github.com/users/OpenModelica/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenModelica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenModelica/subscriptions","organizations_url":"https://api.github.com/users/OpenModelica/orgs","repos_url":"https://api.github.com/users/OpenModelica/repos","events_url":"https://api.github.com/users/OpenModelica/events{/privacy}","received_events_url":"https://api.github.com/users/OpenModelica/received_events","type":"Organization","site_admin":false},"repo":{"id":35014743,"name":"OMCompiler","full_name":"OpenModelica/OMCompiler","owner":{"login":"OpenModelica","id":4006504,"avatar_url":"https://avatars.githubusercontent.com/u/4006504?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenModelica","html_url":"https://github.com/OpenModelica","followers_url":"https://api.github.com/users/OpenModelica/followers","following_url":"https://api.github.com/users/OpenModelica/following{/other_user}","gists_url":"https://api.github.com/users/OpenModelica/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenModelica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenModelica/subscriptions","organizations_url":"https://api.github.com/users/OpenModelica/orgs","repos_url":"https://api.github.com/users/OpenModelica/repos","events_url":"https://api.github.com/users/OpenModelica/events{/privacy}","received_events_url":"https://api.github.com/users/OpenModelica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenModelica/OMCompiler","description":"The OpenModelica Compiler is the core of the OpenModelica project, which is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage.","fork":false,"url":"https://api.github.com/repos/OpenModelica/OMCompiler","forks_url":"https://api.github.com/repos/OpenModelica/OMCompiler/forks","keys_url":"https://api.github.com/repos/OpenModelica/OMCompiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenModelica/OMCompiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenModelica/OMCompiler/teams","hooks_url":"https://api.github.com/repos/OpenModelica/OMCompiler/hooks","issue_events_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/events{/number}","events_url":"https://api.github.com/repos/OpenModelica/OMCompiler/events","assignees_url":"https://api.github.com/repos/OpenModelica/OMCompiler/assignees{/user}","branches_url":"https://api.github.com/repos/OpenModelica/OMCompiler/branches{/branch}","tags_url":"https://api.github.com/repos/OpenModelica/OMCompiler/tags","blobs_url":"https://api.github.com/repos/OpenModelica/OMCompiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenModelica/OMCompiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenModelica/OMCompiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenModelica/OMCompiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenModelica/OMCompiler/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenModelica/OMCompiler/languages","stargazers_url":"https://api.github.com/repos/OpenModelica/OMCompiler/stargazers","contributors_url":"https://api.github.com/repos/OpenModelica/OMCompiler/contributors","subscribers_url":"https://api.github.com/repos/OpenModelica/OMCompiler/subscribers","subscription_url":"https://api.github.com/repos/OpenModelica/OMCompiler/subscription","commits_url":"https://api.github.com/repos/OpenModelica/OMCompiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenModelica/OMCompiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenModelica/OMCompiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenModelica/OMCompiler/contents/{+path}","compare_url":"https://api.github.com/repos/OpenModelica/OMCompiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenModelica/OMCompiler/merges","archive_url":"https://api.github.com/repos/OpenModelica/OMCompiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenModelica/OMCompiler/downloads","issues_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues{/number}","pulls_url":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenModelica/OMCompiler/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenModelica/OMCompiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenModelica/OMCompiler/labels{/name}","releases_url":"https://api.github.com/repos/OpenModelica/OMCompiler/releases{/id}","deployments_url":"https://api.github.com/repos/OpenModelica/OMCompiler/deployments","created_at":"2015-05-04T04:53:52Z","updated_at":"2016-03-15T08:21:02Z","pushed_at":"2016-03-24T08:24:43Z","git_url":"git://github.com/OpenModelica/OMCompiler.git","ssh_url":"git@github.com:OpenModelica/OMCompiler.git","clone_url":"https://github.com/OpenModelica/OMCompiler.git","svn_url":"https://github.com/OpenModelica/OMCompiler","homepage":"https://trac.openmodelica.org/OpenModelica","size":78866,"stargazers_count":13,"watchers_count":13,"language":"Modelica","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":3,"forks":38,"open_issues":3,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/571"},"html":{"href":"https://github.com/OpenModelica/OMCompiler/pull/571"},"issue":{"href":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/571"},"comments":{"href":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/571/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/571/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/571/commits"},"statuses":{"href":"https://api.github.com/repos/OpenModelica/OMCompiler/statuses/dbd88c2a9766b7f995325d2aa897f24ef4ccf282"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":85,"deletions":9,"changed_files":8}}