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.001586/0.001586, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001768/0.001768, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001587/0.001587, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.249, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008792/0.2578, allocations: 6.588 MB / 438.9 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006819/0.2646, allocations: 3.075 MB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.2656, allocations: 39.81 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2679, allocations: 1.004 MB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.2714, allocations: 1.382 MB / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.2726, allocations: 463.1 kB / 444.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00408/0.2766, allocations: 2.668 MB / 447.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.2785, allocations: 1.323 MB / 448.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.2798, allocations: 0.8525 MB / 449.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.2818, allocations: 1.332 MB / 451 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.2821, allocations: 172 kB / 451.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.284, allocations: 0.9243 MB / 452.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.2853, allocations: 1.126 MB / 453.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.2865, allocations: 0.9314 MB / 454.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005308/0.2918, allocations: 4.349 MB / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2919, allocations: 0 / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2919, allocations: 0 / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.365e-05/0.2919, allocations: 0 / 458.5 MB, free: 12.39 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.006599/0.2985, allocations: 3.025 MB / 461.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.2986, allocations: 12.03 kB / 461.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/0.3056, allocations: 1.809 MB / 463.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.3093, allocations: 1.325 MB / 464.7 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.3094, allocations: 135.3 kB / 464.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007552/0.3102, allocations: 259.7 kB / 465.1 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.3224, allocations: 6.697 MB / 471.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.9e-05/0.3225, allocations: 27.77 kB / 471.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.3228, allocations: 87.89 kB / 471.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/0.3252, allocations: 1.367 MB / 473.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.3373, allocations: 6.029 MB / 479.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03224/0.3695, allocations: 24.05 MB / 0.4916 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007228/0.3767, allocations: 2.149 MB / 0.4937 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.3782, allocations: 0.989 MB / 0.4946 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006385/0.3846, allocations: 2.737 MB / 0.4973 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.3847, allocations: 39.06 kB / 0.4973 GB, free: 8.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.178e-06/0.3847, allocations: 4 kB / 0.4973 GB, free: 8.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02795/0.4126, allocations: 10.12 MB / 0.5072 GB, free: 14.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001495/0.4141, allocations: 1.553 MB / 0.5087 GB, free: 12.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.4179, allocations: 2.605 MB / 0.5113 GB, free: 9.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.4182, allocations: 49.61 kB / 0.5113 GB, free: 9.672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.4198, allocations: 2.182 MB / 0.5135 GB, free: 7.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.4204, allocations: 0.5273 MB / 0.514 GB, free: 6.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.4217, allocations: 0.9251 MB / 0.5149 GB, free: 5.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4219, allocations: 349.9 kB / 0.5152 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.4244, allocations: 1.664 MB / 0.5168 GB, free: 3.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/0.4294, allocations: 4.456 MB / 0.5212 GB, free: 14.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008435/0.4378, allocations: 6.56 MB / 0.5276 GB, free: 6.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.88e-05/0.4379, allocations: 28 kB / 0.5276 GB, free: 6.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02112/0.4591, allocations: 8.048 MB / 0.5355 GB, free: 14.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/0.4592, allocations: 48.94 kB / 0.5355 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01207/0.4712, allocations: 3.554 MB / 0.539 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/0.4837, allocations: 2.682 MB / 0.5416 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/0.4872, allocations: 1.014 MB / 0.5426 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2555/0.7428, allocations: 9.351 MB / 0.5517 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/0.7465, allocations: 331.4 kB / 0.5521 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007061/0.7472, allocations: 285 kB / 0.5523 GB, free: 109 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.002214/0.7494, allocations: 1.426 MB / 0.5537 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.7499, allocations: 220.3 kB / 0.5539 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.7504, allocations: 311.1 kB / 0.5542 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00567/0.756, allocations: 2.511 MB / 0.5567 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.756, allocations: 3.969 kB / 0.5567 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.7561, allocations: 7.859 kB / 0.5567 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.7678, allocations: 6.184 MB / 0.5627 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.7678, allocations: 5.906 kB / 0.5627 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.7686, allocations: 177.3 kB / 0.5629 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004477/0.7731, allocations: 1.437 MB / 0.5643 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.7732, allocations: 37.78 kB / 0.5643 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008263/0.7815, allocations: 7.607 MB / 0.5718 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007749/0.7822, allocations: 1.422 MB / 0.5732 GB, free: 100 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007504/0.7897, allocations: 4.834 MB / 0.5779 GB, free: 95.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/0.7904, allocations: 205.3 kB / 0.5781 GB, free: 95.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.7907, allocations: 24 kB / 0.5781 GB, free: 95.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7918, allocations: 111.8 kB / 0.5782 GB, free: 95.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.7921, allocations: 90.67 kB / 0.5783 GB, free: 95.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.7922, allocations: 35.86 kB / 0.5783 GB, free: 95.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001721/0.7939, allocations: 1.487 MB / 0.5798 GB, free: 93.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7939, allocations: 0 / 0.5798 GB, free: 93.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003631/0.7975, allocations: 0.7689 MB / 0.5805 GB, free: 93.14 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.000355/0.7979, allocations: 162.4 kB / 0.5807 GB, free: 93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006588/0.8045, allocations: 4.201 MB / 0.5848 GB, free: 88.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.8045, allocations: 0 / 0.5848 GB, free: 88.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.8072, allocations: 1.583 MB / 0.5863 GB, free: 87.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.809, allocations: 243.3 kB / 0.5866 GB, free: 87.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009507/0.8185, allocations: 6.931 MB / 0.5933 GB, free: 80.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.8202, allocations: 1.72 MB / 0.595 GB, free: 78.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.8208, allocations: 195.4 kB / 0.5952 GB, free: 78.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.873e-06/0.8208, allocations: 0 / 0.5952 GB, free: 78.14 MB / 462.1 MB Notification: Performance of Templates: time 0.06994/0.8907, allocations: 76.14 MB / 0.6696 GB, free: 2.012 MB / 462.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 -DOMC_BUILD -DUSE_THREAD -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_' tmp76 = 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_' tmp76 = 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_' tmp76 = 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_' tmp76 = 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_' tmp76 = 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_' tmp76 = 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_' tmp76 = 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_' tmp76 = 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_' tmp77 = 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_' tmp77 = 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_' tmp77 = 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_' tmp77 = 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_' tmp77 = 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_' tmp77 = 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_' tmp77 = 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_' tmp77 = 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_' tmp78 = 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_' tmp78 = 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_' tmp78 = 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.705173066991847] 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.8989365020242985 0.913514809 0.6184918899999999 Calling exit ...