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: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") [: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.0009085/0.0009085, allocations: 188.8 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9762/0.9762, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0007762/0.0007761, allocations: 93.56 kB / 261.4 MB, free: 13.54 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.1567/0.1567, allocations: 43.5 MB / 352.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.082e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2109, allocations: 58.83 MB / 476.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3155, allocations: 93.12 MB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.3157, allocations: 75.94 kB / 0.5564 GB, free: 5.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07971/0.3955, allocations: 33.82 MB / 0.5894 GB, free: 3.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.451e-05/0.3955, allocations: 32 kB / 0.5894 GB, free: 3.52 MB / 426.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.002391/0.3979, allocations: 1.644 MB / 0.591 GB, free: 1.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.398, allocations: 12.03 kB / 0.5911 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/0.4037, allocations: 1.331 MB / 0.5924 GB, free: 488 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.4055, allocations: 1.04 MB / 0.5934 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.4056, allocations: 56 kB / 0.5934 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.4059, allocations: 100 kB / 0.5935 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003461/0.4094, allocations: 2.824 MB / 0.5963 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/0.4142, allocations: 4.721 MB / 0.6009 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.4142, allocations: 27.75 kB / 0.6009 GB, free: 7.012 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.4144, allocations: 19.91 kB / 0.6009 GB, free: 6.992 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004258/0.4148, allocations: 0.5488 MB / 0.6015 GB, free: 6.445 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.4302, allocations: 23.72 MB / 0.6246 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4313, allocations: 1.161 MB / 0.6258 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.4317, allocations: 334.6 kB / 0.6261 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.4317, allocations: 4 kB / 0.6261 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.4317, allocations: 34.56 kB / 0.6261 GB, free: 12.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 2.184e-06/0.4318, allocations: 4 kB / 0.6261 GB, free: 12.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.0009948/0.4328, allocations: 0.7623 MB / 0.6269 GB, free: 11.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.4328, allocations: 110.8 kB / 0.627 GB, free: 11.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.4346, allocations: 1.727 MB / 0.6287 GB, free: 9.555 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.4346, allocations: 25.7 kB / 0.6287 GB, free: 9.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.4354, allocations: 1.628 MB / 0.6303 GB, free: 7.863 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.4356, allocations: 261 kB / 0.6305 GB, free: 7.605 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.4357, allocations: 3.938 kB / 0.6305 GB, free: 7.602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.4359, allocations: 494.3 kB / 0.631 GB, free: 7.109 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.437, allocations: 0.8619 MB / 0.6318 GB, free: 6.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.4392, allocations: 3.219 MB / 0.635 GB, free: 1.824 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.441, allocations: 1.728 MB / 0.6367 GB, free: 100 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/0.441, allocations: 24 kB / 0.6367 GB, free: 76 kB / 474.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.1171/0.5581, allocations: 3.445 MB / 0.6401 GB, free: 187.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5582, allocations: 5.594 kB / 0.6401 GB, free: 187.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.521e-05/0.5583, allocations: 85.72 kB / 0.6402 GB, free: 187.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-05/0.5584, allocations: 127.4 kB / 0.6403 GB, free: 187.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.5601, allocations: 0.788 MB / 0.641 GB, free: 187.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.705e-05/0.5602, allocations: 170.1 kB / 0.6412 GB, free: 187.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.5619, allocations: 417.5 kB / 0.6416 GB, free: 187.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.5621, allocations: 230.1 kB / 0.6418 GB, free: 187.7 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.0002535/0.5624, allocations: 307.7 kB / 0.6421 GB, free: 187.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5625, allocations: 154.8 kB / 0.6423 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.5628, allocations: 184.2 kB / 0.6424 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.5628, allocations: 3.625 kB / 0.6424 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5629, allocations: 0 / 0.6424 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5629, allocations: 6.969 kB / 0.6425 GB, free: 187.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.565, allocations: 1.654 MB / 0.6441 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.565, allocations: 0 / 0.6441 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.5652, allocations: 56.59 kB / 0.6441 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5653, allocations: 0 / 0.6441 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.5653, allocations: 7.406 kB / 0.6441 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5653, allocations: 5.5 kB / 0.6441 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5653, allocations: 0 / 0.6441 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007629/0.5661, allocations: 1.055 MB / 0.6452 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.5663, allocations: 222.1 kB / 0.6454 GB, free: 186.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.5664, allocations: 0 / 0.6454 GB, free: 186.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.5669, allocations: 21.19 kB / 0.6454 GB, free: 186.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.5669, allocations: 17.88 kB / 0.6454 GB, free: 186.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.567, allocations: 21.25 kB / 0.6454 GB, free: 186.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001001/0.568, allocations: 1.143 MB / 0.6466 GB, free: 186.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001796/0.5698, allocations: 466 kB / 0.647 GB, free: 186.4 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.0002197/0.57, allocations: 120.7 kB / 0.6471 GB, free: 186.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.5718, allocations: 1.959 MB / 0.649 GB, free: 186.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5718, allocations: 0.8438 kB / 0.649 GB, free: 186.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.5721, allocations: 336 kB / 0.6493 GB, free: 186.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.5727, allocations: 137.8 kB / 0.6495 GB, free: 186.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.5763, allocations: 3.038 MB / 0.6524 GB, free: 185.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.5777, allocations: 1.975 MB / 0.6544 GB, free: 184.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5777, allocations: 3.75 kB / 0.6544 GB, free: 184.7 MB / 474.7 MB Notification: Performance of Templates: time 0.02389/0.6016, allocations: 13.21 MB / 0.6673 GB, free: 183.9 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)