Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001149/0.001149, 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.235/1.235, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008981/0.0008981, allocations: 90.33 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1713/0.1713, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1869/0.3583, allocations: 69.36 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.44, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2672/0.7073, allocations: 109.4 MB / 0.6107 GB, free: 9.609 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.7075, allocations: 78.7 kB / 0.6108 GB, free: 9.57 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.5057/1.213, allocations: 146.1 MB / 0.7535 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.213, allocations: 6.125 kB / 0.7535 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/1.227, allocations: 2.986 MB / 0.7564 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/1.241, allocations: 6.354 MB / 0.7626 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.241, allocations: 250.3 kB / 0.7628 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/1.243, allocations: 454.9 kB / 0.7633 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01462/1.258, allocations: 11.1 MB / 0.7741 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/1.277, allocations: 16.14 MB / 0.7899 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002096/1.277, allocations: 91.47 kB / 0.79 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008698/1.278, allocations: 48.22 kB / 0.79 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00262/1.281, allocations: 1.921 MB / 0.7919 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0645/1.345, allocations: 76.06 MB / 0.8662 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/1.349, allocations: 2.735 MB / 0.8688 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/1.351, allocations: 1.915 MB / 0.8707 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01344/1.364, allocations: 8.513 MB / 0.879 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/1.365, allocations: 61.72 kB / 0.8791 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=254): time 5.62e-06/1.365, allocations: 0 / 0.8791 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=280): time 0.03296/1.398, allocations: 15.28 MB / 0.894 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.398, allocations: 158.5 kB / 0.8941 GB, free: 90.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004709/1.402, allocations: 4.31 MB / 0.8984 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.402, allocations: 32.98 kB / 0.8984 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.404, allocations: 4.721 MB / 0.903 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005551/1.405, allocations: 1.057 MB / 0.904 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/1.405, allocations: 0 / 0.904 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003282/1.405, allocations: 0.6932 MB / 0.9047 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/1.408, allocations: 2.345 MB / 0.907 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/1.412, allocations: 7.98 MB / 0.9148 GB, free: 69.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/1.417, allocations: 4.333 MB / 0.919 GB, free: 65.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.427e-05/1.417, allocations: 56 kB / 0.9191 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1214) (initialization): time 0.01241/1.429, allocations: 9.008 MB / 0.9279 GB, free: 57.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.429, allocations: 4 kB / 0.9279 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/1.429, allocations: 206.7 kB / 0.9281 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/1.43, allocations: 296 kB / 0.9284 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007311/1.437, allocations: 2.263 MB / 0.9306 GB, free: 54.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/1.437, allocations: 405.1 kB / 0.931 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006037/1.443, allocations: 363.9 kB / 0.9313 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/1.444, allocations: 0.5525 MB / 0.9318 GB, free: 53.57 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.0008407/1.445, allocations: 0.6154 MB / 0.9324 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/1.445, allocations: 469.8 kB / 0.9329 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/1.449, allocations: 2.553 MB / 0.9354 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/1.449, allocations: 31 kB / 0.9354 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.449, allocations: 0 / 0.9354 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/1.449, allocations: 14.2 kB / 0.9354 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/1.463, allocations: 9.834 MB / 0.945 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/1.463, allocations: 32 kB / 0.9451 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.465, allocations: 0.5029 MB / 0.9455 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-05/1.465, allocations: 44 kB / 0.9456 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/1.465, allocations: 55.14 kB / 0.9456 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.76e-05/1.465, allocations: 58.28 kB / 0.9457 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.789e-05/1.465, allocations: 43.81 kB / 0.9457 GB, free: 41.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00514/1.47, allocations: 9.149 MB / 0.9547 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006594/1.477, allocations: 10.9 MB / 0.9653 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009522/1.478, allocations: 0.5099 MB / 0.9658 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/1.478, allocations: 47.5 kB / 0.9659 GB, free: 18.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.48, allocations: 134.4 kB / 0.966 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/1.481, allocations: 217.7 kB / 0.9662 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.481, allocations: 115.9 kB / 0.9663 GB, free: 18.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003523/1.484, allocations: 2.82 MB / 0.9691 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006812/1.491, allocations: 1.239 MB / 0.9703 GB, free: 14.83 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.0004715/1.492, allocations: 223.3 kB / 0.9705 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006467/1.498, allocations: 5.381 MB / 0.9757 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.498, allocations: 4 kB / 0.9757 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/1.499, allocations: 1.214 MB / 0.9769 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.502, allocations: 0.5363 MB / 0.9775 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1588/1.661, allocations: 11.82 MB / 0.989 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005601/1.666, allocations: 5.431 MB / 0.9943 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/1.666, allocations: 0 / 0.9943 GB, free: 146.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)