Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",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.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 189.3 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008733/0.0008732, allocations: 83.97 kB / 261.4 MB, free: 13.47 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1971/0.1971, allocations: 43.48 MB / 352.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2031/0.4002, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.6636, allocations: 58.84 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.8139, allocations: 98.59 MB / 0.5618 GB, free: 320 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.8143, allocations: 79.47 kB / 0.5618 GB, free: 244 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.1063/0.9206, allocations: 36.08 MB / 0.5971 GB, free: 11.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9206, allocations: 8 kB / 0.5971 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.9226, allocations: 360.7 kB / 0.5974 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.9251, allocations: 1.143 MB / 0.5985 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.9252, allocations: 64 kB / 0.5986 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/0.9256, allocations: 112 kB / 0.5987 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003682/0.9293, allocations: 2.801 MB / 0.6014 GB, free: 7.262 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004561/0.9338, allocations: 3.843 MB / 0.6052 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.9339, allocations: 7.938 kB / 0.6052 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.9341, allocations: 8 kB / 0.6052 GB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008779/0.935, allocations: 0.5384 MB / 0.6057 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.9527, allocations: 15.71 MB / 0.6211 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.9538, allocations: 0.841 MB / 0.6219 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.9545, allocations: 0.6677 MB / 0.6225 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004675/0.9592, allocations: 3.608 MB / 0.6261 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.9593, allocations: 42.56 kB / 0.6261 GB, free: 13.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.624e-06/0.9593, allocations: 0 / 0.6261 GB, free: 13.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.003702/0.963, allocations: 1.104 MB / 0.6272 GB, free: 11.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.9631, allocations: 110.8 kB / 0.6273 GB, free: 11.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.965, allocations: 1.307 MB / 0.6286 GB, free: 10.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.9651, allocations: 29.7 kB / 0.6286 GB, free: 10.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/0.966, allocations: 1.42 MB / 0.63 GB, free: 8.996 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.9661, allocations: 134.6 kB / 0.6301 GB, free: 8.863 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.9662, allocations: 0 / 0.6301 GB, free: 8.863 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.9665, allocations: 447.7 kB / 0.6305 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.9672, allocations: 492.7 kB / 0.631 GB, free: 7.934 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.969, allocations: 2.103 MB / 0.6331 GB, free: 4.996 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.9702, allocations: 0.9829 MB / 0.634 GB, free: 4.012 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.9703, allocations: 16 kB / 0.634 GB, free: 3.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=310) (initialization): time 0.003724/0.974, allocations: 2.166 MB / 0.6361 GB, free: 1.824 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.974, allocations: 8 kB / 0.6362 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/0.9741, allocations: 56 kB / 0.6362 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.288e-05/0.9742, allocations: 92.8 kB / 0.6363 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.9759, allocations: 0.5692 MB / 0.6369 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.605e-05/0.976, allocations: 111.6 kB / 0.637 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.9777, allocations: 292.4 kB / 0.6372 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.9779, allocations: 152 kB / 0.6374 GB, free: 0.5547 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 268 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002786/0.9782, allocations: 259.5 kB / 0.6376 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.9784, allocations: 122.4 kB / 0.6377 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.9786, allocations: 139.8 kB / 0.6379 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.9786, allocations: 4 kB / 0.6379 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.9787, allocations: 0 / 0.6379 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.9787, allocations: 0 / 0.6379 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1642/1.143, allocations: 2.571 MB / 0.6404 GB, free: 183.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.143, allocations: 9.781 kB / 0.6404 GB, free: 183.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/1.143, allocations: 71.52 kB / 0.6405 GB, free: 183.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/1.143, allocations: 15.73 kB / 0.6405 GB, free: 183.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/1.143, allocations: 11.78 kB / 0.6405 GB, free: 183.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/1.143, allocations: 22.45 kB / 0.6405 GB, free: 183.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.143, allocations: 14.78 kB / 0.6405 GB, free: 183.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008526/1.144, allocations: 1.202 MB / 0.6417 GB, free: 182.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009317/1.145, allocations: 1.607 MB / 0.6433 GB, free: 181.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/1.145, allocations: 206.5 kB / 0.6435 GB, free: 181.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.146, allocations: 14.03 kB / 0.6435 GB, free: 181.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/1.146, allocations: 15.56 kB / 0.6435 GB, free: 181.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/1.146, allocations: 44.88 kB / 0.6435 GB, free: 181.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.146, allocations: 23.19 kB / 0.6436 GB, free: 181.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001012/1.147, allocations: 0.8595 MB / 0.6444 GB, free: 181.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002563/1.15, allocations: 456.6 kB / 0.6448 GB, free: 181 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001877/1.15, allocations: 117.4 kB / 0.645 GB, free: 180.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00151/1.151, allocations: 1.17 MB / 0.6461 GB, free: 180.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.151, allocations: 3.312 kB / 0.6461 GB, free: 180.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/1.152, allocations: 187.4 kB / 0.6463 GB, free: 180.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/1.152, allocations: 126.2 kB / 0.6464 GB, free: 180.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/1.156, allocations: 2.718 MB / 0.6491 GB, free: 180 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/1.158, allocations: 1.852 MB / 0.6509 GB, free: 179.3 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/1.158, allocations: 0 / 0.6509 GB, free: 179.3 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)