Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 189.3 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.7 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 43.92 kB / 371.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2521, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.02207/0.2741, allocations: 18.61 MB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.2873, allocations: 5.638 MB / 448.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.2911, allocations: 167.1 kB / 448.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.3036, allocations: 5.533 MB / 453.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.3132, allocations: 3.424 MB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.3171, allocations: 1.619 MB / 458.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0163/0.3334, allocations: 10.15 MB / 469 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.3434, allocations: 5.275 MB / 474.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007338/0.3507, allocations: 3.474 MB / 477.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00877/0.3595, allocations: 4.93 MB / 482.7 MB, free: 3.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002836/0.3623, allocations: 0.6757 MB / 483.4 MB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/0.3673, allocations: 1.584 MB / 485 MB, free: 1.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00709/0.3743, allocations: 4.359 MB / 489.3 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009944/0.3843, allocations: 4.572 MB / 493.9 MB, free: 8.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02255/0.4068, allocations: 14.96 MB / 0.4969 GB, free: 9.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4068, allocations: 0 / 0.4969 GB, free: 9.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4068, allocations: 0 / 0.4969 GB, free: 9.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005895/0.4074, allocations: 0 / 0.4969 GB, free: 9.355 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2889 * Number of variables: 2889 Notification: Performance of Generate backend data structure: time 0.02755/0.435, allocations: 9.886 MB / 0.5066 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.435, allocations: 12.03 kB / 0.5066 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.4525, allocations: 3.412 MB / 0.5099 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01721/0.4697, allocations: 6.302 MB / 0.5161 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005908/0.4703, allocations: 451.6 kB / 0.5165 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003544/0.4738, allocations: 0.7881 MB / 0.5173 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4831/0.9569, allocations: 22.94 MB / 0.5397 GB, free: 92.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004956/0.9574, allocations: 121.2 kB / 0.5398 GB, free: 92.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001507/0.9589, allocations: 287.3 kB / 0.5401 GB, free: 92.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005794/0.9647, allocations: 3.929 MB / 0.5439 GB, free: 91.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04395/1.009, allocations: 22.27 MB / 0.5657 GB, free: 78.68 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09782/1.106, allocations: 93.79 MB / 0.6573 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05863/1.165, allocations: 13.46 MB / 0.6704 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01128/1.176, allocations: 7.516 MB / 0.6777 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/1.177, allocations: 157.6 kB / 0.6779 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.574e-05/1.177, allocations: 68.5 kB / 0.678 GB, free: 10.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=275): time 7.013e-06/1.177, allocations: 0 / 0.678 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=375): time 0.5705/1.748, allocations: 93.83 MB / 0.7696 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001741/1.749, allocations: 3.082 MB / 0.7726 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00817/1.758, allocations: 7.172 MB / 0.7796 GB, free: 161 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009057/1.758, allocations: 83.58 kB / 0.7797 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003128/1.762, allocations: 6.193 MB / 0.7857 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.763, allocations: 1.529 MB / 0.7872 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002585/1.766, allocations: 2.341 MB / 0.7895 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.97e-05/1.766, allocations: 301.6 kB / 0.7898 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006135/1.772, allocations: 5.945 MB / 0.7956 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008506/1.78, allocations: 12.52 MB / 0.8078 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/1.798, allocations: 19.67 MB / 0.827 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001727/1.798, allocations: 71.94 kB / 0.8271 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1487) (initialization): time 0.05735/1.855, allocations: 27.2 MB / 0.8537 GB, free: 79.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.856, allocations: 104 kB / 0.8538 GB, free: 79.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01497/1.87, allocations: 7.062 MB / 0.8607 GB, free: 72.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03185/1.902, allocations: 9.713 MB / 0.8701 GB, free: 62.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00705/1.909, allocations: 2.507 MB / 0.8726 GB, free: 60.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05015/1.96, allocations: 43.53 MB / 0.9151 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/1.971, allocations: 0.9009 MB / 0.916 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/1.973, allocations: 0.6757 MB / 0.9166 GB, free: 14.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1053 * Number of states: 0 () * Number of discrete variables: 89 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1350): * Single equations (assignments): 1336 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {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 {(6,36,100.0%), (3,2,100.0%), (6,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.007674/1.981, allocations: 4.034 MB / 0.9206 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/1.983, allocations: 0.7023 MB / 0.9213 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/1.985, allocations: 1.066 MB / 0.9223 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2588/2.244, allocations: 16.05 MB / 0.938 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.471e-05/2.244, allocations: 19.66 kB / 0.938 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.459e-05/2.244, allocations: 26.44 kB / 0.938 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06275/2.307, allocations: 33.72 MB / 0.971 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/2.307, allocations: 3.25 kB / 0.971 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/2.31, allocations: 0.5395 MB / 0.9715 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02442/2.334, allocations: 8.065 MB / 0.9794 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007616/2.335, allocations: 110.7 kB / 0.9795 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04035/2.375, allocations: 37.4 MB / 1.016 GB, free: 121.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001508/2.377, allocations: 2.913 MB / 1.019 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04325/2.42, allocations: 23.83 MB / 1.042 GB, free: 95.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/2.422, allocations: 0.6329 MB / 1.043 GB, free: 95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/2.423, allocations: 75.98 kB / 1.043 GB, free: 94.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004242/2.428, allocations: 435.3 kB / 1.043 GB, free: 94.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/2.429, allocations: 289.9 kB / 1.043 GB, free: 94.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003217/2.429, allocations: 131.9 kB / 1.044 GB, free: 94.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006619/2.436, allocations: 4.425 MB / 1.048 GB, free: 89.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/2.436, allocations: 0 / 1.048 GB, free: 89.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01002/2.446, allocations: 2.47 MB / 1.05 GB, free: 87.24 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (257): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,36,100.0%), (6,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008109/2.446, allocations: 225.7 kB / 1.051 GB, free: 87.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01695/2.463, allocations: 14.24 MB / 1.064 GB, free: 72.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/2.463, allocations: 4 kB / 1.064 GB, free: 72.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00678/2.47, allocations: 5.832 MB / 1.07 GB, free: 66.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/2.475, allocations: 0.9762 MB / 1.071 GB, free: 65.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03319/2.508, allocations: 23.24 MB / 1.094 GB, free: 42.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006115/2.515, allocations: 6.014 MB / 1.1 GB, free: 36.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/2.516, allocations: 0.5188 MB / 1.1 GB, free: 36.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/2.516, allocations: 0 / 1.1 GB, free: 36.16 MB / 0.545 GB Notification: Performance of Templates: time 0.8569/3.373, allocations: 366 MB / 1.458 GB, free: 129.1 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2AlgLoopMain.cpp:30: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:76: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:172: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:269: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:366: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:465: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:561: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:658: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:755: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp325 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:76: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:172: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:269: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:366: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:465: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:561: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:658: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:755: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp326 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1))) + (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:78:76: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp327 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(2))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:78:172: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp327 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(2))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:78:269: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp327 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(2))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(4))), ((((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3))) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.571418144041672] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.r_rel_a[2]', 'freeMotion.r_rel_a[3]', 'freeMotion.v_rel_a[1]', 'freeMotion.v_rel_a[2]', 'freeMotion.v_rel_a[3]', 'referenceSystem.pointMass1.w_a[1]', 'referenceSystem.pointMass1.w_a[2]', 'referenceSystem.pointMass1.w_a[3]', 'referenceSystem.pointMass3.v_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[2]', 'referenceSystem.pointMass6.frame_a.r_0[3]', 'referenceSystem.pointMass6.v_0[2]', 'referenceSystem.pointMass6.v_0[3]'] 3.383165917824954 3.398416476 2.988026581 Calling exit ...