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.001545/0.001545, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001695/0.001695, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.001534/0.001534, allocations: 51.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2637, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009391/0.2731, allocations: 7.479 MB / 439.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.2793, allocations: 3.297 MB / 443.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007409/0.28, allocations: 39.81 kB / 443.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.2822, allocations: 1.047 MB / 444.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.2852, allocations: 1.374 MB / 445.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009732/0.2862, allocations: 459.1 kB / 446.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.2896, allocations: 2.667 MB / 448.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.2914, allocations: 1.32 MB / 450.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.2926, allocations: 0.8564 MB / 450.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.2945, allocations: 1.332 MB / 452.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.2948, allocations: 172 kB / 452.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.2967, allocations: 1.053 MB / 453.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.2978, allocations: 1.114 MB / 454.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.2992, allocations: 1.293 MB / 455.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.3047, allocations: 4.339 MB / 460.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3047, allocations: 0 / 460.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3047, allocations: 0 / 460.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.536e-05/0.3047, allocations: 0 / 460.2 MB, free: 10.98 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.005789/0.3105, allocations: 3.033 MB / 463.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3106, allocations: 8.031 kB / 463.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006725/0.3173, allocations: 1.801 MB / 465.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.3202, allocations: 1.325 MB / 466.4 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3203, allocations: 131.3 kB / 466.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007153/0.3211, allocations: 255.7 kB / 466.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.3324, allocations: 6.679 MB / 473.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.549e-05/0.3325, allocations: 27.77 kB / 473.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.3327, allocations: 87.89 kB / 473.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002251/0.335, allocations: 1.359 MB / 474.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.3467, allocations: 6.052 MB / 481 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03256/0.3793, allocations: 25.49 MB / 0.4946 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006855/0.3861, allocations: 2.158 MB / 0.4967 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.3876, allocations: 0.9848 MB / 0.4977 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006069/0.3937, allocations: 3 MB / 0.5006 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3937, allocations: 43 kB / 0.5006 GB, free: 5.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 2.785e-06/0.3938, allocations: 0 / 0.5006 GB, free: 5.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02684/0.4206, allocations: 10.14 MB / 0.5105 GB, free: 10.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001453/0.422, allocations: 1.568 MB / 0.5121 GB, free: 9.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/0.4258, allocations: 2.726 MB / 0.5147 GB, free: 6.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.426, allocations: 41.7 kB / 0.5148 GB, free: 6.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.4277, allocations: 2.159 MB / 0.5169 GB, free: 4.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005688/0.4282, allocations: 0.5312 MB / 0.5174 GB, free: 3.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.4295, allocations: 0.929 MB / 0.5183 GB, free: 2.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4296, allocations: 305.1 kB / 0.5186 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.4322, allocations: 1.66 MB / 0.5202 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/0.4372, allocations: 4.46 MB / 0.5246 GB, free: 10.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008432/0.4456, allocations: 6.558 MB / 0.531 GB, free: 2.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-05/0.4457, allocations: 28 kB / 0.531 GB, free: 2.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02026/0.466, allocations: 8.07 MB / 0.5389 GB, free: 10.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/0.466, allocations: 48 kB / 0.5389 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01173/0.4778, allocations: 3.558 MB / 0.5424 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.4897, allocations: 2.67 MB / 0.545 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/0.493, allocations: 1.01 MB / 0.546 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2056/0.6986, allocations: 9.524 MB / 0.5553 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/0.702, allocations: 334.5 kB / 0.5556 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005263/0.7025, allocations: 283.4 kB / 0.5559 GB, free: 107.5 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.001839/0.7044, allocations: 1.421 MB / 0.5573 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/0.7048, allocations: 241.7 kB / 0.5575 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.7053, allocations: 329.8 kB / 0.5578 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005068/0.7104, allocations: 2.5 MB / 0.5603 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.7104, allocations: 4.562 kB / 0.5603 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.7104, allocations: 17.33 kB / 0.5603 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.721, allocations: 6.778 MB / 0.5669 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.721, allocations: 0 / 0.5669 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.7218, allocations: 182.2 kB / 0.5671 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004109/0.7259, allocations: 1.437 MB / 0.5685 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.7261, allocations: 30.38 kB / 0.5685 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007739/0.7338, allocations: 7.716 MB / 0.576 GB, free: 98.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000666/0.7345, allocations: 1.45 MB / 0.5775 GB, free: 96.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/0.7417, allocations: 4.859 MB / 0.5822 GB, free: 91.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.7423, allocations: 229.5 kB / 0.5824 GB, free: 91.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.7425, allocations: 31.98 kB / 0.5825 GB, free: 91.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7436, allocations: 111.8 kB / 0.5826 GB, free: 91.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.7438, allocations: 84.14 kB / 0.5826 GB, free: 91.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/0.7439, allocations: 37.02 kB / 0.5827 GB, free: 91.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001834/0.7457, allocations: 1.685 MB / 0.5843 GB, free: 89.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7457, allocations: 3.188 kB / 0.5843 GB, free: 89.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00306/0.7488, allocations: 0.7737 MB / 0.5851 GB, free: 88.99 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.0003156/0.7491, allocations: 159.9 kB / 0.5852 GB, free: 88.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005792/0.7549, allocations: 4.207 MB / 0.5893 GB, free: 84.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7549, allocations: 0 / 0.5893 GB, free: 84.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.7574, allocations: 1.587 MB / 0.5909 GB, free: 83.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.759, allocations: 263.6 kB / 0.5911 GB, free: 82.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008128/0.7672, allocations: 6.973 MB / 0.5979 GB, free: 75.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.7687, allocations: 2.288 MB / 0.6002 GB, free: 73.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/0.7692, allocations: 207.4 kB / 0.6004 GB, free: 73.28 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7692, allocations: 0 / 0.6004 GB, free: 73.28 MB / 462.1 MB Notification: Performance of Templates: time 0.06372/0.833, allocations: 76.29 MB / 0.6749 GB, free: 13 MB / 478.1 MB " [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: 4.376448208000511] 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.8419533739797771 0.856083948 0.5482554119999999 Calling exit ...