Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00118/0.00118, allocations: 200.1 kB / 8.542 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009266/0.0009266, allocations: 94.19 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1749/0.1749, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1934/0.3683, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.4499, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3151/0.765, allocations: 103.1 MB / 0.6046 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.7653, allocations: 78.83 kB / 0.6046 GB, free: 15.79 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.2205/0.9858, allocations: 55.71 MB / 0.659 GB, free: 296 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.9859, allocations: 12 kB / 0.6591 GB, free: 284 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.9991, allocations: 1.476 MB / 0.6605 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006026/1.005, allocations: 1.665 MB / 0.6621 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/1.005, allocations: 88 kB / 0.6622 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000858/1.006, allocations: 160 kB / 0.6624 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01108/1.017, allocations: 4.219 MB / 0.6665 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.031, allocations: 5.838 MB / 0.6722 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.031, allocations: 23.8 kB / 0.6722 GB, free: 2.766 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005547/1.032, allocations: 8 kB / 0.6722 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001201/1.033, allocations: 0.6729 MB / 0.6729 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04345/1.077, allocations: 21.66 MB / 0.694 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/1.08, allocations: 1.426 MB / 0.6954 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/1.081, allocations: 0.5184 MB / 0.6959 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-05/1.081, allocations: 12.64 kB / 0.6959 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.081, allocations: 35.22 kB / 0.696 GB, free: 9.605 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.93e-06/1.081, allocations: 4 kB / 0.696 GB, free: 9.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.004634/1.086, allocations: 1.499 MB / 0.6974 GB, free: 8.098 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/1.086, allocations: 60 kB / 0.6975 GB, free: 8.027 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/1.088, allocations: 1.587 MB / 0.699 GB, free: 6.438 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/1.088, allocations: 25.8 kB / 0.6991 GB, free: 6.406 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/1.09, allocations: 1.808 MB / 0.7008 GB, free: 4.566 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/1.09, allocations: 347.5 kB / 0.7012 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/1.09, allocations: 0 / 0.7012 GB, free: 4.223 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/1.09, allocations: 0.4936 MB / 0.7016 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.092, allocations: 0.8613 MB / 0.7025 GB, free: 2.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/1.094, allocations: 2.829 MB / 0.7052 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/1.096, allocations: 1.622 MB / 0.7068 GB, free: 13.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/1.096, allocations: 20 kB / 0.7069 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.005108/1.101, allocations: 3.249 MB / 0.71 GB, free: 10.13 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.101, allocations: 4 kB / 0.71 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.989e-05/1.102, allocations: 80.09 kB / 0.7101 GB, free: 10.05 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/1.102, allocations: 104 kB / 0.7102 GB, free: 9.945 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.104, allocations: 0.7095 MB / 0.7109 GB, free: 9.234 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.973e-05/1.104, allocations: 139.4 kB / 0.711 GB, free: 9.098 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.106, allocations: 355.6 kB / 0.7114 GB, free: 8.746 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.106, allocations: 200 kB / 0.7116 GB, free: 8.551 MB / 0.4949 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.0003419/1.106, allocations: 281.8 kB / 0.7118 GB, free: 8.27 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/1.107, allocations: 161.8 kB / 0.712 GB, free: 8.109 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/1.109, allocations: 1.205 MB / 0.7132 GB, free: 6.883 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/1.109, allocations: 12 kB / 0.7132 GB, free: 6.871 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.109, allocations: 0 / 0.7132 GB, free: 6.871 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.109, allocations: 3.984 kB / 0.7132 GB, free: 6.867 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007139/1.116, allocations: 4.124 MB / 0.7172 GB, free: 2.562 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.116, allocations: 4 kB / 0.7172 GB, free: 2.559 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/1.116, allocations: 123.8 kB / 0.7173 GB, free: 2.438 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/1.116, allocations: 16.06 kB / 0.7173 GB, free: 2.422 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/1.116, allocations: 19.98 kB / 0.7174 GB, free: 2.402 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/1.116, allocations: 12 kB / 0.7174 GB, free: 2.391 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.117, allocations: 11.94 kB / 0.7174 GB, free: 2.379 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002151/1.119, allocations: 1.937 MB / 0.7193 GB, free: 128 kB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002234/1.121, allocations: 2.324 MB / 0.7215 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/1.121, allocations: 234.8 kB / 0.7218 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.122, allocations: 15.98 kB / 0.7218 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/1.122, allocations: 11.98 kB / 0.7218 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.122, allocations: 55.8 kB / 0.7218 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/1.122, allocations: 35.98 kB / 0.7219 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001541/1.124, allocations: 1.061 MB / 0.7229 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0034/1.127, allocations: 0.6644 MB / 0.7236 GB, free: 11.39 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.000338/1.128, allocations: 154.9 kB / 0.7237 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00307/1.131, allocations: 2.045 MB / 0.7257 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.131, allocations: 4.125 kB / 0.7257 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/1.131, allocations: 0.5389 MB / 0.7262 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/1.132, allocations: 181 kB / 0.7264 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007947/1.14, allocations: 4.402 MB / 0.7307 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002948/1.143, allocations: 2.521 MB / 0.7332 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/1.143, allocations: 0 / 0.7332 GB, free: 1.375 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)