Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") [: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.002519/0.002519, allocations: 171.1 kB / 8.146 MB, free: 2.195 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.713/1.713, 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.001233/0.001232, allocations: 89.02 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.2611/0.2611, allocations: 43.48 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.808e-06/9.929e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2683, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.4336, allocations: 92.45 MB / 0.5557 GB, free: 6.613 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.434, allocations: 79.39 kB / 0.5557 GB, free: 6.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1019/0.5359, allocations: 26.35 MB / 0.5815 GB, free: 11.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.072e-05/0.5361, allocations: 32 kB / 0.5815 GB, free: 11.89 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003066/0.5391, allocations: 1.62 MB / 0.5831 GB, free: 10.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5392, allocations: 8.031 kB / 0.5831 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.5406, allocations: 261.1 kB / 0.5833 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.5428, allocations: 0.8373 MB / 0.5842 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.5429, allocations: 64 kB / 0.5842 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.5432, allocations: 104 kB / 0.5843 GB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004336/0.5476, allocations: 1.742 MB / 0.586 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006133/0.5537, allocations: 3.099 MB / 0.589 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.918e-05/0.5538, allocations: 23.8 kB / 0.5891 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.5541, allocations: 12 kB / 0.5891 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004896/0.5546, allocations: 360 kB / 0.5894 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01678/0.5713, allocations: 14.56 MB / 0.6036 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.866e-05/0.5715, allocations: 173.1 kB / 0.6038 GB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.5715, allocations: 80.14 kB / 0.6039 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.5716, allocations: 75.28 kB / 0.6039 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.5717, allocations: 117.8 kB / 0.6041 GB, free: 3.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.5717, allocations: 0 / 0.6041 GB, free: 3.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.000256/0.5719, allocations: 132.3 kB / 0.6042 GB, free: 3.633 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.572, allocations: 51.41 kB / 0.6042 GB, free: 3.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.5741, allocations: 1.136 MB / 0.6053 GB, free: 2.426 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5741, allocations: 25.7 kB / 0.6054 GB, free: 2.395 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.5752, allocations: 1.376 MB / 0.6067 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.5752, allocations: 43.95 kB / 0.6068 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.5753, allocations: 4 kB / 0.6068 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.5755, allocations: 394.8 kB / 0.6071 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007778/0.5763, allocations: 324 kB / 0.6074 GB, free: 240 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.5783, allocations: 1.867 MB / 0.6093 GB, free: 13.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.5798, allocations: 0.741 MB / 0.61 GB, free: 12.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.778e-05/0.5799, allocations: 24 kB / 0.61 GB, free: 12.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003917/0.5838, allocations: 1.695 MB / 0.6117 GB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5838, allocations: 4 kB / 0.6117 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.591e-05/0.5839, allocations: 56 kB / 0.6117 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.5841, allocations: 84 kB / 0.6118 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/0.5865, allocations: 491 kB / 0.6123 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001064/0.5866, allocations: 111.6 kB / 0.6124 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5881, allocations: 146.9 kB / 0.6125 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.5883, allocations: 140 kB / 0.6127 GB, free: 10.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.0003117/0.5886, allocations: 250.7 kB / 0.6129 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.5889, allocations: 215.5 kB / 0.6131 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.5892, allocations: 214.2 kB / 0.6133 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.444e-05/0.5892, allocations: 176.3 kB / 0.6135 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.699e-05/0.5893, allocations: 180.2 kB / 0.6136 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-05/0.5894, allocations: 184.2 kB / 0.6138 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.591, allocations: 1.117 MB / 0.6149 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/0.5911, allocations: 105 kB / 0.615 GB, free: 7.562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.5912, allocations: 113 kB / 0.6151 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-05/0.5913, allocations: 176.3 kB / 0.6153 GB, free: 7.266 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.5913, allocations: 188.2 kB / 0.6155 GB, free: 7.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-05/0.5914, allocations: 180.2 kB / 0.6156 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.395e-05/0.5915, allocations: 176.3 kB / 0.6158 GB, free: 6.711 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002743/0.5918, allocations: 412.2 kB / 0.6162 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.5921, allocations: 304.2 kB / 0.6165 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.5923, allocations: 196.2 kB / 0.6167 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.5928, allocations: 104.9 kB / 0.6168 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.5929, allocations: 176.3 kB / 0.6169 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.5929, allocations: 108.9 kB / 0.617 GB, free: 5.355 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001456/0.5944, allocations: 0.7347 MB / 0.6178 GB, free: 4.617 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002204/0.5966, allocations: 421.7 kB / 0.6182 GB, free: 4.203 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001973/0.5968, allocations: 182.5 kB / 0.6183 GB, free: 4.016 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.5985, allocations: 0.791 MB / 0.6191 GB, free: 3.238 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5985, allocations: 4.062 kB / 0.6191 GB, free: 3.234 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.5986, allocations: 0 / 0.6191 GB, free: 3.234 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.5993, allocations: 0.6118 MB / 0.6197 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.605, allocations: 2.252 MB / 0.6219 GB, free: 316 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/0.6074, allocations: 1.699 MB / 0.6236 GB, free: 14.57 MB / 474.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6074, allocations: 0 / 0.6236 GB, free: 14.57 MB / 474.7 MB Notification: Performance of Templates: time 0.1762/0.7836, allocations: 15.91 MB / 0.6391 GB, free: 185.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)