Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001642/0.001642, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001998/0.001998, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 51.92 kB / 348.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3659, allocations: 49.17 MB / 397.6 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.00896/0.3749, allocations: 7.493 MB / 405.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007171/0.382, allocations: 3.289 MB / 408.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.3836, allocations: 44.38 kB / 408.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.3861, allocations: 1.044 MB / 409.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.3903, allocations: 1.396 MB / 410.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.3916, allocations: 461 kB / 411.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.396, allocations: 2.643 MB / 414 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.398, allocations: 1.333 MB / 415.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.3997, allocations: 0.8655 MB / 416.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.4019, allocations: 1.338 MB / 417.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005248/0.4024, allocations: 170.7 kB / 417.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.4053, allocations: 1.061 MB / 418.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.4067, allocations: 1.131 MB / 419.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.4085, allocations: 1.307 MB / 421.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006913/0.4154, allocations: 4.377 MB / 425.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4154, allocations: 3.938 kB / 425.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4154, allocations: 0 / 425.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.686e-05/0.4155, allocations: 4 kB / 425.6 MB, free: 7.355 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.007572/0.4231, allocations: 3.056 MB / 428.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.4231, allocations: 11.98 kB / 428.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006394/0.4295, allocations: 1.758 MB / 430.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.433, allocations: 1.395 MB / 431.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.4332, allocations: 131.3 kB / 431.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006774/0.4339, allocations: 263.6 kB / 432.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.4454, allocations: 6.656 MB / 438.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/0.4455, allocations: 31.8 kB / 438.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.4458, allocations: 87.91 kB / 438.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/0.448, allocations: 1.363 MB / 440.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.46, allocations: 6.036 MB / 446.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03368/0.4936, allocations: 25.49 MB / 471.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006665/0.5003, allocations: 2.152 MB / 474 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.5017, allocations: 0.9925 MB / 475 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005808/0.5075, allocations: 2.98 MB / 478 MB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5075, allocations: 43 kB / 478 MB, free: 1.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.387e-06/0.5076, allocations: 0 / 478 MB, free: 1.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02694/0.5345, allocations: 10.12 MB / 488.1 MB, free: 7.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001864/0.5364, allocations: 1.583 MB / 489.7 MB, free: 5.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004554/0.5409, allocations: 2.742 MB / 492.4 MB, free: 2.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.5412, allocations: 45.69 kB / 492.5 MB, free: 2.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.5432, allocations: 2.171 MB / 494.7 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/0.544, allocations: 0.5234 MB / 495.2 MB, free: 48 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/0.5453, allocations: 0.929 MB / 496.1 MB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5454, allocations: 313 kB / 496.4 MB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.548, allocations: 1.656 MB / 498.1 MB, free: 13.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005504/0.5535, allocations: 4.448 MB / 0.4907 GB, free: 7.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008664/0.5622, allocations: 6.538 MB / 0.4971 GB, free: 15.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-05/0.5623, allocations: 28 kB / 0.4972 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02167/0.584, allocations: 8.003 MB / 0.505 GB, free: 7.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.832e-05/0.5841, allocations: 44 kB / 0.505 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01192/0.596, allocations: 3.48 MB / 0.5084 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/0.6081, allocations: 2.584 MB / 0.5109 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/0.6119, allocations: 1.014 MB / 0.5119 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/0.6286, allocations: 9.476 MB / 0.5212 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/0.6331, allocations: 331.7 kB / 0.5215 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/0.6342, allocations: 288 kB / 0.5218 GB, free: 5.832 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003461/0.6376, allocations: 1.426 MB / 0.5232 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007033/0.6383, allocations: 246.4 kB / 0.5234 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006957/0.6453, allocations: 2.82 MB / 0.5261 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005958/0.6512, allocations: 2.505 MB / 0.5286 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.6513, allocations: 4 kB / 0.5286 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.6513, allocations: 8.094 kB / 0.5286 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.6673, allocations: 6.779 MB / 0.5352 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.6673, allocations: 4 kB / 0.5352 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/0.6682, allocations: 171.7 kB / 0.5354 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004896/0.6731, allocations: 1.442 MB / 0.5368 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.6733, allocations: 23.98 kB / 0.5368 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.6848, allocations: 7.72 MB / 0.5444 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001281/0.6861, allocations: 1.43 MB / 0.5458 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009678/0.6958, allocations: 4.858 MB / 0.5505 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/0.6967, allocations: 226.2 kB / 0.5507 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/0.697, allocations: 28 kB / 0.5507 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.6981, allocations: 111.8 kB / 0.5509 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.6984, allocations: 88.36 kB / 0.5509 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.6985, allocations: 39.98 kB / 0.551 GB, free: 7.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002913/0.7014, allocations: 1.693 MB / 0.5526 GB, free: 5.637 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7014, allocations: 0 / 0.5526 GB, free: 5.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004336/0.7058, allocations: 0.7928 MB / 0.5534 GB, free: 4.844 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.7062, allocations: 162.9 kB / 0.5536 GB, free: 4.676 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008233/0.7145, allocations: 4.196 MB / 0.5577 GB, free: 484 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7145, allocations: 4.562 kB / 0.5577 GB, free: 480 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2523/0.9668, allocations: 1.581 MB / 0.5592 GB, free: 148.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.969, allocations: 264.9 kB / 0.5595 GB, free: 148.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.9819, allocations: 6.981 MB / 0.5663 GB, free: 146.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/0.9847, allocations: 2.292 MB / 0.5685 GB, free: 145.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/0.9855, allocations: 205.2 kB / 0.5687 GB, free: 145.5 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.9855, allocations: 0 / 0.5687 GB, free: 145.5 MB / 478.1 MB Notification: Performance of Templates: time 0.0825/1.068, allocations: 76.61 MB / 0.6435 GB, free: 79.63 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:51: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:99: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:148: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:197: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:248: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:296: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:345: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:394: error: use of undeclared identifier 'body_P_Q_start_' tmp86 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_system->_body_P_Q_(4) * body_P_Q_start_(3))) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:51: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:99: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:148: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:197: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:248: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:296: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:345: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:394: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:51: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + (_system->_body_P_Q_(3) * body_P_Q_start_(2))) - (_system->_body_P_Q_(2) * body_P_Q_start_(3))) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:99: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + (_system->_body_P_Q_(3) * body_P_Q_start_(2))) - (_system->_body_P_Q_(2) * body_P_Q_start_(3))) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:148: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + (_system->_body_P_Q_(3) * body_P_Q_start_(2))) - (_system->_body_P_Q_(2) * body_P_Q_start_(3))) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))), ((((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + (_system->_body_P_Q_(2) * body_P_Q_start_(2))) + (_system->_body_P_Q_(3) * body_P_Q_start_(3))) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.321544430917129] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 1.0777664589695632 1.085975032 0.668190116 Calling exit ...