Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2",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 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 189 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 92.33 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2048/0.2048, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.235/0.4399, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.7913, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.9473, allocations: 108.2 MB / 0.5712 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.9476, allocations: 71.97 kB / 0.5712 GB, free: 6.59 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.673/1.621, allocations: 148.5 MB / 0.7162 GB, free: 90.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.621, allocations: 8 kB / 0.7163 GB, free: 90.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/1.638, allocations: 3.063 MB / 0.7192 GB, free: 87.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02214/1.66, allocations: 7.773 MB / 0.7268 GB, free: 79.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008099/1.661, allocations: 264 kB / 0.7271 GB, free: 79.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005414/1.666, allocations: 467.9 kB / 0.7275 GB, free: 78.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02413/1.69, allocations: 11.81 MB / 0.7391 GB, free: 67.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04305/1.734, allocations: 16.97 MB / 0.7556 GB, free: 48.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006374/1.734, allocations: 98.98 kB / 0.7557 GB, free: 48.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005213/1.739, allocations: 52 kB / 0.7558 GB, free: 48.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004064/1.744, allocations: 2.054 MB / 0.7578 GB, free: 46.31 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5064/2.25, allocations: 78.28 MB / 0.8342 GB, free: 153.7 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004998/2.255, allocations: 3.022 MB / 0.8372 GB, free: 153.1 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/2.259, allocations: 2.148 MB / 0.8393 GB, free: 153 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/2.276, allocations: 9.049 MB / 0.8481 GB, free: 150 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002711/2.278, allocations: 2.061 MB / 0.8501 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=296): time 6.222e-06/2.278, allocations: 0 / 0.8501 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=322): time 0.04146/2.32, allocations: 16.64 MB / 0.8664 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/2.32, allocations: 167 kB / 0.8665 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008559/2.329, allocations: 4.519 MB / 0.871 GB, free: 145 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007548/2.329, allocations: 29.55 kB / 0.871 GB, free: 145 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00458/2.334, allocations: 5.076 MB / 0.8759 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/2.336, allocations: 1.195 MB / 0.8771 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006487/2.336, allocations: 3.156 kB / 0.8771 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005899/2.337, allocations: 0.7262 MB / 0.8778 GB, free: 140.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/2.341, allocations: 2.578 MB / 0.8803 GB, free: 140.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00828/2.35, allocations: 8.476 MB / 0.8886 GB, free: 133.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/2.357, allocations: 4.654 MB / 0.8932 GB, free: 132.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002075/2.358, allocations: 63 kB / 0.8932 GB, free: 132.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.02632/2.384, allocations: 9.71 MB / 0.9027 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/2.384, allocations: 6.719 kB / 0.9027 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001133/2.385, allocations: 211.2 kB / 0.9029 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/2.386, allocations: 311.1 kB / 0.9032 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/2.396, allocations: 2.438 MB / 0.9056 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003467/2.396, allocations: 421.9 kB / 0.906 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009955/2.406, allocations: 398.1 kB / 0.9064 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002719/2.409, allocations: 0.5895 MB / 0.9069 GB, free: 129 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.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.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.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 (1278): * Single equations (assignments): 1274 * Array equations: 3 * Algorithm blocks: 1 * 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.003396/2.413, allocations: 0.6385 MB / 0.9076 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/2.414, allocations: 0.4918 MB / 0.908 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006494/2.42, allocations: 3.019 MB / 0.911 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-05/2.42, allocations: 29.53 kB / 0.911 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/2.42, allocations: 0 / 0.911 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.122e-05/2.42, allocations: 13.12 kB / 0.911 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/2.444, allocations: 11.05 MB / 0.9218 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.39e-05/2.444, allocations: 33.62 kB / 0.9219 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/2.446, allocations: 0.6005 MB / 0.9224 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.267e-05/2.447, allocations: 50.34 kB / 0.9225 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/2.447, allocations: 55.28 kB / 0.9225 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.34e-05/2.447, allocations: 71.3 kB / 0.9226 GB, free: 122.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-05/2.447, allocations: 43.81 kB / 0.9227 GB, free: 122.1 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008846/2.456, allocations: 10.05 MB / 0.9325 GB, free: 111.3 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00919/2.465, allocations: 12.05 MB / 0.9442 GB, free: 98.67 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/2.467, allocations: 0.7736 MB / 0.945 GB, free: 97.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/2.469, allocations: 45.86 kB / 0.945 GB, free: 97.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/2.471, allocations: 163.6 kB / 0.9452 GB, free: 97.78 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/2.472, allocations: 253.9 kB / 0.9454 GB, free: 97.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/2.472, allocations: 123.7 kB / 0.9456 GB, free: 97.48 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.005912/2.478, allocations: 2.976 MB / 0.9485 GB, free: 94.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01253/2.49, allocations: 1.34 MB / 0.9498 GB, free: 93.57 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 298 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001046/2.492, allocations: 226.9 kB / 0.95 GB, free: 93.36 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01047/2.502, allocations: 5.946 MB / 0.9558 GB, free: 87.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.242e-05/2.502, allocations: 4 kB / 0.9558 GB, free: 87.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/2.505, allocations: 1.684 MB / 0.9574 GB, free: 86.34 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/2.509, allocations: 0.5344 MB / 0.958 GB, free: 85.88 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03171/2.541, allocations: 12.78 MB / 0.9704 GB, free: 73.96 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01174/2.553, allocations: 5.755 MB / 0.9761 GB, free: 69.64 MB / 0.4949 GB Notification: Performance of SimCode: time 1.703e-06/2.553, allocations: 0 / 0.9761 GB, free: 69.64 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1)