Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001792/0.001792, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002383/0.002383, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.633/1.633, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 51.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1164, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.2424/0.3588, allocations: 7.447 MB / 434.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005825/0.3646, allocations: 3.266 MB / 438.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.3659, allocations: 40.78 kB / 438.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.3683, allocations: 1.056 MB / 439.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.3721, allocations: 1.361 MB / 440.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3733, allocations: 454.3 kB / 441.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00431/0.3776, allocations: 2.668 MB / 443.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.3796, allocations: 1.319 MB / 445.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.3811, allocations: 0.8538 MB / 445.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.383, allocations: 1.33 MB / 447.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000478/0.3835, allocations: 170.4 kB / 447.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.3858, allocations: 1.051 MB / 448.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.3872, allocations: 1.113 MB / 449.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.3885, allocations: 1.293 MB / 450.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006191/0.3947, allocations: 4.333 MB / 455.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3947, allocations: 0 / 455.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3947, allocations: 0 / 455.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001585/0.3948, allocations: 1.656 kB / 455.2 MB, free: 14.71 MB / 366.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.008426/0.4033, allocations: 3.107 MB / 458.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4033, allocations: 10.69 kB / 458.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007504/0.4108, allocations: 1.805 MB / 460.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.4144, allocations: 1.38 MB / 461.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.4145, allocations: 137.8 kB / 461.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008153/0.4153, allocations: 255 kB / 461.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.4285, allocations: 6.675 MB / 468.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.4286, allocations: 30.42 kB / 468.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/0.4289, allocations: 87.7 kB / 468.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002447/0.4313, allocations: 1.366 MB / 470.1 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.4442, allocations: 6.049 MB / 476.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.4805, allocations: 25.58 MB / 0.4899 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007837/0.4884, allocations: 2.606 MB / 0.4925 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.4901, allocations: 0.9889 MB / 0.4935 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007387/0.4975, allocations: 3.98 MB / 0.4973 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.4975, allocations: 47.06 kB / 0.4974 GB, free: 12.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.797e-06/0.4975, allocations: 0 / 0.4974 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.03156/0.5291, allocations: 10.45 MB / 0.5076 GB, free: 2.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001603/0.5307, allocations: 1.675 MB / 0.5092 GB, free: 424 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005542/0.5362, allocations: 2.73 MB / 0.5119 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.5366, allocations: 49.62 kB / 0.5119 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.5387, allocations: 2.167 MB / 0.5141 GB, free: 11.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009853/0.5397, allocations: 0.5273 MB / 0.5146 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00227/0.542, allocations: 0.925 MB / 0.5155 GB, free: 9.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5421, allocations: 305.1 kB / 0.5158 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/0.5454, allocations: 1.664 MB / 0.5174 GB, free: 7.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007068/0.5525, allocations: 4.456 MB / 0.5217 GB, free: 2.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009181/0.5616, allocations: 6.55 MB / 0.5281 GB, free: 10.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.967e-05/0.5617, allocations: 28 kB / 0.5282 GB, free: 10.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0234/0.5851, allocations: 8.069 MB / 0.536 GB, free: 2.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.5853, allocations: 48 kB / 0.5361 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01292/0.5982, allocations: 3.57 MB / 0.5396 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/0.6113, allocations: 2.672 MB / 0.5422 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/0.6153, allocations: 1.014 MB / 0.5432 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.6319, allocations: 9.723 MB / 0.5527 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/0.6362, allocations: 335.7 kB / 0.553 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.6373, allocations: 284 kB / 0.5533 GB, free: 132 kB / 462.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.003729/0.641, allocations: 1.419 MB / 0.5546 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/0.6418, allocations: 238.4 kB / 0.5549 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.6429, allocations: 329.8 kB / 0.5552 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00674/0.6497, allocations: 2.509 MB / 0.5576 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.6497, allocations: 8 kB / 0.5576 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/0.6497, allocations: 11.91 kB / 0.5577 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.6668, allocations: 6.858 MB / 0.5644 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-05/0.6669, allocations: 4.469 kB / 0.5644 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.6679, allocations: 179.7 kB / 0.5645 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005288/0.6732, allocations: 1.426 MB / 0.5659 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/0.6735, allocations: 27.98 kB / 0.5659 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.6854, allocations: 7.93 MB / 0.5737 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00135/0.6867, allocations: 1.542 MB / 0.5752 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.6973, allocations: 4.866 MB / 0.5799 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/0.6982, allocations: 307.3 kB / 0.5802 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007663/0.699, allocations: 27.98 kB / 0.5803 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.7008, allocations: 111.8 kB / 0.5804 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/0.7012, allocations: 80.38 kB / 0.5805 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/0.7013, allocations: 40.22 kB / 0.5805 GB, free: 3.629 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004057/0.7054, allocations: 1.681 MB / 0.5821 GB, free: 1.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7054, allocations: 4 kB / 0.5821 GB, free: 1.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005799/0.7112, allocations: 0.7773 MB / 0.5829 GB, free: 1.156 MB / 494.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.0007348/0.7119, allocations: 170.1 kB / 0.5831 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009704/0.7216, allocations: 4.269 MB / 0.5872 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7216, allocations: 0 / 0.5872 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003988/0.7256, allocations: 1.654 MB / 0.5888 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/0.7286, allocations: 270.6 kB / 0.5891 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.7443, allocations: 6.921 MB / 0.5959 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/0.748, allocations: 2.301 MB / 0.5981 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/0.7488, allocations: 203.4 kB / 0.5983 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of SimCode: time 2.224e-06/0.7488, allocations: 0 / 0.5983 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of Templates: time 0.4048/1.154, allocations: 76.3 MB / 0.6728 GB, free: 128.6 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:49: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:99: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:147: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:196: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:246: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:295: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:344: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:392: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:49: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:99: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:147: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:196: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:246: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:295: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:344: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:392: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:49: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = 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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:98: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = 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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:150: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = 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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.082461290003266] 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.1634131419996265 1.171217897 0.7743641609999999 Calling exit ...