Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001395/0.001394, allocations: 200.1 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009276/0.0009276, allocations: 88.14 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1726/0.1726, allocations: 45.15 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.183/0.3557, allocations: 69.36 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07855/0.4342, allocations: 63.23 MB / 0.5038 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/0.6799, allocations: 94.93 MB / 0.5966 GB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.6801, allocations: 73.72 kB / 0.5966 GB, free: 7.875 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.06749/0.7476, allocations: 28.55 MB / 0.6245 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.7477, allocations: 8 kB / 0.6245 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008095/0.7485, allocations: 261.1 kB / 0.6248 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.7499, allocations: 0.8469 MB / 0.6256 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.7499, allocations: 60 kB / 0.6256 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.7501, allocations: 108 kB / 0.6258 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002276/0.7524, allocations: 1.735 MB / 0.6274 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.7561, allocations: 3.102 MB / 0.6305 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/0.7561, allocations: 19.81 kB / 0.6305 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.7563, allocations: 12 kB / 0.6305 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002825/0.7566, allocations: 353.2 kB / 0.6308 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.7666, allocations: 14.55 MB / 0.6451 GB, free: 12.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.949e-05/0.7667, allocations: 169.1 kB / 0.6452 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.7667, allocations: 80.14 kB / 0.6453 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.7668, allocations: 83.22 kB / 0.6454 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.7668, allocations: 109.8 kB / 0.6455 GB, free: 11.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.7668, allocations: 0 / 0.6455 GB, free: 11.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001758/0.767, allocations: 132.2 kB / 0.6456 GB, free: 11.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.767, allocations: 51.41 kB / 0.6456 GB, free: 11.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.7683, allocations: 1.138 MB / 0.6468 GB, free: 10.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.7683, allocations: 25.7 kB / 0.6468 GB, free: 10.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007695/0.7691, allocations: 1.341 MB / 0.6481 GB, free: 9.465 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.7691, allocations: 45.64 kB / 0.6481 GB, free: 9.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.7692, allocations: 0 / 0.6481 GB, free: 9.438 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7694, allocations: 419.9 kB / 0.6485 GB, free: 9.062 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.7698, allocations: 320.2 kB / 0.6488 GB, free: 8.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.7713, allocations: 1.865 MB / 0.6507 GB, free: 6.328 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.7722, allocations: 0.7574 MB / 0.6514 GB, free: 5.727 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.7722, allocations: 16 kB / 0.6514 GB, free: 5.711 MB / 442.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002562/0.7748, allocations: 1.715 MB / 0.6531 GB, free: 4.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7748, allocations: 8 kB / 0.6531 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/0.7748, allocations: 59.91 kB / 0.6532 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.746e-05/0.7749, allocations: 80.78 kB / 0.6532 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.7762, allocations: 497 kB / 0.6537 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.902e-05/0.7763, allocations: 111.6 kB / 0.6538 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.7775, allocations: 252.9 kB / 0.6541 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.7776, allocations: 141.1 kB / 0.6542 GB, free: 3.109 MB / 442.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.0002409/0.7779, allocations: 323.7 kB / 0.6545 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.778, allocations: 215.6 kB / 0.6547 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.7782, allocations: 205.5 kB / 0.6549 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-05/0.7783, allocations: 184.2 kB / 0.6551 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.853e-05/0.7783, allocations: 184.1 kB / 0.6553 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/0.7784, allocations: 180.2 kB / 0.6554 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.7793, allocations: 1.02 MB / 0.6564 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.833e-05/0.7793, allocations: 105 kB / 0.6565 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.7794, allocations: 109 kB / 0.6566 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.678e-05/0.7794, allocations: 176.3 kB / 0.6568 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.7795, allocations: 180.2 kB / 0.657 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-05/0.7796, allocations: 180.2 kB / 0.6571 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-05/0.7796, allocations: 184.3 kB / 0.6573 GB, free: 0 / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002036/0.7798, allocations: 407.5 kB / 0.6577 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003204/0.7802, allocations: 0.7966 MB / 0.6585 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.7804, allocations: 264.2 kB / 0.6587 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.7806, allocations: 176.3 kB / 0.6589 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.7809, allocations: 104.9 kB / 0.659 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.7809, allocations: 188.2 kB / 0.6592 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.781, allocations: 101 kB / 0.6593 GB, free: 13.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0008193/0.7818, allocations: 0.7445 MB / 0.66 GB, free: 13.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002007/0.7838, allocations: 417.6 kB / 0.6604 GB, free: 12.93 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.0001448/0.784, allocations: 170.5 kB / 0.6606 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009261/0.7849, allocations: 0.7996 MB / 0.6613 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7849, allocations: 4.938 kB / 0.6614 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.7849, allocations: 0 / 0.6614 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.7854, allocations: 0.6019 MB / 0.6619 GB, free: 11.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.7886, allocations: 2.072 MB / 0.664 GB, free: 9.539 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.7902, allocations: 1.699 MB / 0.6656 GB, free: 7.805 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7902, allocations: 0 / 0.6656 GB, free: 7.805 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)