Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",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.001126/0.001126, allocations: 188.3 kB / 7.802 MB, free: 2.449 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.279/1.279, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.000897/0.0008968, allocations: 93.2 kB / 261.4 MB, free: 13.55 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.1983/0.1983, allocations: 43.5 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2224/0.4208, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.7564, allocations: 58.83 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.8975, allocations: 92.45 MB / 0.5558 GB, free: 6.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.8978, allocations: 83.44 kB / 0.5558 GB, free: 6.387 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.07228/0.9701, allocations: 28.02 MB / 0.5832 GB, free: 10.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.9702, allocations: 8 kB / 0.5832 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.9714, allocations: 253.1 kB / 0.5834 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.9733, allocations: 0.8372 MB / 0.5843 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.901e-05/0.9734, allocations: 64 kB / 0.5843 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.9738, allocations: 108 kB / 0.5844 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003281/0.9771, allocations: 1.746 MB / 0.5861 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.9816, allocations: 3.095 MB / 0.5892 GB, free: 3.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/0.9817, allocations: 19.88 kB / 0.5892 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.9819, allocations: 12 kB / 0.5892 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003425/0.9822, allocations: 356 kB / 0.5895 GB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.9948, allocations: 14.56 MB / 0.6037 GB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.995, allocations: 173.1 kB / 0.6039 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.995, allocations: 80.14 kB / 0.604 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.9951, allocations: 75.28 kB / 0.6041 GB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/0.9951, allocations: 109.8 kB / 0.6042 GB, free: 3.621 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 3.496e-06/0.9951, allocations: 0 / 0.6042 GB, free: 3.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002737/0.9954, allocations: 140.2 kB / 0.6043 GB, free: 3.477 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.9955, allocations: 55.41 kB / 0.6043 GB, free: 3.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.997, allocations: 1.136 MB / 0.6055 GB, free: 2.266 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.997, allocations: 25.7 kB / 0.6055 GB, free: 2.234 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009124/0.9979, allocations: 1.331 MB / 0.6068 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.998, allocations: 43.95 kB / 0.6068 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.998, allocations: 0 / 0.6068 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.9983, allocations: 422.8 kB / 0.6072 GB, free: 424 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.9987, allocations: 324 kB / 0.6075 GB, free: 96 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1, allocations: 1.867 MB / 0.6094 GB, free: 13.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/1.001, allocations: 0.7449 MB / 0.6101 GB, free: 12.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/1.001, allocations: 16 kB / 0.6101 GB, free: 12.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002603/1.004, allocations: 1.722 MB / 0.6118 GB, free: 10.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.004, allocations: 11.97 kB / 0.6118 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.844e-05/1.004, allocations: 56 kB / 0.6118 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.971e-05/1.004, allocations: 87.98 kB / 0.6119 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.005, allocations: 487.1 kB / 0.6124 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.799e-05/1.005, allocations: 111.5 kB / 0.6125 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.007, allocations: 252.9 kB / 0.6127 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/1.007, allocations: 139.9 kB / 0.6129 GB, free: 9.801 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.0002712/1.007, allocations: 331.5 kB / 0.6132 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.007, allocations: 207.7 kB / 0.6134 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/1.008, allocations: 210.1 kB / 0.6136 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/1.008, allocations: 180.2 kB / 0.6138 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-05/1.008, allocations: 188.1 kB / 0.6139 GB, free: 8.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.754e-05/1.008, allocations: 184.2 kB / 0.6141 GB, free: 8.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/1.009, allocations: 1.017 MB / 0.6151 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/1.009, allocations: 101.1 kB / 0.6152 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/1.009, allocations: 108.9 kB / 0.6153 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.571e-05/1.009, allocations: 180.2 kB / 0.6155 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/1.009, allocations: 184.3 kB / 0.6157 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.899e-05/1.009, allocations: 184.2 kB / 0.6158 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.698e-05/1.01, allocations: 176.3 kB / 0.616 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002197/1.01, allocations: 412.2 kB / 0.6164 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003904/1.01, allocations: 0.7819 MB / 0.6172 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/1.01, allocations: 268.7 kB / 0.6174 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.011, allocations: 184.2 kB / 0.6176 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/1.011, allocations: 101 kB / 0.6177 GB, free: 4.645 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/1.011, allocations: 184.2 kB / 0.6179 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/1.011, allocations: 105 kB / 0.618 GB, free: 4.348 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0008847/1.012, allocations: 0.7386 MB / 0.6187 GB, free: 3.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002238/1.014, allocations: 421.6 kB / 0.6191 GB, free: 3.191 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.0001976/1.014, allocations: 170.5 kB / 0.6193 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/1.015, allocations: 0.8022 MB / 0.62 GB, free: 2.227 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.015, allocations: 0 / 0.62 GB, free: 2.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/1.015, allocations: 0 / 0.62 GB, free: 2.227 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/1.016, allocations: 0.598 MB / 0.6206 GB, free: 1.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/1.02, allocations: 2.079 MB / 0.6226 GB, free: 15.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.021, allocations: 1.707 MB / 0.6243 GB, free: 13.75 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/1.021, allocations: 0 / 0.6243 GB, free: 13.75 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)