Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",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.001244/0.001244, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009818/0.000982, allocations: 92.45 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3038/0.3038, allocations: 45.13 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3156/0.6195, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.7378, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/1.108, allocations: 103.2 MB / 0.6046 GB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/1.108, allocations: 70.53 kB / 0.6047 GB, free: 15.78 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.1664/1.275, allocations: 61.01 MB / 0.6643 GB, free: 11.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.275, allocations: 8 kB / 0.6643 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007954/1.283, allocations: 1.58 MB / 0.6658 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008067/1.291, allocations: 2.709 MB / 0.6685 GB, free: 6.844 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/1.291, allocations: 80 kB / 0.6685 GB, free: 6.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008889/1.292, allocations: 139.9 kB / 0.6687 GB, free: 6.629 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007185/1.299, allocations: 4.089 MB / 0.6727 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009883/1.309, allocations: 6.388 MB / 0.6789 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/1.309, allocations: 47.53 kB / 0.6789 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/1.31, allocations: 24 kB / 0.679 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009669/1.311, allocations: 0.7731 MB / 0.6797 GB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03865/1.349, allocations: 32.81 MB / 0.7118 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/1.352, allocations: 2.071 MB / 0.7138 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/1.354, allocations: 1.128 MB / 0.7149 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007418/1.361, allocations: 3.816 MB / 0.7186 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/1.361, allocations: 46.83 kB / 0.7187 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 5.951e-06/1.361, allocations: 0 / 0.7187 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106): time 0.01513/1.376, allocations: 6.177 MB / 0.7247 GB, free: 11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.377, allocations: 140.9 kB / 0.7248 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/1.381, allocations: 2.212 MB / 0.727 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/1.381, allocations: 33.64 kB / 0.727 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.383, allocations: 2.073 MB / 0.729 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000563/1.384, allocations: 419 kB / 0.7294 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.384, allocations: 0 / 0.7294 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004012/1.384, allocations: 0.5477 MB / 0.73 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/1.386, allocations: 1.336 MB / 0.7313 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004154/1.39, allocations: 4.291 MB / 0.7355 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/1.394, allocations: 2.387 MB / 0.7378 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-05/1.394, allocations: 32 kB / 0.7378 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=593) (initialization): time 0.009229/1.403, allocations: 4.884 MB / 0.7426 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.403, allocations: 8.938 kB / 0.7426 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/1.404, allocations: 104 kB / 0.7427 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/1.404, allocations: 156 kB / 0.7429 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/1.408, allocations: 1.096 MB / 0.7439 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001377/1.408, allocations: 211.2 kB / 0.7441 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/1.412, allocations: 179.6 kB / 0.7443 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006194/1.412, allocations: 292 kB / 0.7446 GB, free: 4.992 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 566 * Array equations: 3 * 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.0006046/1.413, allocations: 356.3 kB / 0.7449 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/1.413, allocations: 217.2 kB / 0.7451 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/1.415, allocations: 1.18 MB / 0.7463 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/1.415, allocations: 11.94 kB / 0.7463 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.415, allocations: 4 kB / 0.7463 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.415, allocations: 7.969 kB / 0.7463 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2117/1.627, allocations: 4.122 MB / 0.7503 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.627, allocations: 3.812 kB / 0.7503 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.628, allocations: 187.8 kB / 0.7505 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/1.628, allocations: 15.66 kB / 0.7505 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-05/1.628, allocations: 14.38 kB / 0.7505 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/1.628, allocations: 16.33 kB / 0.7506 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.628, allocations: 11.06 kB / 0.7506 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002422/1.631, allocations: 2.658 MB / 0.7532 GB, free: 211.3 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002337/1.633, allocations: 3.062 MB / 0.7561 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/1.634, allocations: 279.4 kB / 0.7564 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/1.634, allocations: 13.67 kB / 0.7564 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/1.635, allocations: 46.31 kB / 0.7565 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.635, allocations: 66 kB / 0.7565 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/1.635, allocations: 40.81 kB / 0.7566 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00209/1.637, allocations: 1.458 MB / 0.758 GB, free: 209.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004242/1.641, allocations: 0.5442 MB / 0.7585 GB, free: 209.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 3 * 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.0004697/1.642, allocations: 156.5 kB / 0.7587 GB, free: 209.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004337/1.646, allocations: 3.065 MB / 0.7617 GB, free: 209.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.646, allocations: 0 / 0.7617 GB, free: 209.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008645/1.647, allocations: 0.7523 MB / 0.7624 GB, free: 209.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.648, allocations: 205.4 kB / 0.7626 GB, free: 209.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/1.656, allocations: 4.672 MB / 0.7672 GB, free: 208.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/1.659, allocations: 2.459 MB / 0.7696 GB, free: 207.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/1.659, allocations: 0 / 0.7696 GB, free: 207.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1)