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.001311/0.001311, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001435/0.001435, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001668/0.001668, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3005, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009003/0.3095, allocations: 6.578 MB / 438.9 MB, free: 124 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.3167, allocations: 3.071 MB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.3185, allocations: 39.81 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.321, allocations: 1.02 MB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.3248, allocations: 1.374 MB / 444.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3259, allocations: 463.1 kB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004073/0.33, allocations: 2.664 MB / 447.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.332, allocations: 1.32 MB / 448.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.3336, allocations: 0.8563 MB / 449.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.3356, allocations: 1.281 MB / 451 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000422/0.336, allocations: 168 kB / 451.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.3378, allocations: 0.9165 MB / 452.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.339, allocations: 1.122 MB / 453.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.3402, allocations: 0.9353 MB / 454.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005592/0.3457, allocations: 4.341 MB / 458.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3458, allocations: 0 / 458.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3458, allocations: 4 kB / 458.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.458e-05/0.3458, allocations: 0 / 458.5 MB, free: 12.48 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.006161/0.352, allocations: 3.029 MB / 461.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.352, allocations: 8.031 kB / 461.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006731/0.3588, allocations: 1.809 MB / 463.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004062/0.3628, allocations: 1.325 MB / 464.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.363, allocations: 135.2 kB / 464.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007945/0.3638, allocations: 255.8 kB / 465 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.3763, allocations: 6.705 MB / 471.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.3764, allocations: 31.7 kB / 471.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/0.377, allocations: 87.89 kB / 471.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002522/0.3795, allocations: 1.363 MB / 473.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.3928, allocations: 6.036 MB / 479.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03498/0.4277, allocations: 24.04 MB / 0.4915 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007574/0.4353, allocations: 2.146 MB / 0.4936 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.4369, allocations: 0.9926 MB / 0.4946 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005735/0.4426, allocations: 2.722 MB / 0.4972 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.4427, allocations: 51.06 kB / 0.4973 GB, free: 8.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.477e-06/0.4427, allocations: 0 / 0.4973 GB, free: 8.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02955/0.4722, allocations: 10.13 MB / 0.5072 GB, free: 14.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001547/0.4738, allocations: 1.549 MB / 0.5087 GB, free: 12.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/0.4777, allocations: 2.609 MB / 0.5112 GB, free: 9.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002939/0.478, allocations: 45.69 kB / 0.5113 GB, free: 9.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.4797, allocations: 2.182 MB / 0.5134 GB, free: 7.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006907/0.4804, allocations: 0.5234 MB / 0.5139 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.4817, allocations: 0.9212 MB / 0.5148 GB, free: 6.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4819, allocations: 353.9 kB / 0.5151 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.4846, allocations: 1.664 MB / 0.5168 GB, free: 4.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/0.49, allocations: 4.464 MB / 0.5211 GB, free: 14.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009133/0.4992, allocations: 6.548 MB / 0.5275 GB, free: 6.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-05/0.4992, allocations: 32 kB / 0.5276 GB, free: 6.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02158/0.5208, allocations: 8.053 MB / 0.5354 GB, free: 14.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/0.5209, allocations: 48 kB / 0.5355 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01213/0.533, allocations: 3.555 MB / 0.5389 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.5454, allocations: 2.688 MB / 0.5416 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.5488, allocations: 1.006 MB / 0.5425 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2346/0.7834, allocations: 9.35 MB / 0.5517 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.7867, allocations: 337.2 kB / 0.552 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/0.7872, allocations: 282 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.001893/0.7891, allocations: 1.424 MB / 0.5537 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.7894, allocations: 220.8 kB / 0.5539 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.7899, allocations: 305.7 kB / 0.5542 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00559/0.7955, allocations: 2.516 MB / 0.5566 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.7955, allocations: 4.078 kB / 0.5566 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.7955, allocations: 3.891 kB / 0.5566 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.806, allocations: 6.19 MB / 0.5627 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.806, allocations: 3.438 kB / 0.5627 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.8068, allocations: 175.2 kB / 0.5628 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004361/0.8111, allocations: 1.439 MB / 0.5642 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.8113, allocations: 31.62 kB / 0.5643 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008488/0.8197, allocations: 7.609 MB / 0.5717 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000804/0.8205, allocations: 1.427 MB / 0.5731 GB, free: 100 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.8281, allocations: 4.839 MB / 0.5778 GB, free: 95.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.8287, allocations: 204.6 kB / 0.578 GB, free: 95.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.8289, allocations: 23.98 kB / 0.578 GB, free: 95.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.83, allocations: 111.8 kB / 0.5781 GB, free: 95.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.8302, allocations: 87.39 kB / 0.5782 GB, free: 95.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.8303, allocations: 31.98 kB / 0.5783 GB, free: 95.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001689/0.832, allocations: 1.488 MB / 0.5797 GB, free: 94.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.832, allocations: 0 / 0.5797 GB, free: 94.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003348/0.8354, allocations: 0.7695 MB / 0.5805 GB, free: 93.25 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.0003279/0.8357, allocations: 154.8 kB / 0.5806 GB, free: 93.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006366/0.8421, allocations: 4.206 MB / 0.5847 GB, free: 88.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.8421, allocations: 0 / 0.5847 GB, free: 88.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.8448, allocations: 1.586 MB / 0.5863 GB, free: 87.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.8463, allocations: 237.9 kB / 0.5865 GB, free: 87.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/0.855, allocations: 6.936 MB / 0.5933 GB, free: 80.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.8566, allocations: 1.724 MB / 0.595 GB, free: 78.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/0.8572, allocations: 202.8 kB / 0.5951 GB, free: 78.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8572, allocations: 0 / 0.5951 GB, free: 78.23 MB / 462.1 MB Notification: Performance of Templates: time 0.06756/0.9248, allocations: 76.14 MB / 0.6695 GB, free: 2.102 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.60010881209746] 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.9338473151437938 0.948719296 0.59958254 Calling exit ...