Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IdealizedContact_IdealizedContact.Examples.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package IdealizedContact with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(IdealizedContact.Examples.Example5,fileNamePrefix="IdealizedContact_IdealizedContact_Examples_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IdealizedContact.Examples.Example5,fileNamePrefix="IdealizedContact_IdealizedContact_Examples_Example5",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004723/0.004723, allocations: 176.5 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo): time 0.1175/0.1175, allocations: 14.22 MB / 22.08 MB, free: 1.145 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.408/1.408, allocations: 170.6 MB / 196.5 MB, free: 8.973 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002096/0.002096, allocations: 101.1 kB / 239.2 MB, free: 1.477 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1306/0.1327, allocations: 48.37 MB / 287.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.3458, allocations: 42.24 MB / 329.8 MB, free: 40.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.7037, allocations: 134.4 MB / 464.3 MB, free: 58.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.704, allocations: 73.53 kB / 464.4 MB, free: 58.56 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:1019:35-1019:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:16734:7-16734:45:writable] Warning: Ignoring the modification on outer element: contact.contactDefinition.animation = true. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:10963:10-10967:34:writable] Warning: connect(frame_a3, frame_a3) connects the same connector instance! The connect equation will be ignored. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:10991:11-10996:35:writable] Warning: connect(frame_a1, frame_a1) connects the same connector instance! The connect equation will be ignored. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:10997:11-11002:35:writable] Warning: connect(frame_a2, frame_a2) connects the same connector instance! The connect equation will be ignored. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:10963:10-10967:34:writable] Warning: connect(frame_a3, frame_a3) connects the same connector instance! The connect equation will be ignored. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:10991:11-10996:35:writable] Warning: connect(frame_a1, frame_a1) connects the same connector instance! The connect equation will be ignored. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:10997:11-11002:35:writable] Warning: connect(frame_a2, frame_a2) connects the same connector instance! The connect equation will be ignored. Error: Too many equations, over-determined system. The model has 8331 equation(s) and 8328 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:16160:9-16160:64:writable] Warning: Variable contact.contactDefinition.geometry[2].variablePrism.f does not have any remaining equation to be solved in. The original equations were: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:16160:9-16160:64:writable] Warning: Variable contact.contactDefinition.geometry[1].variablePrism.f does not have any remaining equation to be solved in. The original equations were: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:16828:7-16832:31:writable] Warning: Equation 1 (size: 3) {0.0, 0.0, 0.0} = Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(rectangle.frame_a.R, rectangle.contact_a.frame.R) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: rectangle.frame_a.R.T[1,1], rectangle.frame_a.R.T[1,2], rectangle.frame_a.R.T[1,3], rectangle.frame_a.R.T[2,1], rectangle.frame_a.R.T[2,2], rectangle.frame_a.R.T[2,3], rectangle.frame_a.R.T[3,1], rectangle.frame_a.R.T[3,2], rectangle.frame_a.R.T[3,3], rectangle.frame_a.R.w[1], rectangle.frame_a.R.w[2], rectangle.frame_a.R.w[3], rectangle.contact_a.frame.R.T[1,1], rectangle.contact_a.frame.R.T[1,2], rectangle.contact_a.frame.R.T[1,3], rectangle.contact_a.frame.R.T[2,1], rectangle.contact_a.frame.R.T[2,2], rectangle.contact_a.frame.R.T[2,3], rectangle.contact_a.frame.R.T[3,1], rectangle.contact_a.frame.R.T[3,2], rectangle.contact_a.frame.R.T[3,3], rectangle.contact_a.frame.R.w[1], rectangle.contact_a.frame.R.w[2], rectangle.contact_a.frame.R.w[3] Equations used to solve those variables: Equation 3199 (size: 1): rectangle.shape.frame_a.R.T[1,1] = rectangle.contact_a.frame.R.T[1,1] Equation 3203 (size: 1): rectangle.shape.frame_a.R.T[1,2] = rectangle.contact_a.frame.R.T[1,2] Equation 3207 (size: 1): rectangle.shape.frame_a.R.T[1,3] = rectangle.contact_a.frame.R.T[1,3] Equation 3211 (size: 1): rectangle.shape.frame_a.R.T[2,1] = rectangle.contact_a.frame.R.T[2,1] Equation 3215 (size: 1): rectangle.shape.frame_a.R.T[2,2] = rectangle.contact_a.frame.R.T[2,2] Equation 3219 (size: 1): rectangle.shape.frame_a.R.T[2,3] = rectangle.contact_a.frame.R.T[2,3] Equation 3223 (size: 1): rectangle.shape.frame_a.R.T[3,1] = rectangle.contact_a.frame.R.T[3,1] Equation 3227 (size: 1): rectangle.shape.frame_a.R.T[3,2] = rectangle.contact_a.frame.R.T[3,2] Equation 3231 (size: 1): rectangle.shape.frame_a.R.T[3,3] = rectangle.contact_a.frame.R.T[3,3] Equation 3235 (size: 1): rectangle.shape.frame_a.R.w[1] = rectangle.contact_a.frame.R.w[1] Equation 3239 (size: 1): rectangle.shape.frame_a.R.w[2] = rectangle.contact_a.frame.R.w[2] Equation 3243 (size: 1): rectangle.shape.frame_a.R.w[3] = rectangle.contact_a.frame.R.w[3] Equation 7402 (size: 1): fixedRotation.frame_b.R.T[1,1] = rectangle.frame_a.R.T[1,1] Equation 7403 (size: 1): fixedRotation.frame_b.R.T[1,2] = rectangle.frame_a.R.T[1,2] Equation 7404 (size: 1): fixedRotation.frame_b.R.T[1,3] = rectangle.frame_a.R.T[1,3] Equation 7405 (size: 1): fixedRotation.frame_b.R.T[2,1] = rectangle.frame_a.R.T[2,1] Equation 7406 (size: 1): fixedRotation.frame_b.R.T[2,2] = rectangle.frame_a.R.T[2,2] Equation 7407 (size: 1): fixedRotation.frame_b.R.T[2,3] = rectangle.frame_a.R.T[2,3] Equation 7408 (size: 1): fixedRotation.frame_b.R.T[3,1] = rectangle.frame_a.R.T[3,1] Equation 7409 (size: 1): fixedRotation.frame_b.R.T[3,2] = rectangle.frame_a.R.T[3,2] Equation 7410 (size: 1): fixedRotation.frame_b.R.T[3,3] = rectangle.frame_a.R.T[3,3] Equation 7411 (size: 1): fixedRotation.frame_b.R.w[1] = rectangle.frame_a.R.w[1] Equation 7412 (size: 1): fixedRotation.frame_b.R.w[2] = rectangle.frame_a.R.w[2] Equation 7413 (size: 1): fixedRotation.frame_b.R.w[3] = rectangle.frame_a.R.w[3] Error: Internal error SimCode: The model IdealizedContact.Examples.Example5 could not be translated to FMU