Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.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.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",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.0009956/0.0009956, allocations: 179.4 kB / 8.517 MB, free: 1.855 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.161/1.161, allocations: 221.4 MB / 230.3 MB, free: 7.668 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.0009418/0.0009418, allocations: 84.05 kB / 281.2 MB, free: 5.477 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.1591/0.1591, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.3378, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.4307, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2734/0.7042, allocations: 108.5 MB / 0.6002 GB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.7044, allocations: 83.94 kB / 0.6003 GB, free: 4.082 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.5096/1.214, allocations: 142.2 MB / 0.7392 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.214, allocations: 14.66 kB / 0.7392 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/1.228, allocations: 2.974 MB / 0.7421 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/1.244, allocations: 7.148 MB / 0.7491 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/1.244, allocations: 251.2 kB / 0.7493 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/1.247, allocations: 453.9 kB / 0.7497 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01778/1.265, allocations: 11.11 MB / 0.7606 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03048/1.295, allocations: 16.14 MB / 0.7763 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004539/1.296, allocations: 97.3 kB / 0.7764 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/1.298, allocations: 45.81 kB / 0.7765 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/1.301, allocations: 1.92 MB / 0.7783 GB, free: 91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07272/1.374, allocations: 76.08 MB / 0.8526 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/1.378, allocations: 2.731 MB / 0.8553 GB, free: 16.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/1.38, allocations: 1.915 MB / 0.8572 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/1.393, allocations: 8.499 MB / 0.8655 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.393, allocations: 64.56 kB / 0.8655 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 6.191e-06/1.393, allocations: 0 / 0.8655 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=280): time 0.03575/1.429, allocations: 15.27 MB / 0.8805 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/1.429, allocations: 158.5 kB / 0.8806 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007001/1.436, allocations: 4.307 MB / 0.8848 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000464/1.437, allocations: 29.7 kB / 0.8848 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002775/1.439, allocations: 4.725 MB / 0.8895 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.441, allocations: 1.056 MB / 0.8905 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/1.441, allocations: 0 / 0.8905 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004504/1.441, allocations: 0.6948 MB / 0.8912 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003308/1.445, allocations: 2.346 MB / 0.8935 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1495/1.594, allocations: 7.985 MB / 0.9013 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00546/1.6, allocations: 4.327 MB / 0.9055 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/1.6, allocations: 57.19 kB / 0.9055 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1214) (initialization): time 0.01308/1.613, allocations: 9.016 MB / 0.9143 GB, free: 169 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.613, allocations: 7.188 kB / 0.9144 GB, free: 169 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/1.613, allocations: 201.4 kB / 0.9145 GB, free: 169 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/1.613, allocations: 298.2 kB / 0.9148 GB, free: 169 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007307/1.621, allocations: 2.266 MB / 0.917 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002175/1.621, allocations: 399.9 kB / 0.9174 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006412/1.627, allocations: 366 kB / 0.9178 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008867/1.628, allocations: 0.55 MB / 0.9183 GB, free: 168.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 78 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1190): * Single equations (assignments): 1187 * 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.0009468/1.629, allocations: 0.6097 MB / 0.9189 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006022/1.63, allocations: 468.9 kB / 0.9194 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/1.633, allocations: 2.551 MB / 0.9218 GB, free: 168.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/1.633, allocations: 24.56 kB / 0.9219 GB, free: 168.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.633, allocations: 5.125 kB / 0.9219 GB, free: 168.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/1.633, allocations: 19.41 kB / 0.9219 GB, free: 168.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.647, allocations: 9.823 MB / 0.9315 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.647, allocations: 31.47 kB / 0.9315 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.649, allocations: 0.5034 MB / 0.932 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.983e-05/1.649, allocations: 45.56 kB / 0.932 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/1.649, allocations: 53.69 kB / 0.9321 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.824e-05/1.65, allocations: 58.2 kB / 0.9322 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.948e-05/1.65, allocations: 45.81 kB / 0.9322 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005262/1.655, allocations: 9.151 MB / 0.9411 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00671/1.662, allocations: 10.9 MB / 0.9518 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008987/1.662, allocations: 0.5107 MB / 0.9523 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/1.663, allocations: 53.88 kB / 0.9523 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.665, allocations: 132.5 kB / 0.9525 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/1.665, allocations: 218.2 kB / 0.9527 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.666, allocations: 114 kB / 0.9528 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003549/1.669, allocations: 2.826 MB / 0.9555 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007009/1.676, allocations: 1.235 MB / 0.9567 GB, free: 151.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 131 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 255 * 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.0004692/1.677, allocations: 220.5 kB / 0.9569 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00686/1.683, allocations: 5.382 MB / 0.9622 GB, free: 150 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/1.683, allocations: 3.844 kB / 0.9622 GB, free: 150 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.685, allocations: 1.221 MB / 0.9634 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.688, allocations: 0.5353 MB / 0.9639 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.708, allocations: 11.81 MB / 0.9755 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007051/1.715, allocations: 5.432 MB / 0.9808 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/1.715, allocations: 0 / 0.9808 GB, free: 141.9 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)