Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 117.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.383/1.383, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2777, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01008/0.2877, allocations: 7.483 MB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.2945, allocations: 3.289 MB / 442.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.2957, allocations: 35.88 kB / 442.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.2978, allocations: 1.039 MB / 443.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.3015, allocations: 1.378 MB / 445.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3028, allocations: 455.1 kB / 445.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003951/0.3067, allocations: 2.671 MB / 448.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.3083, allocations: 1.181 MB / 449.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.3095, allocations: 0.8369 MB / 450.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.3113, allocations: 1.332 MB / 451.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.3117, allocations: 168 kB / 451.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.3138, allocations: 1.053 MB / 452.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.315, allocations: 1.118 MB / 454.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.3164, allocations: 1.289 MB / 455.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.3217, allocations: 4.334 MB / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3218, allocations: 0 / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3218, allocations: 0 / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.004e-05/0.3218, allocations: 4 kB / 459.7 MB, free: 11.6 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.006361/0.3282, allocations: 3.108 MB / 462.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3282, allocations: 8.031 kB / 462.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006892/0.3351, allocations: 1.801 MB / 464.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/0.3391, allocations: 1.379 MB / 466 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.3393, allocations: 143.3 kB / 466.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008484/0.3401, allocations: 255.7 kB / 466.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.3518, allocations: 6.668 MB / 473 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.617e-05/0.3519, allocations: 31.75 kB / 473.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.3522, allocations: 87.89 kB / 473.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002287/0.3545, allocations: 1.363 MB / 474.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.3664, allocations: 6.048 MB / 480.6 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03439/0.4008, allocations: 25.58 MB / 0.4943 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007386/0.4081, allocations: 2.608 MB / 0.4968 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.4097, allocations: 0.9931 MB / 0.4978 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006816/0.4165, allocations: 3.98 MB / 0.5017 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.4165, allocations: 47.12 kB / 0.5017 GB, free: 3.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.217e-06/0.4165, allocations: 0 / 0.5017 GB, free: 3.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02831/0.4448, allocations: 10.44 MB / 0.5119 GB, free: 9.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00159/0.4464, allocations: 1.667 MB / 0.5136 GB, free: 7.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.4504, allocations: 2.733 MB / 0.5162 GB, free: 4.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002774/0.4507, allocations: 41.7 kB / 0.5163 GB, free: 4.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.4526, allocations: 2.167 MB / 0.5184 GB, free: 2.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000691/0.4533, allocations: 0.5273 MB / 0.5189 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.4545, allocations: 0.9251 MB / 0.5198 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4546, allocations: 305.1 kB / 0.5201 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.4573, allocations: 1.66 MB / 0.5217 GB, free: 14.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005017/0.4623, allocations: 4.464 MB / 0.5261 GB, free: 8.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/0.4706, allocations: 6.554 MB / 0.5325 GB, free: 1.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.281e-05/0.4707, allocations: 32 kB / 0.5325 GB, free: 1.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02069/0.4914, allocations: 8.065 MB / 0.5404 GB, free: 8.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.4915, allocations: 52.03 kB / 0.5404 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01187/0.5034, allocations: 3.554 MB / 0.5439 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/0.5155, allocations: 2.678 MB / 0.5465 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.5188, allocations: 1.014 MB / 0.5475 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2149/0.7337, allocations: 9.719 MB / 0.557 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/0.7377, allocations: 332.3 kB / 0.5573 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008784/0.7386, allocations: 282.5 kB / 0.5576 GB, free: 107.1 MB / 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.002044/0.7406, allocations: 1.422 MB / 0.559 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.741, allocations: 245.4 kB / 0.5592 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.7415, allocations: 329.9 kB / 0.5595 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005184/0.7467, allocations: 2.508 MB / 0.562 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.7467, allocations: 3.875 kB / 0.562 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.7467, allocations: 7.594 kB / 0.562 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.7578, allocations: 6.856 MB / 0.5687 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.7578, allocations: 0 / 0.5687 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/0.7586, allocations: 180.5 kB / 0.5689 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004185/0.7628, allocations: 1.437 MB / 0.5703 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.7629, allocations: 36.22 kB / 0.5703 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007941/0.7709, allocations: 7.931 MB / 0.578 GB, free: 96.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006788/0.7716, allocations: 1.534 MB / 0.5795 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007131/0.7787, allocations: 4.867 MB / 0.5843 GB, free: 89.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.7793, allocations: 308.9 kB / 0.5846 GB, free: 89.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.7795, allocations: 23.94 kB / 0.5846 GB, free: 89.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7806, allocations: 115.3 kB / 0.5847 GB, free: 89.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.7808, allocations: 80.38 kB / 0.5848 GB, free: 89.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.7809, allocations: 40.45 kB / 0.5848 GB, free: 89.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.7827, allocations: 1.692 MB / 0.5865 GB, free: 87.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7827, allocations: 0 / 0.5865 GB, free: 87.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003049/0.7857, allocations: 0.7754 MB / 0.5872 GB, free: 86.94 MB / 462.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.0003344/0.786, allocations: 158.6 kB / 0.5874 GB, free: 86.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005794/0.7918, allocations: 4.278 MB / 0.5916 GB, free: 82.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.7918, allocations: 4 kB / 0.5916 GB, free: 82.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.7944, allocations: 1.651 MB / 0.5932 GB, free: 80.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.796, allocations: 271.1 kB / 0.5934 GB, free: 80.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/0.8039, allocations: 6.98 MB / 0.6003 GB, free: 73.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.8055, allocations: 2.286 MB / 0.6025 GB, free: 71.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.806, allocations: 207.4 kB / 0.6027 GB, free: 71.04 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.806, allocations: 4 kB / 0.6027 GB, free: 71.04 MB / 462.1 MB Notification: Performance of Templates: time 0.06636/0.8724, allocations: 76.29 MB / 0.6772 GB, free: 10.77 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_4.1.0-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.407271906733513] 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]'] 0.8821945339441299 0.896357493 0.5715294289999999 Calling exit ...