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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009305/0.0009307, allocations: 190.2 kB / 7.801 MB, free: 2.496 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.026/1.026, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.000814/0.0008139, allocations: 100.4 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.1502/0.1502, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.59e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2196, allocations: 58.84 MB / 476.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09965/0.3193, allocations: 92.46 MB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001546/0.3195, allocations: 71.95 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05622/0.3757, allocations: 26.36 MB / 0.5815 GB, free: 11.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.912e-05/0.3758, allocations: 36 kB / 0.5815 GB, free: 11.77 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.001654/0.3775, allocations: 1.616 MB / 0.5831 GB, free: 10.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3775, allocations: 8.031 kB / 0.5831 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/0.3782, allocations: 253.1 kB / 0.5833 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.3794, allocations: 0.8372 MB / 0.5842 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.3794, allocations: 60 kB / 0.5842 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.3796, allocations: 108 kB / 0.5843 GB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002067/0.3817, allocations: 1.746 MB / 0.586 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.3849, allocations: 3.095 MB / 0.5891 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.3849, allocations: 19.81 kB / 0.5891 GB, free: 3.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.385, allocations: 19.98 kB / 0.5891 GB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/0.3853, allocations: 356 kB / 0.5894 GB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008374/0.3937, allocations: 14.57 MB / 0.6037 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.3938, allocations: 173.1 kB / 0.6038 GB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.3938, allocations: 84.08 kB / 0.6039 GB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3938, allocations: 75.28 kB / 0.604 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3938, allocations: 105.8 kB / 0.6041 GB, free: 3.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.365e-06/0.3939, allocations: 4 kB / 0.6041 GB, free: 3.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001467/0.394, allocations: 132.3 kB / 0.6042 GB, free: 3.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.394, allocations: 55.34 kB / 0.6043 GB, free: 3.453 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.3951, allocations: 1.136 MB / 0.6054 GB, free: 2.309 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.3951, allocations: 29.7 kB / 0.6054 GB, free: 2.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.3957, allocations: 1.331 MB / 0.6067 GB, free: 0.918 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3958, allocations: 47.95 kB / 0.6067 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.3958, allocations: 0 / 0.6067 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.396, allocations: 422.8 kB / 0.6071 GB, free: 460 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3963, allocations: 320 kB / 0.6074 GB, free: 136 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3974, allocations: 1.87 MB / 0.6093 GB, free: 13.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.3982, allocations: 0.7449 MB / 0.61 GB, free: 12.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.3982, allocations: 16 kB / 0.61 GB, free: 12.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002131/0.4003, allocations: 1.726 MB / 0.6117 GB, free: 10.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4004, allocations: 7.906 kB / 0.6117 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/0.4004, allocations: 56 kB / 0.6118 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.252e-05/0.4005, allocations: 80 kB / 0.6118 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.4015, allocations: 495 kB / 0.6123 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.779e-05/0.4016, allocations: 107.6 kB / 0.6124 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4026, allocations: 256.8 kB / 0.6127 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.4027, allocations: 136 kB / 0.6128 GB, free: 9.84 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.0001891/0.4029, allocations: 326.3 kB / 0.6131 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4031, allocations: 211.6 kB / 0.6133 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.4032, allocations: 206.2 kB / 0.6135 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/0.4033, allocations: 184.3 kB / 0.6137 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.546e-05/0.4033, allocations: 184.1 kB / 0.6138 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/0.4034, allocations: 176.3 kB / 0.614 GB, free: 8.531 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.4042, allocations: 1.021 MB / 0.615 GB, free: 7.461 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.4042, allocations: 105 kB / 0.6151 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.4042, allocations: 105 kB / 0.6152 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.26e-05/0.4043, allocations: 180.3 kB / 0.6154 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.4043, allocations: 184.2 kB / 0.6156 GB, free: 6.871 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.272e-05/0.4044, allocations: 184.2 kB / 0.6157 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.663e-05/0.4044, allocations: 184.2 kB / 0.6159 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001634/0.4046, allocations: 408.2 kB / 0.6163 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.4048, allocations: 264.8 kB / 0.6166 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4049, allocations: 184.2 kB / 0.6167 GB, free: 5.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4052, allocations: 105 kB / 0.6168 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.4052, allocations: 180.2 kB / 0.617 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.4053, allocations: 108.9 kB / 0.6171 GB, free: 5.195 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007173/0.406, allocations: 0.7386 MB / 0.6178 GB, free: 4.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001271/0.4073, allocations: 417.7 kB / 0.6182 GB, free: 4.043 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.0001302/0.4074, allocations: 170.5 kB / 0.6184 GB, free: 3.867 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008024/0.4082, allocations: 0.8025 MB / 0.6192 GB, free: 3.078 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4082, allocations: 3.938 kB / 0.6192 GB, free: 3.074 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.4082, allocations: 320 / 0.6192 GB, free: 3.074 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.4087, allocations: 0.6002 MB / 0.6198 GB, free: 2.469 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.4115, allocations: 2.079 MB / 0.6218 GB, free: 348 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.4127, allocations: 1.695 MB / 0.6234 GB, free: 14.61 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4128, allocations: 4 kB / 0.6235 GB, free: 14.61 MB / 474.7 MB Notification: Performance of Templates: time 0.01363/0.4264, allocations: 6.312 MB / 0.6296 GB, free: 8.301 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)