Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 171.2 kB / 8.145 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 94.81 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2557/0.2557, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.328e-06/9.477e-06, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2601, allocations: 58.85 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.4227, allocations: 93.11 MB / 0.5563 GB, free: 5.961 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.423, allocations: 71.91 kB / 0.5564 GB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1424/0.5654, allocations: 33.82 MB / 0.5894 GB, free: 3.707 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.14e-05/0.5656, allocations: 32 kB / 0.5894 GB, free: 3.676 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.00399/0.5696, allocations: 1.64 MB / 0.591 GB, free: 1.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5697, allocations: 8.031 kB / 0.591 GB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.5821, allocations: 1.335 MB / 0.5923 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.5857, allocations: 1.04 MB / 0.5934 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.5858, allocations: 56 kB / 0.5934 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005831/0.5864, allocations: 100 kB / 0.5935 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00748/0.5939, allocations: 2.832 MB / 0.5963 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.6048, allocations: 4.713 MB / 0.6009 GB, free: 7.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.174e-05/0.605, allocations: 31.69 kB / 0.6009 GB, free: 7.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/0.6054, allocations: 23.84 kB / 0.6009 GB, free: 7.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008489/0.6062, allocations: 0.545 MB / 0.6015 GB, free: 6.602 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.6375, allocations: 23.72 MB / 0.6246 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.6397, allocations: 1.163 MB / 0.6258 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.6405, allocations: 334.5 kB / 0.6261 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.6405, allocations: 4 kB / 0.6261 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.6405, allocations: 38.55 kB / 0.6261 GB, free: 12.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.707e-06/0.6406, allocations: 0 / 0.6261 GB, free: 12.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001996/0.6426, allocations: 0.7546 MB / 0.6269 GB, free: 11.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.6426, allocations: 110.8 kB / 0.627 GB, free: 11.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.6466, allocations: 1.734 MB / 0.6287 GB, free: 9.723 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6467, allocations: 25.7 kB / 0.6287 GB, free: 9.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.6483, allocations: 1.661 MB / 0.6303 GB, free: 8.004 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.6487, allocations: 265 kB / 0.6306 GB, free: 7.742 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.6488, allocations: 4 kB / 0.6306 GB, free: 7.738 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000344/0.6492, allocations: 462.4 kB / 0.631 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.6513, allocations: 0.858 MB / 0.6318 GB, free: 6.418 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.6554, allocations: 3.227 MB / 0.635 GB, free: 1.988 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/0.6596, allocations: 1.724 MB / 0.6367 GB, free: 272 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.732e-05/0.6597, allocations: 24 kB / 0.6367 GB, free: 248 kB / 474.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.009627/0.6694, allocations: 3.425 MB / 0.64 GB, free: 12.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6694, allocations: 5 kB / 0.64 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/0.6696, allocations: 88 kB / 0.6401 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.6698, allocations: 128 kB / 0.6403 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/0.6744, allocations: 0.7875 MB / 0.641 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001637/0.6746, allocations: 171.3 kB / 0.6412 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.6773, allocations: 257.3 kB / 0.6414 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005297/0.6779, allocations: 224 kB / 0.6416 GB, free: 11.16 MB / 490.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.0005028/0.6784, allocations: 223.6 kB / 0.6419 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/0.6789, allocations: 153.9 kB / 0.642 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.6794, allocations: 182.7 kB / 0.6422 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/0.6795, allocations: 8 kB / 0.6422 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.6795, allocations: 4 kB / 0.6422 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.6795, allocations: 7.922 kB / 0.6422 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/0.6842, allocations: 1.8 MB / 0.644 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.6843, allocations: 4 kB / 0.644 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.6849, allocations: 55.91 kB / 0.644 GB, free: 8.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/0.6849, allocations: 7.906 kB / 0.644 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.685, allocations: 12.27 kB / 0.644 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.685, allocations: 0 / 0.644 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.685, allocations: 0 / 0.644 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001895/0.6869, allocations: 1.055 MB / 0.6451 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.6874, allocations: 282.1 kB / 0.6453 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.6877, allocations: 4 kB / 0.6453 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/0.6886, allocations: 23.88 kB / 0.6454 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.6887, allocations: 27.91 kB / 0.6454 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/0.6888, allocations: 16 kB / 0.6454 GB, free: 7.199 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002679/0.6915, allocations: 1.137 MB / 0.6465 GB, free: 6.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00353/0.6951, allocations: 470.4 kB / 0.647 GB, free: 5.609 MB / 490.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.000431/0.6956, allocations: 123.1 kB / 0.6471 GB, free: 5.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004705/0.7003, allocations: 1.958 MB / 0.649 GB, free: 3.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7003, allocations: 0.75 kB / 0.649 GB, free: 3.543 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.7011, allocations: 343.6 kB / 0.6493 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7022, allocations: 130 kB / 0.6494 GB, free: 3.078 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1567/0.8588, allocations: 3.246 MB / 0.6526 GB, free: 201.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003712/0.8626, allocations: 1.97 MB / 0.6545 GB, free: 200.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8627, allocations: 0 / 0.6545 GB, free: 200.8 MB / 490.7 MB Notification: Performance of Templates: time 0.04968/0.9124, allocations: 24.04 MB / 0.678 GB, free: 198.4 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)