Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001589/0.001589, allocations: 198.4 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009169/0.0009169, allocations: 92.03 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1754/0.1754, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1846/0.3601, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08122/0.4413, allocations: 63.23 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.7007, allocations: 103.1 MB / 0.6046 GB, free: 72 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.701, allocations: 80.08 kB / 0.6047 GB, free: 32 kB / 394.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.1356/0.8366, allocations: 55.73 MB / 0.6591 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.8366, allocations: 8 kB / 0.6591 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/0.8434, allocations: 1.47 MB / 0.6605 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.8463, allocations: 1.669 MB / 0.6621 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.58e-05/0.8464, allocations: 88 kB / 0.6622 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/0.8468, allocations: 156 kB / 0.6624 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005468/0.8523, allocations: 4.222 MB / 0.6665 GB, free: 9.023 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007434/0.8598, allocations: 5.841 MB / 0.6722 GB, free: 2.836 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.782e-05/0.8598, allocations: 15.88 kB / 0.6722 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.8602, allocations: 8 kB / 0.6722 GB, free: 2.812 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006932/0.8609, allocations: 0.6729 MB / 0.6729 GB, free: 2.137 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/0.8846, allocations: 21.66 MB / 0.694 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.8862, allocations: 1.426 MB / 0.6954 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.8869, allocations: 0.5223 MB / 0.6959 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.8869, allocations: 12.64 kB / 0.696 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.887, allocations: 43.25 kB / 0.696 GB, free: 9.648 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.086e-06/0.887, allocations: 4 kB / 0.696 GB, free: 9.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.003507/0.8905, allocations: 1.495 MB / 0.6975 GB, free: 8.145 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.8905, allocations: 56.06 kB / 0.6975 GB, free: 8.078 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.8924, allocations: 1.587 MB / 0.6991 GB, free: 6.488 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.8925, allocations: 25.7 kB / 0.6991 GB, free: 6.457 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/0.8935, allocations: 1.808 MB / 0.7009 GB, free: 4.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.8938, allocations: 343.5 kB / 0.7012 GB, free: 4.277 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.8939, allocations: 4 kB / 0.7012 GB, free: 4.273 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000251/0.8941, allocations: 0.4897 MB / 0.7017 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.8953, allocations: 0.8613 MB / 0.7025 GB, free: 2.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.8975, allocations: 2.837 MB / 0.7053 GB, free: 15.08 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.8994, allocations: 1.614 MB / 0.7069 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.8995, allocations: 24 kB / 0.7069 GB, free: 13.44 MB / 0.4949 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004621/0.9041, allocations: 3.249 MB / 0.7101 GB, free: 10.18 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.9041, allocations: 16 kB / 0.7101 GB, free: 10.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-05/0.9042, allocations: 68 kB / 0.7101 GB, free: 10.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-05/0.9043, allocations: 104 kB / 0.7102 GB, free: 10 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.9065, allocations: 0.7134 MB / 0.7109 GB, free: 9.285 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.811e-05/0.9066, allocations: 139.4 kB / 0.7111 GB, free: 9.148 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.9083, allocations: 355.7 kB / 0.7114 GB, free: 8.797 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.9086, allocations: 196 kB / 0.7116 GB, free: 8.605 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.0003185/0.9089, allocations: 285.8 kB / 0.7119 GB, free: 8.32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.9091, allocations: 161.8 kB / 0.712 GB, free: 8.156 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.9109, allocations: 1.209 MB / 0.7132 GB, free: 6.926 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.911, allocations: 8 kB / 0.7132 GB, free: 6.918 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.911, allocations: 0 / 0.7132 GB, free: 6.918 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.911, allocations: 3.984 kB / 0.7132 GB, free: 6.914 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006227/0.9172, allocations: 4.124 MB / 0.7172 GB, free: 2.605 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.9173, allocations: 8.188 kB / 0.7172 GB, free: 2.598 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.9178, allocations: 119.8 kB / 0.7174 GB, free: 2.48 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.9178, allocations: 12 kB / 0.7174 GB, free: 2.469 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.9179, allocations: 15.98 kB / 0.7174 GB, free: 2.453 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.9179, allocations: 15.94 kB / 0.7174 GB, free: 2.438 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.9179, allocations: 11.94 kB / 0.7174 GB, free: 2.426 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001806/0.9198, allocations: 1.937 MB / 0.7193 GB, free: 176 kB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001912/0.9217, allocations: 2.316 MB / 0.7216 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.922, allocations: 238.7 kB / 0.7218 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.9222, allocations: 19.98 kB / 0.7218 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.9227, allocations: 11.98 kB / 0.7218 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.9229, allocations: 55.86 kB / 0.7219 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/0.9229, allocations: 39.97 kB / 0.7219 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001334/0.9243, allocations: 1.057 MB / 0.7229 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003048/0.9273, allocations: 0.6683 MB / 0.7236 GB, free: 11.44 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.0002981/0.9276, allocations: 143 kB / 0.7237 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.9304, allocations: 2.052 MB / 0.7257 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9304, allocations: 0 / 0.7257 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.9311, allocations: 0.5371 MB / 0.7263 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.9318, allocations: 179.7 kB / 0.7264 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.9391, allocations: 4.403 MB / 0.7307 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002799/0.9419, allocations: 2.529 MB / 0.7332 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/0.9419, allocations: 3.938 kB / 0.7332 GB, free: 1.418 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1)