Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007264/0.007264, allocations: 103 kB / 21.98 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 222.6 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 259 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.|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.|springDamperSeries.s_damper",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.|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.|springDamperSeries.s_damper",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 64.77 kB / 379.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2539, allocations: 53.36 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01781/0.2717, allocations: 15.2 MB / 448.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.283, allocations: 4.799 MB / 453.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.2859, allocations: 103.5 kB / 453.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007633/0.2935, allocations: 3.515 MB / 456.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007537/0.3011, allocations: 2.416 MB / 459.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.3037, allocations: 0.9983 MB / 460.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009936/0.3136, allocations: 6.22 MB / 466.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00679/0.3204, allocations: 3.705 MB / 470.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004883/0.3253, allocations: 2.184 MB / 472.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005937/0.3312, allocations: 3.228 MB / 475.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001937/0.3331, allocations: 444 kB / 476 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/0.3375, allocations: 1.385 MB / 477.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004832/0.3423, allocations: 2.766 MB / 480.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006712/0.349, allocations: 3.095 MB / 483.2 MB, free: 4.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.3644, allocations: 9.348 MB / 492.6 MB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3644, allocations: 4 kB / 492.6 MB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3644, allocations: 0 / 492.6 MB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003724/0.3647, allocations: 0 / 492.6 MB, free: 11.29 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.0177/0.3824, allocations: 6.939 MB / 499.5 MB, free: 4.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3825, allocations: 8.031 kB / 499.5 MB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.3938, allocations: 2.824 MB / 0.4906 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/0.4023, allocations: 3.108 MB / 0.4936 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/0.4027, allocations: 356.8 kB / 0.494 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002691/0.4054, allocations: 0.675 MB / 0.4946 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03876/0.4441, allocations: 17.47 MB / 0.5117 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.4443, allocations: 59.52 kB / 0.5117 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007191/0.445, allocations: 215.8 kB / 0.5119 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004487/0.4495, allocations: 2.847 MB / 0.5147 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/0.4847, allocations: 15.34 MB / 0.5297 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3071/0.7918, allocations: 58.57 MB / 0.5869 GB, free: 54.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/0.8077, allocations: 6.114 MB / 0.5929 GB, free: 49.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003925/0.8116, allocations: 3.133 MB / 0.5959 GB, free: 46.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01879/0.8304, allocations: 12.68 MB / 0.6083 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.8304, allocations: 64.5 kB / 0.6084 GB, free: 33.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 5.319e-06/0.8304, allocations: 0 / 0.6084 GB, free: 33.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=321): time 0.06626/0.8967, allocations: 25.99 MB / 0.6338 GB, free: 8.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002275/0.899, allocations: 4.548 MB / 0.6382 GB, free: 3.102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006854/0.9058, allocations: 5.101 MB / 0.6432 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008257/0.9066, allocations: 75.73 kB / 0.6432 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003998/0.9106, allocations: 4.343 MB / 0.6475 GB, free: 9.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002164/0.9128, allocations: 1.298 MB / 0.6488 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003347/0.9161, allocations: 1.79 MB / 0.6505 GB, free: 6.766 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9163, allocations: 301.1 kB / 0.6508 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007195/0.9235, allocations: 3.687 MB / 0.6544 GB, free: 2.773 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01362/0.9371, allocations: 8.663 MB / 0.6629 GB, free: 7.664 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02042/0.9575, allocations: 13.07 MB / 0.6756 GB, free: 8.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001641/0.9577, allocations: 55.98 kB / 0.6757 GB, free: 8.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.05182/1.01, allocations: 17.31 MB / 0.6926 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.01, allocations: 83.94 kB / 0.6927 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03404/1.044, allocations: 9.947 MB / 0.7024 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02998/1.074, allocations: 6.429 MB / 0.7087 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007736/1.081, allocations: 2.07 MB / 0.7107 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02988/1.111, allocations: 18.78 MB / 0.729 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008067/1.119, allocations: 0.7215 MB / 0.7297 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.121, allocations: 0.5273 MB / 0.7302 GB, free: 15.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (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],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[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],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1106): * Single equations (assignments): 1085 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005908/1.127, allocations: 2.738 MB / 0.7329 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.128, allocations: 0.4967 MB / 0.7334 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/1.145, allocations: 7.408 MB / 0.7406 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2471/1.392, allocations: 6.62 MB / 0.7471 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-05/1.392, allocations: 6.375 kB / 0.7471 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-05/1.392, allocations: 15.39 kB / 0.7471 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0291/1.421, allocations: 16.95 MB / 0.7637 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/1.421, allocations: 7.438 kB / 0.7637 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/1.424, allocations: 0.5983 MB / 0.7643 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007703/1.432, allocations: 2.907 MB / 0.7671 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005528/1.432, allocations: 100 kB / 0.7672 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.444, allocations: 14.05 MB / 0.7809 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002102/1.446, allocations: 4.399 MB / 0.7852 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.463, allocations: 11.45 MB / 0.7964 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.465, allocations: 487.8 kB / 0.7968 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/1.466, allocations: 79.97 kB / 0.7969 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/1.469, allocations: 335.4 kB / 0.7972 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007016/1.47, allocations: 257.2 kB / 0.7975 GB, free: 156.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/1.47, allocations: 103.9 kB / 0.7976 GB, free: 156.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004526/1.475, allocations: 3.131 MB / 0.8006 GB, free: 153.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.475, allocations: 0 / 0.8006 GB, free: 153.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008465/1.483, allocations: 1.773 MB / 0.8024 GB, free: 151.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007912/1.484, allocations: 240 kB / 0.8026 GB, free: 151.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01711/1.501, allocations: 9.945 MB / 0.8123 GB, free: 141.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.501, allocations: 4 kB / 0.8123 GB, free: 141.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009041/1.51, allocations: 4.551 MB / 0.8168 GB, free: 136.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/1.515, allocations: 0.6579 MB / 0.8174 GB, free: 136 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/1.539, allocations: 16.41 MB / 0.8334 GB, free: 119.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/1.543, allocations: 4.277 MB / 0.8376 GB, free: 115.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/1.544, allocations: 431.3 kB / 0.838 GB, free: 114.7 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.544, allocations: 0.5469 kB / 0.838 GB, free: 114.7 MB / 0.545 GB Notification: Performance of Templates: time 0.7379/2.282, allocations: 382.3 MB / 1.211 GB, free: 157.4 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgLoopMain.cpp:48: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp220 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp221 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp222 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp222 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp222 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.494796527782455] Failed to read output from testmodel.py, exit status != 0: ['time', '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]', '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]', 'springDamperSeries.s_damper'] 2.291837794939056 2.301078242 1.933749693 Calling exit ...