Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001484/0.001484, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.001777/0.001777, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.516/1.516, allocations: 207.6 MB / 236 MB, free: 9.977 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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [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.001984/0.001984, allocations: 53.33 kB / 348.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.401, allocations: 49.17 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01471/0.4157, allocations: 12.12 MB / 409.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.43, allocations: 4.239 MB / 414 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005049/0.435, allocations: 80.41 kB / 414.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008142/0.4432, allocations: 2.812 MB / 416.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009159/0.4523, allocations: 2.028 MB / 418.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.4559, allocations: 0.8123 MB / 419.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.4689, allocations: 4.631 MB / 424.3 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00952/0.4784, allocations: 2.955 MB / 427.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007123/0.4855, allocations: 1.733 MB / 429 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0076/0.4931, allocations: 2.543 MB / 431.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002212/0.4953, allocations: 352 kB / 431.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006376/0.5017, allocations: 1.307 MB / 433.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006083/0.5078, allocations: 2.174 MB / 435.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.5184, allocations: 2.435 MB / 437.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02575/0.5441, allocations: 7.56 MB / 445.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.018e-05/0.5441, allocations: 0 / 445.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.5441, allocations: 0 / 445.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.00061/0.5447, allocations: 0 / 445.4 MB, free: 3.457 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.03233/0.5771, allocations: 5.35 MB / 450.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.558e-05/0.5772, allocations: 11.98 kB / 450.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/0.5952, allocations: 2.154 MB / 452.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.6091, allocations: 2.562 MB / 455.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007195/0.6098, allocations: 282.8 kB / 455.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/0.6132, allocations: 423.7 kB / 456.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05275/0.6659, allocations: 12.22 MB / 468.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002263/0.6661, allocations: 47.58 kB / 468.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008494/0.667, allocations: 171.8 kB / 468.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004812/0.6718, allocations: 2.166 MB / 470.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03456/0.7064, allocations: 10.2 MB / 481 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08625/0.7926, allocations: 44.06 MB / 0.5127 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.8055, allocations: 3.795 MB / 0.5164 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/0.8092, allocations: 1.622 MB / 0.518 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01925/0.8284, allocations: 6.884 MB / 0.5247 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.8285, allocations: 55.86 kB / 0.5248 GB, free: 5.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 6.893e-06/0.8285, allocations: 0 / 0.5248 GB, free: 5.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.05127/0.8798, allocations: 15.9 MB / 0.5403 GB, free: 5.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002335/0.8821, allocations: 1.6 MB / 0.5419 GB, free: 3.426 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009769/0.8919, allocations: 4.232 MB / 0.546 GB, free: 15.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006785/0.8926, allocations: 57.64 kB / 0.5461 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003992/0.8966, allocations: 3.533 MB / 0.5495 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001444/0.898, allocations: 0.845 MB / 0.5503 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002119/0.9001, allocations: 1.37 MB / 0.5517 GB, free: 9.316 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.9003, allocations: 301.1 kB / 0.552 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004152/0.9045, allocations: 2.274 MB / 0.5542 GB, free: 6.742 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3551/1.26, allocations: 6.381 MB / 0.5604 GB, free: 139.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.272, allocations: 9.322 MB / 0.5695 GB, free: 132.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/1.272, allocations: 45.47 kB / 0.5696 GB, free: 132.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02483/1.297, allocations: 10.07 MB / 0.5794 GB, free: 129.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.297, allocations: 70.69 kB / 0.5795 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01094/1.308, allocations: 3.783 MB / 0.5832 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009576/1.318, allocations: 2.172 MB / 0.5853 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/1.323, allocations: 1.581 MB / 0.5868 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007855/1.331, allocations: 6.388 MB / 0.5931 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006096/1.337, allocations: 436 kB / 0.5935 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009785/1.338, allocations: 417.6 kB / 0.5939 GB, free: 124 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00403/1.342, allocations: 2.22 MB / 0.596 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006928/1.343, allocations: 393 kB / 0.5964 GB, free: 122.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/1.349, allocations: 3.28 MB / 0.5996 GB, free: 119.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004598/1.353, allocations: 2.738 MB / 0.6023 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.353, allocations: 0 / 0.6023 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/1.353, allocations: 11.97 kB / 0.6023 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/1.37, allocations: 10.15 MB / 0.6122 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/1.37, allocations: 16.06 kB / 0.6122 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.372, allocations: 381.2 kB / 0.6126 GB, free: 105.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002723/1.374, allocations: 0.9799 MB / 0.6136 GB, free: 104.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/1.375, allocations: 63.33 kB / 0.6136 GB, free: 104.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004315/1.379, allocations: 4.697 MB / 0.6182 GB, free: 99.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009741/1.38, allocations: 1.461 MB / 0.6196 GB, free: 98.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/1.388, allocations: 5.925 MB / 0.6254 GB, free: 92.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/1.39, allocations: 0.6057 MB / 0.626 GB, free: 91.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006987/1.391, allocations: 63.73 kB / 0.6261 GB, free: 91.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.393, allocations: 146.2 kB / 0.6262 GB, free: 91.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/1.393, allocations: 184.3 kB / 0.6264 GB, free: 91.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.393, allocations: 71.98 kB / 0.6265 GB, free: 91.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003545/1.397, allocations: 2.609 MB / 0.629 GB, free: 88.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.397, allocations: 0 / 0.629 GB, free: 88.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006511/1.403, allocations: 1.163 MB / 0.6301 GB, free: 87.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006137/1.404, allocations: 217.6 kB / 0.6303 GB, free: 87.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009291/1.413, allocations: 5.638 MB / 0.6358 GB, free: 81.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.413, allocations: 4 kB / 0.6359 GB, free: 81.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003482/1.417, allocations: 1.96 MB / 0.6378 GB, free: 79.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.42, allocations: 0.4956 MB / 0.6382 GB, free: 79.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/1.439, allocations: 11.34 MB / 0.6493 GB, free: 67.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.442, allocations: 3.459 MB / 0.6527 GB, free: 64.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.443, allocations: 331.4 kB / 0.653 GB, free: 63.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.774e-06/1.443, allocations: 0 / 0.653 GB, free: 63.73 MB / 478.1 MB Notification: Performance of Templates: time 0.4159/1.859, allocations: 142.7 MB / 0.7923 GB, free: 138 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_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.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.964032479096204] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]', 'p2.s', 'p2.v'] 1.8696912510786206 1.879074082 1.331875353 Calling exit ...