Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 178.6 kB / 8.519 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.4 MB / 230.3 MB, free: 7.645 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008448/0.0008448, allocations: 91.97 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1561/0.1561, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1633/0.3195, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.4094, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.6469, allocations: 93.86 MB / 0.5858 GB, free: 2.836 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.6471, allocations: 75.95 kB / 0.5859 GB, free: 2.762 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.06731/0.7144, allocations: 28.5 MB / 0.6137 GB, free: 5.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.7145, allocations: 11.94 kB / 0.6138 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.7154, allocations: 261.1 kB / 0.614 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.7169, allocations: 0.8296 MB / 0.6148 GB, free: 4.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.717, allocations: 67.84 kB / 0.6149 GB, free: 4.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.7172, allocations: 108 kB / 0.615 GB, free: 4.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002471/0.7197, allocations: 1.739 MB / 0.6167 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.7235, allocations: 3.099 MB / 0.6197 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.868e-05/0.7235, allocations: 19.81 kB / 0.6197 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.7237, allocations: 12 kB / 0.6197 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002954/0.724, allocations: 352 kB / 0.6201 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.7344, allocations: 14.56 MB / 0.6343 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.7345, allocations: 169.1 kB / 0.6345 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.7346, allocations: 80.14 kB / 0.6345 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.7346, allocations: 79.28 kB / 0.6346 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.7346, allocations: 105.8 kB / 0.6347 GB, free: 15.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.532e-06/0.7346, allocations: 4 kB / 0.6347 GB, free: 15.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001756/0.7348, allocations: 128.3 kB / 0.6348 GB, free: 15.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.7349, allocations: 51.41 kB / 0.6349 GB, free: 15.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.7362, allocations: 1.148 MB / 0.636 GB, free: 14.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.7362, allocations: 25.7 kB / 0.636 GB, free: 14.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/0.737, allocations: 1.331 MB / 0.6373 GB, free: 12.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.737, allocations: 51.89 kB / 0.6374 GB, free: 12.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.7371, allocations: 0 / 0.6374 GB, free: 12.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7373, allocations: 414.8 kB / 0.6378 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.7377, allocations: 331.9 kB / 0.6381 GB, free: 12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.7391, allocations: 1.863 MB / 0.6399 GB, free: 9.324 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.74, allocations: 0.7488 MB / 0.6406 GB, free: 8.574 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-05/0.7401, allocations: 16 kB / 0.6407 GB, free: 8.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002617/0.7427, allocations: 1.718 MB / 0.6423 GB, free: 6.836 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7427, allocations: 4 kB / 0.6423 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.484e-05/0.7428, allocations: 60 kB / 0.6424 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-05/0.7429, allocations: 83.91 kB / 0.6425 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.7441, allocations: 487.7 kB / 0.6429 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.102e-05/0.7442, allocations: 119.5 kB / 0.6431 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.7454, allocations: 252.9 kB / 0.6433 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.7455, allocations: 140 kB / 0.6434 GB, free: 5.707 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.0002352/0.7458, allocations: 326 kB / 0.6437 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.7459, allocations: 207.7 kB / 0.6439 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.7461, allocations: 210.4 kB / 0.6441 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/0.7462, allocations: 176.3 kB / 0.6443 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.969e-05/0.7463, allocations: 184.2 kB / 0.6445 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-05/0.7463, allocations: 184.2 kB / 0.6447 GB, free: 4.398 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.7473, allocations: 1.021 MB / 0.6457 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/0.7473, allocations: 109 kB / 0.6458 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.7474, allocations: 105 kB / 0.6459 GB, free: 3.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-05/0.7474, allocations: 180.3 kB / 0.646 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.7475, allocations: 180.2 kB / 0.6462 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.217e-05/0.7476, allocations: 176.3 kB / 0.6464 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.818e-05/0.7476, allocations: 188.2 kB / 0.6465 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000195/0.7478, allocations: 408.2 kB / 0.6469 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003081/0.7481, allocations: 0.7818 MB / 0.6477 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.7484, allocations: 272.8 kB / 0.648 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.7485, allocations: 180.2 kB / 0.6481 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.7488, allocations: 101 kB / 0.6482 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.7489, allocations: 188.2 kB / 0.6484 GB, free: 376 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.7489, allocations: 105 kB / 0.6485 GB, free: 264 kB / 458.7 MB Notification: Performance of sort global known variables: time 0.0008616/0.7498, allocations: 0.7425 MB / 0.6492 GB, free: 15.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002148/0.752, allocations: 429.6 kB / 0.6496 GB, free: 15.09 MB / 474.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.0001452/0.7521, allocations: 170.5 kB / 0.6498 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.7531, allocations: 0.7984 MB / 0.6506 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7531, allocations: 0 / 0.6506 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.7531, allocations: 0 / 0.6506 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.7536, allocations: 0.6057 MB / 0.6512 GB, free: 13.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.757, allocations: 2.072 MB / 0.6532 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.7586, allocations: 1.687 MB / 0.6548 GB, free: 9.664 MB / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7586, allocations: 4 kB / 0.6549 GB, free: 9.66 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)