Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.01031/0.01031, allocations: 95.66 kB / 21.93 MB, free: 5.199 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.002705/0.002705, allocations: 210.1 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 47.92 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.333, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008742/0.3418, allocations: 6.6 MB / 404.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00757/0.3494, allocations: 3.072 MB / 407.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.3512, allocations: 41 kB / 407.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.3538, allocations: 1.016 MB / 408.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.3585, allocations: 1.402 MB / 409.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3597, allocations: 455.4 kB / 410.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00426/0.364, allocations: 2.637 MB / 412.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.3659, allocations: 1.334 MB / 414.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.3674, allocations: 0.8571 MB / 415 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.3696, allocations: 1.288 MB / 416.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004445/0.3701, allocations: 170.2 kB / 416.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.3723, allocations: 0.9373 MB / 417.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.3737, allocations: 1.135 MB / 418.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.375, allocations: 0.9496 MB / 419.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006724/0.3817, allocations: 4.386 MB / 423.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3817, allocations: 0 / 423.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3817, allocations: 0 / 423.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.3819, allocations: 0 / 423.9 MB, free: 8.863 MB / 334.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.007001/0.3889, allocations: 3.068 MB / 426.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3889, allocations: 15.98 kB / 427 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.3954, allocations: 1.75 MB / 428.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.3991, allocations: 1.403 MB / 430.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.3993, allocations: 135.3 kB / 430.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007324/0.4, allocations: 259.7 kB / 430.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.4128, allocations: 6.685 MB / 437.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.154e-05/0.4129, allocations: 27.81 kB / 437.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.4132, allocations: 91.83 kB / 437.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002376/0.4156, allocations: 1.359 MB / 438.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.4284, allocations: 6.017 MB / 444.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03639/0.4648, allocations: 24.06 MB / 468.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.4723, allocations: 2.142 MB / 470.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.474, allocations: 0.9963 MB / 471.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005878/0.4799, allocations: 2.711 MB / 474.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.48, allocations: 54.98 kB / 474.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.617e-06/0.48, allocations: 0 / 474.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02731/0.5073, allocations: 10.09 MB / 484.7 MB, free: 10.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00155/0.5088, allocations: 1.564 MB / 486.3 MB, free: 8.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.5127, allocations: 2.622 MB / 488.9 MB, free: 6.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.513, allocations: 41.64 kB / 489 MB, free: 6.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/0.5149, allocations: 2.186 MB / 491.1 MB, free: 3.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007446/0.5156, allocations: 0.5234 MB / 491.7 MB, free: 3.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.5169, allocations: 0.9212 MB / 492.6 MB, free: 2.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.5172, allocations: 365.9 kB / 492.9 MB, free: 2.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.5199, allocations: 1.652 MB / 494.6 MB, free: 440 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/0.5252, allocations: 4.448 MB / 499 MB, free: 10.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008896/0.5341, allocations: 6.546 MB / 0.4937 GB, free: 2.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/0.5342, allocations: 28 kB / 0.4938 GB, free: 2.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02176/0.556, allocations: 7.972 MB / 0.5015 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.5561, allocations: 44 kB / 0.5016 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01201/0.5681, allocations: 3.485 MB / 0.505 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/0.5804, allocations: 2.585 MB / 0.5075 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/0.5839, allocations: 1.014 MB / 0.5085 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/0.5998, allocations: 9.332 MB / 0.5176 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/0.6036, allocations: 331.7 kB / 0.5179 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000633/0.6042, allocations: 288 kB / 0.5182 GB, free: 9.316 MB / 446.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.002322/0.6066, allocations: 1.427 MB / 0.5196 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.607, allocations: 226.4 kB / 0.5198 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006816/0.6138, allocations: 2.798 MB / 0.5226 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006197/0.62, allocations: 2.497 MB / 0.525 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/0.62, allocations: 8 kB / 0.525 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.6201, allocations: 3.984 kB / 0.525 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.6361, allocations: 6.187 MB / 0.531 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.6361, allocations: 3.938 kB / 0.531 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.6369, allocations: 179.7 kB / 0.5312 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/0.642, allocations: 1.434 MB / 0.5326 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.6421, allocations: 31.98 kB / 0.5327 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.6533, allocations: 7.62 MB / 0.5401 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001164/0.6545, allocations: 1.415 MB / 0.5415 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009308/0.6638, allocations: 4.83 MB / 0.5462 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007304/0.6645, allocations: 198.6 kB / 0.5464 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/0.665, allocations: 31.98 kB / 0.5464 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6663, allocations: 107.8 kB / 0.5465 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/0.6665, allocations: 88.41 kB / 0.5466 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.6667, allocations: 39.98 kB / 0.5466 GB, free: 11.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002653/0.6693, allocations: 1.495 MB / 0.5481 GB, free: 10.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6693, allocations: 0 / 0.5481 GB, free: 10.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003874/0.6732, allocations: 0.7812 MB / 0.5489 GB, free: 9.383 MB / 478.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.0004341/0.6736, allocations: 158.9 kB / 0.549 GB, free: 9.219 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0079/0.6815, allocations: 4.2 MB / 0.5531 GB, free: 5.008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.6815, allocations: 3.938 kB / 0.5531 GB, free: 5.004 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003311/0.6848, allocations: 1.577 MB / 0.5547 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.6865, allocations: 244.2 kB / 0.5549 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2336/0.9201, allocations: 6.937 MB / 0.5617 GB, free: 145.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004622/0.9247, allocations: 1.725 MB / 0.5633 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/0.9259, allocations: 194.8 kB / 0.5635 GB, free: 145.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.9259, allocations: 0 / 0.5635 GB, free: 145.4 MB / 478.1 MB Notification: Performance of Templates: time 0.1251/1.051, allocations: 76.48 MB / 0.6382 GB, free: 83.75 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:51: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:99: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:148: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:197: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:248: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:296: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:345: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:394: error: use of undeclared identifier 'body_P_Q_start_' tmp75 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:51: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:99: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:148: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:197: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:248: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:296: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:345: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:394: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:51: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:99: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:148: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.1325523792766035] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 1.0608296091668308 1.0696344899999999 0.685540753 Calling exit ...