Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") [: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.1+maint.om/package.mo): time 0.003644/0.003644, allocations: 178 kB / 7.45 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.321/1.321, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001856/0.001856, allocations: 111.8 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.476e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.0938, allocations: 38.77 MB / 300.5 MB, free: 3.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3017/0.3955, allocations: 84 MB / 384.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.3958, allocations: 82.2 kB / 384.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.4541/0.8499, allocations: 104 MB / 488.6 MB, free: 70.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002315/0.8502, allocations: 108.4 kB / 488.7 MB, free: 70 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.02785/0.878, allocations: 5.982 MB / 494.6 MB, free: 67.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.8781, allocations: 10.69 kB / 494.7 MB, free: 67.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.8933, allocations: 2.788 MB / 497.4 MB, free: 67.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/0.9133, allocations: 7.509 MB / 0.4931 GB, free: 66.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.9137, allocations: 181.7 kB / 0.4933 GB, free: 66.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002864/0.9166, allocations: 324 kB / 0.4936 GB, free: 66.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01609/0.9327, allocations: 8.695 MB / 0.5021 GB, free: 66.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/0.9642, allocations: 12.48 MB / 0.5143 GB, free: 61.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005961/0.9648, allocations: 73.44 kB / 0.5143 GB, free: 61.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003084/0.9679, allocations: 39.8 kB / 0.5144 GB, free: 61.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003576/0.9715, allocations: 1.565 MB / 0.5159 GB, free: 61.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0876/1.059, allocations: 64.08 MB / 0.5785 GB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005876/1.065, allocations: 4.132 MB / 0.5825 GB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006406/1.072, allocations: 3.387 MB / 0.5858 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0313/1.103, allocations: 13.41 MB / 0.5989 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/1.103, allocations: 60.56 kB / 0.599 GB, free: 328 kB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 6.241e-06/1.103, allocations: 0 / 0.599 GB, free: 328 kB / 362.7 MB Notification: Performance of matching and sorting (n=267): time 0.194/1.297, allocations: 19.1 MB / 0.6176 GB, free: 113.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.297, allocations: 150.9 kB / 0.6178 GB, free: 113.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/1.303, allocations: 3.713 MB / 0.6214 GB, free: 113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007543/1.303, allocations: 25.7 kB / 0.6214 GB, free: 113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002074/1.305, allocations: 3.625 MB / 0.625 GB, free: 110.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001551/1.307, allocations: 1.028 MB / 0.626 GB, free: 110.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/1.307, allocations: 2.531 kB / 0.626 GB, free: 110.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004105/1.308, allocations: 0.6511 MB / 0.6266 GB, free: 110 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004185/1.312, allocations: 3.199 MB / 0.6297 GB, free: 110 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006173/1.318, allocations: 7.853 MB / 0.6374 GB, free: 104 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008407/1.327, allocations: 4.913 MB / 0.6422 GB, free: 103.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000243/1.327, allocations: 47.06 kB / 0.6422 GB, free: 103.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=1072) (initialization): time 0.02777/1.355, allocations: 11.84 MB / 0.6538 GB, free: 101.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.355, allocations: 3.812 kB / 0.6538 GB, free: 101.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01379/1.369, allocations: 5.982 MB / 0.6597 GB, free: 99.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008152/1.377, allocations: 2.437 MB / 0.662 GB, free: 98.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00817/1.385, allocations: 1.962 MB / 0.664 GB, free: 97.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009328/1.394, allocations: 11.04 MB / 0.6747 GB, free: 86.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008939/1.403, allocations: 0.5141 MB / 0.6752 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/1.405, allocations: 498.4 kB / 0.6757 GB, free: 85.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 757 * Number of states: 0 () * Number of discrete variables: 48 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (1015): * Single equations (assignments): 994 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001473/1.407, allocations: 0.5195 MB / 0.6762 GB, free: 84.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/1.408, allocations: 410.7 kB / 0.6766 GB, free: 84.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.42, allocations: 6.562 MB / 0.683 GB, free: 79.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01146/1.432, allocations: 5.866 MB / 0.6888 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-05/1.432, allocations: 4 kB / 0.6888 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.608e-05/1.432, allocations: 22.14 kB / 0.6888 GB, free: 74.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03147/1.463, allocations: 14.29 MB / 0.7027 GB, free: 63.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.463, allocations: 4 kB / 0.7027 GB, free: 63.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.466, allocations: 479.7 kB / 0.7032 GB, free: 63.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008232/1.474, allocations: 2.682 MB / 0.7058 GB, free: 60.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006281/1.475, allocations: 51.92 kB / 0.7059 GB, free: 60.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/1.487, allocations: 13.12 MB / 0.7187 GB, free: 46.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001878/1.488, allocations: 4.155 MB / 0.7227 GB, free: 42.06 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01699/1.506, allocations: 10.79 MB / 0.7333 GB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/1.507, allocations: 471.6 kB / 0.7337 GB, free: 30.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/1.509, allocations: 27.98 kB / 0.7337 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/1.512, allocations: 215.7 kB / 0.7339 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/1.513, allocations: 133.6 kB / 0.7341 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.513, allocations: 83.94 kB / 0.7341 GB, free: 30.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.003874/1.517, allocations: 2.463 MB / 0.7366 GB, free: 27.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008048/1.525, allocations: 1.439 MB / 0.738 GB, free: 26.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 200 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006753/1.526, allocations: 177 kB / 0.7381 GB, free: 26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01634/1.542, allocations: 9.033 MB / 0.7469 GB, free: 16.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/1.542, allocations: 0 / 0.7469 GB, free: 16.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1781/1.72, allocations: 4.542 MB / 0.7514 GB, free: 101.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/1.724, allocations: 406.3 kB / 0.7518 GB, free: 101.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/1.751, allocations: 12.24 MB / 0.7637 GB, free: 99.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006453/1.757, allocations: 4.418 MB / 0.768 GB, free: 98.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.164e-06/1.757, allocations: 0 / 0.768 GB, free: 98.27 MB / 362.7 MB Notification: Performance of Templates: time 0.1018/1.859, allocations: 56.44 MB / 0.8232 GB, free: 79.07 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1)