Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 179.1 kB / 8.519 MB, free: 1.848 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.194/1.194, allocations: 221.4 MB / 230.3 MB, free: 7.73 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.0009457/0.000946, allocations: 82.05 kB / 281.2 MB, free: 5.539 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.1641/0.1641, allocations: 44.15 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1709/0.3351, allocations: 68.02 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.4251, allocations: 61.91 MB / 0.4942 GB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.6803, allocations: 102 MB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.6805, allocations: 84.2 kB / 0.5939 GB, free: 10.64 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.1404/0.8209, allocations: 54.3 MB / 0.6469 GB, free: 3.895 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.821, allocations: 15.94 kB / 0.647 GB, free: 3.879 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007137/0.8281, allocations: 1.47 MB / 0.6484 GB, free: 2.402 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.8316, allocations: 1.668 MB / 0.65 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.8317, allocations: 91.94 kB / 0.6501 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.8321, allocations: 156 kB / 0.6503 GB, free: 456 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006023/0.8382, allocations: 4.219 MB / 0.6544 GB, free: 12.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007731/0.8459, allocations: 5.845 MB / 0.6601 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.846, allocations: 19.81 kB / 0.6601 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.8463, allocations: 8 kB / 0.6601 GB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006939/0.847, allocations: 0.6729 MB / 0.6608 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02349/0.8705, allocations: 21.66 MB / 0.6819 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.8721, allocations: 1.437 MB / 0.6833 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.8728, allocations: 0.5106 MB / 0.6838 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/0.8728, allocations: 16.56 kB / 0.6838 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.8729, allocations: 39.22 kB / 0.6839 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 3.196e-06/0.8729, allocations: 0 / 0.6839 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.003447/0.8763, allocations: 1.503 MB / 0.6853 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.8764, allocations: 60.06 kB / 0.6854 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.8782, allocations: 1.575 MB / 0.6869 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.8783, allocations: 25.7 kB / 0.687 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.8793, allocations: 1.812 MB / 0.6887 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.8796, allocations: 359.4 kB / 0.6891 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.8797, allocations: 0 / 0.6891 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002689/0.88, allocations: 497.5 kB / 0.6896 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.8811, allocations: 0.8691 MB / 0.6904 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.8835, allocations: 2.829 MB / 0.6932 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.8856, allocations: 1.614 MB / 0.6947 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.8856, allocations: 20 kB / 0.6948 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004789/0.8904, allocations: 3.254 MB / 0.6979 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8904, allocations: 8 kB / 0.6979 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-05/0.8905, allocations: 68 kB / 0.698 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.8906, allocations: 104 kB / 0.6981 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.8928, allocations: 0.7096 MB / 0.6988 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.203e-05/0.8929, allocations: 139.5 kB / 0.6989 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.8946, allocations: 355.7 kB / 0.6993 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.8949, allocations: 192 kB / 0.6995 GB, free: 11.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 323 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (390): * Single equations (assignments): 387 * 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.0003242/0.8952, allocations: 281.8 kB / 0.6997 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.8954, allocations: 161.8 kB / 0.6999 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.8972, allocations: 1.216 MB / 0.7011 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.8972, allocations: 4 kB / 0.7011 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8973, allocations: 0 / 0.7011 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.8973, allocations: 7.984 kB / 0.7011 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/0.9035, allocations: 4.12 MB / 0.7051 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.9035, allocations: 8 kB / 0.7051 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.904, allocations: 123.7 kB / 0.7052 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.981e-05/0.9041, allocations: 15.94 kB / 0.7052 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.9041, allocations: 12 kB / 0.7053 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.9041, allocations: 15.94 kB / 0.7053 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.9042, allocations: 11.98 kB / 0.7053 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001883/0.906, allocations: 1.933 MB / 0.7072 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002007/0.9081, allocations: 2.32 MB / 0.7094 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.9083, allocations: 242.7 kB / 0.7097 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.9086, allocations: 15.98 kB / 0.7097 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.9091, allocations: 11.98 kB / 0.7097 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.9092, allocations: 59.8 kB / 0.7098 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.9093, allocations: 39.98 kB / 0.7098 GB, free: 364 kB / 0.5105 GB Notification: Performance of sort global known variables: time 0.1631/1.072, allocations: 1.054 MB / 0.7108 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00327/1.076, allocations: 0.6622 MB / 0.7115 GB, free: 129.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * 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.0002993/1.076, allocations: 145 kB / 0.7116 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002143/1.078, allocations: 2.051 MB / 0.7136 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.078, allocations: 0 / 0.7136 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/1.079, allocations: 0.5374 MB / 0.7141 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/1.08, allocations: 175.1 kB / 0.7143 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/1.086, allocations: 4.405 MB / 0.7186 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002269/1.088, allocations: 2.531 MB / 0.7211 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/1.088, allocations: 0 / 0.7211 GB, free: 127.7 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)