Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.0009964/0.0009964, allocations: 179.2 kB / 8.521 MB, free: 1.844 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.192/1.192, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009165/0.0009165, allocations: 96.64 kB / 281.2 MB, free: 5.449 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.1648/0.1648, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1745/0.3394, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.4332, allocations: 61.9 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2591/0.6923, allocations: 102.1 MB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.6925, allocations: 83.94 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.1382/0.8308, allocations: 54.32 MB / 0.647 GB, free: 3.895 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8308, allocations: 11.94 kB / 0.647 GB, free: 3.883 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007381/0.8382, allocations: 1.478 MB / 0.6484 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.8419, allocations: 1.668 MB / 0.6501 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.842, allocations: 88 kB / 0.6502 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006515/0.8427, allocations: 164 kB / 0.6503 GB, free: 444 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006385/0.8491, allocations: 4.215 MB / 0.6544 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008397/0.8575, allocations: 5.845 MB / 0.6601 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/0.8576, allocations: 11.88 kB / 0.6601 GB, free: 6.012 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003751/0.858, allocations: 12 kB / 0.6602 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007866/0.8588, allocations: 0.6689 MB / 0.6608 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.8841, allocations: 21.66 MB / 0.682 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.8857, allocations: 1.429 MB / 0.6834 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.8863, allocations: 0.5184 MB / 0.6839 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.8864, allocations: 8.641 kB / 0.6839 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.8864, allocations: 43.31 kB / 0.6839 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 3.567e-06/0.8865, allocations: 3.938 kB / 0.6839 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.003464/0.8899, allocations: 1.499 MB / 0.6854 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.89, allocations: 60.06 kB / 0.6854 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.892, allocations: 1.579 MB / 0.687 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.892, allocations: 25.7 kB / 0.687 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.893, allocations: 1.801 MB / 0.6888 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.8933, allocations: 359.4 kB / 0.6891 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.8934, allocations: 0 / 0.6891 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002672/0.8937, allocations: 497.5 kB / 0.6896 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.8949, allocations: 0.8691 MB / 0.6904 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.8972, allocations: 2.833 MB / 0.6932 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.8992, allocations: 1.618 MB / 0.6948 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/0.8993, allocations: 20 kB / 0.6948 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004723/0.904, allocations: 3.253 MB / 0.698 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.904, allocations: 4 kB / 0.698 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.209e-05/0.9041, allocations: 72 kB / 0.698 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.9042, allocations: 108.1 kB / 0.6981 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.9063, allocations: 0.7057 MB / 0.6988 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.35e-05/0.9064, allocations: 139.4 kB / 0.699 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.9081, allocations: 351.6 kB / 0.6993 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.9084, allocations: 200 kB / 0.6995 GB, free: 11.8 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.0003177/0.9087, allocations: 285.8 kB / 0.6998 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.9089, allocations: 161.8 kB / 0.6999 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.9107, allocations: 1.197 MB / 0.7011 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/0.9107, allocations: 15.88 kB / 0.7011 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.9107, allocations: 4 kB / 0.7011 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.9107, allocations: 3.984 kB / 0.7011 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.9169, allocations: 4.119 MB / 0.7051 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.9169, allocations: 9 kB / 0.7051 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.9174, allocations: 119.8 kB / 0.7053 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.9175, allocations: 19.98 kB / 0.7053 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.9175, allocations: 19.98 kB / 0.7053 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.9175, allocations: 15.94 kB / 0.7053 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.9176, allocations: 11.94 kB / 0.7053 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001874/0.9194, allocations: 1.929 MB / 0.7072 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001943/0.9214, allocations: 2.324 MB / 0.7095 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.9217, allocations: 238.7 kB / 0.7097 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.9219, allocations: 11.94 kB / 0.7097 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.9224, allocations: 19.98 kB / 0.7097 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.9225, allocations: 55.84 kB / 0.7098 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.9226, allocations: 32 kB / 0.7098 GB, free: 372 kB / 0.5105 GB Notification: Performance of sort global known variables: time 0.1277/1.05, allocations: 1.057 MB / 0.7109 GB, free: 207.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002817/1.053, allocations: 0.6637 MB / 0.7115 GB, free: 207.8 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.0002682/1.053, allocations: 147.1 kB / 0.7116 GB, free: 207.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002023/1.055, allocations: 2.043 MB / 0.7136 GB, free: 207.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.055, allocations: 3.969 kB / 0.7136 GB, free: 207.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004953/1.056, allocations: 0.5379 MB / 0.7142 GB, free: 207.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/1.057, allocations: 167.4 kB / 0.7143 GB, free: 207.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/1.062, allocations: 4.411 MB / 0.7186 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/1.065, allocations: 2.532 MB / 0.7211 GB, free: 205.8 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/1.065, allocations: 0 / 0.7211 GB, free: 205.8 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1)