Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 99.66 kB / 21.18 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 213.2 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.812 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 55.91 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2434, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01638/0.2598, allocations: 13.13 MB / 445.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.2699, allocations: 4.546 MB / 450 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.2717, allocations: 111.4 kB / 450.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006707/0.2785, allocations: 3.375 MB / 453.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.2846, allocations: 2.424 MB / 455.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.2868, allocations: 1.01 MB / 456.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008298/0.2951, allocations: 6.189 MB / 463.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005531/0.3007, allocations: 3.686 MB / 466.8 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.3044, allocations: 2.196 MB / 469 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.3088, allocations: 3.037 MB / 472.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.3099, allocations: 444 kB / 472.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.3125, allocations: 1.256 MB / 473.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00356/0.3161, allocations: 2.769 MB / 476.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003522/0.3196, allocations: 2.314 MB / 478.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.331, allocations: 9.399 MB / 488.2 MB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.331, allocations: 11.98 kB / 488.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.331, allocations: 0 / 488.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002698/0.3313, allocations: 0 / 488.2 MB, free: 14.59 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.01501/0.3463, allocations: 6.932 MB / 495.2 MB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3463, allocations: 8.031 kB / 495.2 MB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.3577, allocations: 2.82 MB / 498 MB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007509/0.3652, allocations: 3.136 MB / 0.4894 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.3656, allocations: 360.8 kB / 0.4897 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.3676, allocations: 0.6789 MB / 0.4904 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/0.4069, allocations: 17.6 MB / 0.5076 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000271/0.4072, allocations: 55.52 kB / 0.5076 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/0.409, allocations: 219.8 kB / 0.5078 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005043/0.4141, allocations: 2.843 MB / 0.5106 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03859/0.4527, allocations: 15.28 MB / 0.5255 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2829/0.7356, allocations: 55.05 MB / 0.5793 GB, free: 58.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.7513, allocations: 6.104 MB / 0.5853 GB, free: 55.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/0.7549, allocations: 3.118 MB / 0.5883 GB, free: 52.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/0.7711, allocations: 11.96 MB / 0.6 GB, free: 40.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.7711, allocations: 64.56 kB / 0.6001 GB, free: 40.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 5.55e-06/0.7712, allocations: 0 / 0.6001 GB, free: 40.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=321): time 0.06204/0.8332, allocations: 26.01 MB / 0.6255 GB, free: 14.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002237/0.8354, allocations: 4.487 MB / 0.6298 GB, free: 9.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/0.8404, allocations: 4.831 MB / 0.6346 GB, free: 5.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006592/0.8411, allocations: 73.7 kB / 0.6346 GB, free: 5.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/0.8427, allocations: 4.352 MB / 0.6389 GB, free: 1.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/0.8441, allocations: 1.3 MB / 0.6401 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002703/0.8468, allocations: 1.795 MB / 0.6419 GB, free: 13.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8469, allocations: 305.1 kB / 0.6422 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006559/0.8535, allocations: 3.683 MB / 0.6458 GB, free: 9.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/0.8651, allocations: 8.659 MB / 0.6542 GB, free: 14.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01933/0.8844, allocations: 13.09 MB / 0.667 GB, free: 15.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001758/0.8846, allocations: 48 kB / 0.6671 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.05148/0.9361, allocations: 17.26 MB / 0.6839 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002951/0.9364, allocations: 87.92 kB / 0.684 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03526/0.9717, allocations: 9.942 MB / 0.6937 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03214/1.004, allocations: 6.433 MB / 0.7 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007579/1.011, allocations: 2.066 MB / 0.702 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03088/1.042, allocations: 18.43 MB / 0.72 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008002/1.05, allocations: 0.7178 MB / 0.7207 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/1.052, allocations: 0.5195 MB / 0.7212 GB, free: 6.941 MB / 0.5294 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.006588/1.059, allocations: 2.752 MB / 0.7239 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.06, allocations: 464.9 kB / 0.7244 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/1.079, allocations: 7.364 MB / 0.7315 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01671/1.096, allocations: 6.623 MB / 0.738 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.199e-05/1.096, allocations: 8 kB / 0.738 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-05/1.096, allocations: 15.94 kB / 0.738 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2702/1.366, allocations: 15.38 MB / 0.7531 GB, free: 186 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.366, allocations: 7 kB / 0.7531 GB, free: 186 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.368, allocations: 0.6031 MB / 0.7537 GB, free: 186 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007947/1.376, allocations: 2.898 MB / 0.7565 GB, free: 185.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004662/1.377, allocations: 98.7 kB / 0.7566 GB, free: 185.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.389, allocations: 13.87 MB / 0.7701 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002087/1.391, allocations: 4.332 MB / 0.7744 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/1.408, allocations: 11.39 MB / 0.7855 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.409, allocations: 431.7 kB / 0.7859 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008656/1.41, allocations: 79.97 kB / 0.786 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.413, allocations: 339.3 kB / 0.7863 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/1.414, allocations: 253.2 kB / 0.7865 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002398/1.414, allocations: 103.8 kB / 0.7866 GB, free: 165.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003749/1.418, allocations: 2.746 MB / 0.7893 GB, free: 162.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.418, allocations: 0 / 0.7893 GB, free: 162.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00716/1.425, allocations: 1.76 MB / 0.791 GB, free: 160.7 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.0005939/1.425, allocations: 241 kB / 0.7913 GB, free: 160.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01629/1.442, allocations: 9.954 MB / 0.801 GB, free: 150.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.442, allocations: 0 / 0.801 GB, free: 150.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00917/1.451, allocations: 4.557 MB / 0.8054 GB, free: 146 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/1.455, allocations: 0.5572 MB / 0.806 GB, free: 145.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.476, allocations: 16.36 MB / 0.8219 GB, free: 129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/1.48, allocations: 3.77 MB / 0.8256 GB, free: 125.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.481, allocations: 419.3 kB / 0.826 GB, free: 124.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.481, allocations: 0 / 0.826 GB, free: 124.7 MB / 0.545 GB Notification: Performance of Templates: time 0.722/2.203, allocations: 382 MB / 1.199 GB, free: 169.1 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_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 -DOMC_BUILD -DUSE_THREAD -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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgLoopMain.cpp:48: ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp178 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp179 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp180 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp180 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesAlgloop858.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp180 = 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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLossesCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.384912082925439] 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.212215316016227 2.220999746 1.887629146 Calling exit ...