Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",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 3.2.3+maint.om/package.mo): time 0.002063/0.002063, allocations: 192.5 kB / 7.807 MB, free: 2.488 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.524/1.524, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008693/0.0008695, allocations: 91.08 kB / 261.4 MB, free: 13.53 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.2175/0.2175, allocations: 43.5 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2301/0.4476, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.8046, allocations: 58.84 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.9538, allocations: 101.2 MB / 0.5643 GB, free: 13.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.9541, allocations: 79.47 kB / 0.5644 GB, free: 13.6 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.1504/1.105, allocations: 55.89 MB / 0.619 GB, free: 5.246 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/1.105, allocations: 12 kB / 0.619 GB, free: 5.234 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008194/1.113, allocations: 1.501 MB / 0.6204 GB, free: 3.727 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004909/1.118, allocations: 1.727 MB / 0.6221 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/1.118, allocations: 92 kB / 0.6222 GB, free: 1.859 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/1.119, allocations: 164 kB / 0.6224 GB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008189/1.128, allocations: 4.458 MB / 0.6267 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/1.138, allocations: 6.146 MB / 0.6327 GB, free: 6.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-05/1.138, allocations: 19.81 kB / 0.6327 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/1.139, allocations: 15.94 kB / 0.6327 GB, free: 6.664 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008481/1.14, allocations: 0.7161 MB / 0.6334 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2215/1.361, allocations: 22.54 MB / 0.6555 GB, free: 163.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/1.363, allocations: 1.547 MB / 0.657 GB, free: 163 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006847/1.364, allocations: 0.5876 MB / 0.6575 GB, free: 163 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/1.364, allocations: 18.34 kB / 0.6576 GB, free: 163 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.364, allocations: 43.66 kB / 0.6576 GB, free: 162.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 4.399e-06/1.364, allocations: 0 / 0.6576 GB, free: 162.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.00364/1.367, allocations: 1.631 MB / 0.6592 GB, free: 162.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.367, allocations: 63.14 kB / 0.6593 GB, free: 162.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/1.37, allocations: 1.628 MB / 0.6608 GB, free: 162.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/1.37, allocations: 25.7 kB / 0.6609 GB, free: 162.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.371, allocations: 1.886 MB / 0.6627 GB, free: 161.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/1.372, allocations: 403.4 kB / 0.6631 GB, free: 161.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/1.372, allocations: 7 kB / 0.6631 GB, free: 161.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002631/1.372, allocations: 0.4939 MB / 0.6636 GB, free: 161.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/1.373, allocations: 0.9366 MB / 0.6645 GB, free: 161.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/1.375, allocations: 2.996 MB / 0.6674 GB, free: 158.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/1.377, allocations: 1.732 MB / 0.6691 GB, free: 158.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/1.377, allocations: 22.66 kB / 0.6691 GB, free: 158.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=443) (initialization): time 0.004869/1.382, allocations: 3.474 MB / 0.6725 GB, free: 158.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.382, allocations: 7.781 kB / 0.6725 GB, free: 158 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.338e-05/1.382, allocations: 74.78 kB / 0.6726 GB, free: 158 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/1.382, allocations: 109.9 kB / 0.6727 GB, free: 158 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.385, allocations: 0.7634 MB / 0.6735 GB, free: 158 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.489e-05/1.385, allocations: 142.9 kB / 0.6736 GB, free: 157.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.387, allocations: 379.6 kB / 0.674 GB, free: 157.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/1.387, allocations: 208.6 kB / 0.6742 GB, free: 157.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (419): * Single equations (assignments): 416 * 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.0003875/1.387, allocations: 295.5 kB / 0.6744 GB, free: 157.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.388, allocations: 174.5 kB / 0.6746 GB, free: 157.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/1.39, allocations: 1.366 MB / 0.6759 GB, free: 157.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/1.39, allocations: 11.09 kB / 0.6759 GB, free: 157.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.39, allocations: 3.906 kB / 0.676 GB, free: 157.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.39, allocations: 3.234 kB / 0.676 GB, free: 157.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/1.397, allocations: 5.255 MB / 0.6811 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.397, allocations: 14.78 kB / 0.6811 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/1.398, allocations: 160.3 kB / 0.6813 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-05/1.398, allocations: 17.81 kB / 0.6813 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/1.398, allocations: 17.09 kB / 0.6813 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/1.398, allocations: 20.03 kB / 0.6813 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/1.398, allocations: 23.12 kB / 0.6813 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002329/1.4, allocations: 2.444 MB / 0.6837 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00195/1.402, allocations: 2.852 MB / 0.6865 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/1.403, allocations: 252.7 kB / 0.6867 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/1.403, allocations: 15.31 kB / 0.6868 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/1.403, allocations: 26.17 kB / 0.6868 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.404, allocations: 75.14 kB / 0.6869 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/1.404, allocations: 42.25 kB / 0.6869 GB, free: 150.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001509/1.405, allocations: 1.097 MB / 0.688 GB, free: 150.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003821/1.409, allocations: 0.7012 MB / 0.6887 GB, free: 149.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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.0004724/1.409, allocations: 150.3 kB / 0.6888 GB, free: 149.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004043/1.414, allocations: 2.228 MB / 0.691 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.414, allocations: 2.281 kB / 0.691 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008676/1.414, allocations: 0.6188 MB / 0.6916 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.415, allocations: 178.1 kB / 0.6917 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.426, allocations: 4.778 MB / 0.6964 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004271/1.431, allocations: 2.64 MB / 0.699 GB, free: 145.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.543e-06/1.431, allocations: 0 / 0.699 GB, free: 145.8 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)