Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",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 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 181.9 kB / 8.521 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.4 MB / 230.3 MB, free: 7.691 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.00101, allocations: 86.36 kB / 281.2 MB, free: 5.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2034/0.2034, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2598/0.4632, allocations: 68.02 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.6057, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/1.004, allocations: 102.3 MB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/1.004, allocations: 71.19 kB / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.1982/1.202, allocations: 60.21 MB / 0.6529 GB, free: 13.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/1.202, allocations: 8 kB / 0.6529 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/1.217, allocations: 1.576 MB / 0.6545 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/1.231, allocations: 3.263 MB / 0.6576 GB, free: 8.824 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/1.231, allocations: 76 kB / 0.6577 GB, free: 8.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/1.233, allocations: 143.9 kB / 0.6579 GB, free: 8.609 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0126/1.245, allocations: 4.096 MB / 0.6619 GB, free: 4.508 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/1.266, allocations: 6.387 MB / 0.6681 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002949/1.266, allocations: 39.62 kB / 0.6681 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/1.268, allocations: 27.91 kB / 0.6682 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/1.269, allocations: 0.7693 MB / 0.6689 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05508/1.325, allocations: 32.81 MB / 0.701 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/1.329, allocations: 2.063 MB / 0.703 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/1.331, allocations: 1.132 MB / 0.7041 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/1.342, allocations: 3.816 MB / 0.7078 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/1.342, allocations: 42.83 kB / 0.7078 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 7.544e-06/1.342, allocations: 0 / 0.7078 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.2099/1.552, allocations: 6.18 MB / 0.7139 GB, free: 207.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.552, allocations: 140.1 kB / 0.714 GB, free: 207.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/1.555, allocations: 2.208 MB / 0.7162 GB, free: 207.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/1.555, allocations: 25.7 kB / 0.7162 GB, free: 207.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009645/1.556, allocations: 2.078 MB / 0.7182 GB, free: 206.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/1.556, allocations: 424.9 kB / 0.7186 GB, free: 206 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/1.557, allocations: 0 / 0.7186 GB, free: 206 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002413/1.557, allocations: 0.5432 MB / 0.7192 GB, free: 205.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.558, allocations: 1.334 MB / 0.7205 GB, free: 205.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/1.561, allocations: 4.29 MB / 0.7247 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/1.564, allocations: 2.387 MB / 0.727 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.463e-05/1.564, allocations: 29.72 kB / 0.727 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=593) (initialization): time 0.00637/1.57, allocations: 4.889 MB / 0.7318 GB, free: 201.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.57, allocations: 3.906 kB / 0.7318 GB, free: 201.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.893e-05/1.57, allocations: 105.4 kB / 0.7319 GB, free: 201.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/1.571, allocations: 157.9 kB / 0.732 GB, free: 201.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/1.574, allocations: 1.094 MB / 0.7331 GB, free: 201.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001297/1.574, allocations: 210.5 kB / 0.7333 GB, free: 201.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/1.577, allocations: 179.4 kB / 0.7335 GB, free: 201.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/1.577, allocations: 297.2 kB / 0.7338 GB, free: 201.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 566 * Array equations: 3 * 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.0004224/1.578, allocations: 355.2 kB / 0.7341 GB, free: 200.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/1.578, allocations: 216 kB / 0.7343 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/1.58, allocations: 1.183 MB / 0.7355 GB, free: 200.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/1.58, allocations: 20.88 kB / 0.7355 GB, free: 200.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.58, allocations: 0 / 0.7355 GB, free: 200.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.58, allocations: 4.734 kB / 0.7355 GB, free: 200.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/1.587, allocations: 3.977 MB / 0.7394 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/1.587, allocations: 9.688 kB / 0.7394 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009033/1.588, allocations: 184.4 kB / 0.7396 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/1.588, allocations: 9.906 kB / 0.7396 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/1.588, allocations: 13.45 kB / 0.7396 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/1.588, allocations: 14.38 kB / 0.7396 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.588, allocations: 11.78 kB / 0.7396 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002249/1.59, allocations: 2.655 MB / 0.7422 GB, free: 198.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002256/1.592, allocations: 3.068 MB / 0.7452 GB, free: 196.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/1.593, allocations: 277.7 kB / 0.7455 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.593, allocations: 9.906 kB / 0.7455 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/1.594, allocations: 47.16 kB / 0.7455 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.594, allocations: 64.2 kB / 0.7456 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/1.594, allocations: 35.59 kB / 0.7456 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001827/1.596, allocations: 1.465 MB / 0.747 GB, free: 195.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003949/1.6, allocations: 0.5397 MB / 0.7476 GB, free: 195.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 3 * 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.0003794/1.601, allocations: 153.3 kB / 0.7477 GB, free: 195.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003961/1.605, allocations: 3.067 MB / 0.7507 GB, free: 194.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.605, allocations: 0 / 0.7507 GB, free: 194.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/1.605, allocations: 0.7524 MB / 0.7514 GB, free: 194.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.607, allocations: 208 kB / 0.7516 GB, free: 194.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008673/1.615, allocations: 4.665 MB / 0.7562 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/1.618, allocations: 2.461 MB / 0.7586 GB, free: 191.5 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/1.618, allocations: 4.875 kB / 0.7586 GB, free: 191.5 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1)