Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 186.2 kB / 7.798 MB, free: 2.277 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.492/1.492, allocations: 205.2 MB / 213.4 MB, free: 13.81 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.0009547/0.0009547, allocations: 79.47 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.2157/0.2157, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2231/0.4388, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.7968, allocations: 58.85 MB / 476.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.9488, allocations: 107.7 MB / 0.5706 GB, free: 7.191 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.9491, allocations: 75.94 kB / 0.5707 GB, free: 7.117 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.674/1.623, allocations: 147.9 MB / 0.7151 GB, free: 91.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.623, allocations: 11.94 kB / 0.7152 GB, free: 91.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/1.641, allocations: 3.059 MB / 0.7181 GB, free: 88.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02145/1.663, allocations: 7.758 MB / 0.7257 GB, free: 80.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00074/1.664, allocations: 260 kB / 0.726 GB, free: 80.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005547/1.669, allocations: 467.9 kB / 0.7264 GB, free: 79.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02538/1.695, allocations: 11.79 MB / 0.7379 GB, free: 68.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04637/1.741, allocations: 16.96 MB / 0.7545 GB, free: 49.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005935/1.742, allocations: 99.05 kB / 0.7546 GB, free: 49.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0047/1.747, allocations: 48 kB / 0.7546 GB, free: 49.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004206/1.751, allocations: 2.046 MB / 0.7566 GB, free: 47.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3549/2.106, allocations: 78.19 MB / 0.833 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005184/2.111, allocations: 3.018 MB / 0.8359 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003764/2.115, allocations: 2.136 MB / 0.838 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02145/2.136, allocations: 9.028 MB / 0.8468 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.462e-05/2.136, allocations: 63.95 kB / 0.8469 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=293): time 1.262e-05/2.136, allocations: 3.906 kB / 0.8469 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=319): time 0.05244/2.189, allocations: 16.58 MB / 0.8631 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/2.189, allocations: 167.2 kB / 0.8633 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/2.2, allocations: 4.508 MB / 0.8677 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008846/2.201, allocations: 28.36 kB / 0.8677 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004273/2.206, allocations: 4.966 MB / 0.8725 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002948/2.209, allocations: 1.183 MB / 0.8737 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/2.21, allocations: 0 / 0.8737 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001636/2.212, allocations: 0.7235 MB / 0.8744 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005906/2.218, allocations: 2.566 MB / 0.8769 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/2.229, allocations: 8.457 MB / 0.8852 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009346/2.238, allocations: 4.648 MB / 0.8897 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006814/2.239, allocations: 60.06 kB / 0.8898 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.02599/2.265, allocations: 9.688 MB / 0.8992 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/2.265, allocations: 3.625 kB / 0.8992 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008956/2.266, allocations: 210.9 kB / 0.8994 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008894/2.267, allocations: 310.9 kB / 0.8997 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/2.279, allocations: 2.416 MB / 0.9021 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/2.28, allocations: 419.1 kB / 0.9025 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.291, allocations: 380.8 kB / 0.9028 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003144/2.294, allocations: 0.5851 MB / 0.9034 GB, free: 131.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (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 (1274): * Single equations (assignments): 1271 * 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.00523/2.3, allocations: 0.6408 MB / 0.904 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001805/2.301, allocations: 497.4 kB / 0.9045 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007128/2.309, allocations: 2.996 MB / 0.9074 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/2.309, allocations: 31.09 kB / 0.9075 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/2.309, allocations: 1.25 kB / 0.9075 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-05/2.309, allocations: 14.91 kB / 0.9075 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/2.34, allocations: 11.05 MB / 0.9183 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/2.34, allocations: 32.09 kB / 0.9183 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/2.343, allocations: 0.5801 MB / 0.9189 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-05/2.343, allocations: 52.34 kB / 0.9189 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004711/2.343, allocations: 56.36 kB / 0.919 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-05/2.343, allocations: 60.73 kB / 0.919 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.917e-05/2.344, allocations: 46.19 kB / 0.9191 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01136/2.355, allocations: 10.23 MB / 0.9291 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01074/2.366, allocations: 12.21 MB / 0.941 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002771/2.369, allocations: 0.7672 MB / 0.9417 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.37, allocations: 49 kB / 0.9418 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/2.374, allocations: 139.4 kB / 0.9419 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/2.374, allocations: 254.1 kB / 0.9422 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002875/2.374, allocations: 127.5 kB / 0.9423 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007545/2.382, allocations: 2.959 MB / 0.9452 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01488/2.397, allocations: 1.329 MB / 0.9465 GB, free: 96.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * 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 (300): * Single equations (assignments): 297 * 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.001107/2.398, allocations: 230.2 kB / 0.9467 GB, free: 96.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01051/2.409, allocations: 5.896 MB / 0.9524 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.153e-05/2.409, allocations: 12.06 kB / 0.9525 GB, free: 90.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/2.411, allocations: 1.417 MB / 0.9538 GB, free: 89.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/2.415, allocations: 0.5179 MB / 0.9543 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03284/2.448, allocations: 12.77 MB / 0.9668 GB, free: 77.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01173/2.46, allocations: 5.727 MB / 0.9724 GB, free: 72.88 MB / 0.4948 GB Notification: Performance of SimCode: time 2.014e-06/2.46, allocations: 0 / 0.9724 GB, free: 72.88 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)