Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",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.001/0.001, allocations: 185.2 kB / 8.52 MB, free: 1.824 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.191/1.191, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009214/0.0009214, allocations: 90.55 kB / 281.2 MB, free: 5.438 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.1677/0.1677, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1765/0.3442, allocations: 68.01 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.4373, allocations: 61.92 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2654/0.7028, allocations: 105.2 MB / 0.5969 GB, free: 7.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.7031, allocations: 83.55 kB / 0.597 GB, free: 7.422 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.5464/1.25, allocations: 153.3 MB / 0.7467 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.25, allocations: 11.59 kB / 0.7467 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/1.264, allocations: 2.9 MB / 0.7495 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/1.283, allocations: 8.859 MB / 0.7582 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/1.283, allocations: 249.4 kB / 0.7584 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/1.285, allocations: 449.9 kB / 0.7589 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01645/1.302, allocations: 10.7 MB / 0.7693 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02481/1.326, allocations: 15.62 MB / 0.7846 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002245/1.327, allocations: 87.12 kB / 0.7846 GB, free: 86.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009421/1.328, allocations: 44 kB / 0.7847 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002072/1.33, allocations: 1.724 MB / 0.7864 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07178/1.402, allocations: 77.67 MB / 0.8622 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/1.404, allocations: 2.463 MB / 0.8646 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/1.406, allocations: 1.333 MB / 0.8659 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/1.417, allocations: 6.724 MB / 0.8725 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/1.417, allocations: 47.22 kB / 0.8725 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=134): time 4.288e-06/1.417, allocations: 0 / 0.8725 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.01264/1.429, allocations: 3.917 MB / 0.8764 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/1.429, allocations: 141.2 kB / 0.8765 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007216/1.437, allocations: 5.018 MB / 0.8814 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.711e-05/1.437, allocations: 25.7 kB / 0.8814 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003058/1.44, allocations: 4.964 MB / 0.8863 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005133/1.44, allocations: 0.5755 MB / 0.8868 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/1.441, allocations: 0 / 0.8868 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004336/1.441, allocations: 0.649 MB / 0.8875 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.444, allocations: 1.957 MB / 0.8894 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005993/1.45, allocations: 7.425 MB / 0.8966 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.148/1.598, allocations: 3.786 MB / 0.9003 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.598, allocations: 56.84 kB / 0.9004 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01213/1.61, allocations: 7.996 MB / 0.9082 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.61, allocations: 7.781 kB / 0.9082 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.61, allocations: 201.6 kB / 0.9084 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/1.611, allocations: 286 kB / 0.9087 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005853/1.617, allocations: 1.971 MB / 0.9106 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001925/1.617, allocations: 386.1 kB / 0.911 GB, free: 171.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/1.623, allocations: 1.074 MB / 0.912 GB, free: 171.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005819/1.624, allocations: 0.5101 MB / 0.9125 GB, free: 171.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * 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.0007071/1.625, allocations: 0.5901 MB / 0.9131 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/1.625, allocations: 0.4925 MB / 0.9136 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/1.626, allocations: 0.5743 MB / 0.9141 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/1.626, allocations: 8.188 kB / 0.9141 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.626, allocations: 7.031 kB / 0.9141 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.626, allocations: 6.141 kB / 0.9141 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/1.643, allocations: 12.94 MB / 0.9268 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.643, allocations: 21.06 kB / 0.9268 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000918/1.644, allocations: 211 kB / 0.927 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.41e-05/1.644, allocations: 29.59 kB / 0.927 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/1.644, allocations: 30.36 kB / 0.9271 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-05/1.644, allocations: 37.77 kB / 0.9271 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/1.644, allocations: 29.75 kB / 0.9271 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003113/1.647, allocations: 5.786 MB / 0.9328 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003206/1.65, allocations: 6.252 MB / 0.9389 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009616/1.651, allocations: 0.5439 MB / 0.9394 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005949/1.652, allocations: 28.55 kB / 0.9394 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.654, allocations: 113.7 kB / 0.9395 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.654, allocations: 111.3 kB / 0.9396 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.654, allocations: 67.12 kB / 0.9397 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00485/1.659, allocations: 3.384 MB / 0.943 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007878/1.667, allocations: 1.744 MB / 0.9447 GB, free: 159.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 107 * 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.0004689/1.667, allocations: 165.4 kB / 0.9449 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006575/1.674, allocations: 4.561 MB / 0.9493 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.674, allocations: 3.438 kB / 0.9493 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.675, allocations: 0.8477 MB / 0.9502 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/1.678, allocations: 0.6532 MB / 0.9508 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.698, allocations: 11.43 MB / 0.962 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007023/1.705, allocations: 5.669 MB / 0.9675 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/1.705, allocations: 3.969 kB / 0.9675 GB, free: 152.4 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)