Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.001189/0.001189, allocations: 190.4 kB / 7.803 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.392/1.392, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001102/0.001102, allocations: 91.42 kB / 261.4 MB, free: 13.56 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.2144/0.2144, allocations: 43.49 MB / 352.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2487/0.4632, allocations: 64.97 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.8352, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.9781, allocations: 93.11 MB / 0.5564 GB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.9784, allocations: 79.56 kB / 0.5565 GB, free: 5.738 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.09406/1.073, allocations: 35.5 MB / 0.5911 GB, free: 1.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/1.073, allocations: 12 kB / 0.5912 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006674/1.079, allocations: 1.331 MB / 0.5925 GB, free: 488 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/1.082, allocations: 1.032 MB / 0.5935 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/1.082, allocations: 55.83 kB / 0.5935 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/1.083, allocations: 100 kB / 0.5936 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004682/1.087, allocations: 2.828 MB / 0.5964 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006649/1.094, allocations: 4.721 MB / 0.601 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/1.094, allocations: 31.75 kB / 0.601 GB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/1.094, allocations: 19.91 kB / 0.601 GB, free: 6.988 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007543/1.095, allocations: 0.5449 MB / 0.6016 GB, free: 6.445 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/1.12, allocations: 23.73 MB / 0.6247 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/1.121, allocations: 1.147 MB / 0.6259 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/1.122, allocations: 350.3 kB / 0.6262 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.122, allocations: 8 kB / 0.6262 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/1.122, allocations: 34.56 kB / 0.6262 GB, free: 12.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 4.007e-06/1.122, allocations: 0 / 0.6262 GB, free: 12.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001366/1.123, allocations: 0.7508 MB / 0.627 GB, free: 11.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/1.124, allocations: 110.8 kB / 0.6271 GB, free: 11.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.126, allocations: 1.73 MB / 0.6288 GB, free: 9.559 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/1.126, allocations: 29.7 kB / 0.6288 GB, free: 9.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.127, allocations: 1.624 MB / 0.6304 GB, free: 7.871 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/1.127, allocations: 257 kB / 0.6306 GB, free: 7.617 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/1.128, allocations: 0 / 0.6306 GB, free: 7.617 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/1.128, allocations: 490.4 kB / 0.6311 GB, free: 7.129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/1.129, allocations: 0.8658 MB / 0.6319 GB, free: 6.262 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/1.132, allocations: 3.219 MB / 0.6351 GB, free: 1.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/1.134, allocations: 1.728 MB / 0.6368 GB, free: 116 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.704e-05/1.135, allocations: 24 kB / 0.6368 GB, free: 92 kB / 474.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.1963/1.331, allocations: 3.454 MB / 0.6402 GB, free: 187 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.331, allocations: 3.938 kB / 0.6402 GB, free: 187 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/1.331, allocations: 86.66 kB / 0.6403 GB, free: 187 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-05/1.331, allocations: 122.3 kB / 0.6404 GB, free: 187 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/1.333, allocations: 0.7906 MB / 0.6411 GB, free: 186.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.963e-05/1.333, allocations: 169.4 kB / 0.6413 GB, free: 186.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.335, allocations: 416.2 kB / 0.6417 GB, free: 186.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/1.336, allocations: 229.2 kB / 0.6419 GB, free: 186.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 12 (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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 428 * 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.0003177/1.336, allocations: 312.1 kB / 0.6422 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/1.336, allocations: 151.4 kB / 0.6424 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/1.336, allocations: 188.7 kB / 0.6425 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/1.336, allocations: 3.562 kB / 0.6425 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.336, allocations: 6.156 kB / 0.6426 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.336, allocations: 0 / 0.6426 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/1.339, allocations: 1.648 MB / 0.6442 GB, free: 186.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.339, allocations: 6.844 kB / 0.6442 GB, free: 186.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/1.34, allocations: 54.58 kB / 0.6442 GB, free: 186.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-06/1.34, allocations: 1.5 kB / 0.6442 GB, free: 186.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/1.34, allocations: 7.375 kB / 0.6442 GB, free: 186.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.34, allocations: 3.938 kB / 0.6442 GB, free: 186.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.34, allocations: 0 / 0.6442 GB, free: 186.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009758/1.341, allocations: 1.054 MB / 0.6453 GB, free: 185.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009529/1.342, allocations: 1.441 MB / 0.6467 GB, free: 185.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/1.342, allocations: 226 kB / 0.6469 GB, free: 185 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/1.342, allocations: 4.469 kB / 0.6469 GB, free: 185 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/1.343, allocations: 16.78 kB / 0.6469 GB, free: 185 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/1.343, allocations: 22.08 kB / 0.6469 GB, free: 185 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/1.343, allocations: 17.48 kB / 0.6469 GB, free: 185 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001381/1.344, allocations: 1.144 MB / 0.6481 GB, free: 184.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003282/1.347, allocations: 466.7 kB / 0.6485 GB, free: 184.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * 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.0002995/1.348, allocations: 131.2 kB / 0.6486 GB, free: 184.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002768/1.35, allocations: 1.965 MB / 0.6505 GB, free: 184.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.35, allocations: 0 / 0.6505 GB, free: 184.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/1.351, allocations: 333.1 kB / 0.6509 GB, free: 184.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/1.352, allocations: 135.8 kB / 0.651 GB, free: 184.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/1.356, allocations: 3.025 MB / 0.6539 GB, free: 183.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.358, allocations: 1.975 MB / 0.6559 GB, free: 183.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/1.358, allocations: 0 / 0.6559 GB, free: 183.2 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)