Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005789/0.005789, allocations: 106.3 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.88 kB / 379.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2666, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01293/0.2795, allocations: 10.78 MB / 444 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008523/0.288, allocations: 3.994 MB / 448 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2899, allocations: 67.69 kB / 448 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005298/0.2952, allocations: 2.62 MB / 450.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.3003, allocations: 1.785 MB / 452.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.302, allocations: 0.6863 MB / 453.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005732/0.3077, allocations: 3.716 MB / 456.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003626/0.3114, allocations: 2.723 MB / 459.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.3139, allocations: 1.499 MB / 461 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.3175, allocations: 2.11 MB / 463.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008583/0.3184, allocations: 316 kB / 463.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.3208, allocations: 1.182 MB / 464.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.3229, allocations: 1.858 MB / 466.5 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002619/0.3255, allocations: 2.12 MB / 468.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008662/0.3342, allocations: 6.668 MB / 475.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3342, allocations: 0 / 475.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3342, allocations: 0 / 475.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002062/0.3344, allocations: 0 / 475.3 MB, free: 12.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.009757/0.3441, allocations: 4.584 MB / 479.9 MB, free: 8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3442, allocations: 8.031 kB / 479.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006741/0.3509, allocations: 1.96 MB / 481.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/0.3553, allocations: 1.949 MB / 483.8 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.3555, allocations: 246.2 kB / 484 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009112/0.3564, allocations: 387.8 kB / 484.4 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.3752, allocations: 10.11 MB / 494.5 MB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.3753, allocations: 39.69 kB / 494.6 MB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004466/0.3757, allocations: 159.8 kB / 494.7 MB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002724/0.3784, allocations: 1.864 MB / 496.6 MB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.3962, allocations: 8.359 MB / 0.4931 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05269/0.4489, allocations: 39.2 MB / 0.5314 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.4592, allocations: 3.463 MB / 0.5348 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.4613, allocations: 1.326 MB / 0.5361 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2433/0.7046, allocations: 5.86 MB / 0.5418 GB, free: 99.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.7046, allocations: 52.61 kB / 0.5418 GB, free: 99.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.709e-06/0.7046, allocations: 0 / 0.5418 GB, free: 99.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0261/0.7307, allocations: 12.32 MB / 0.5539 GB, free: 94.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009379/0.7317, allocations: 1.571 MB / 0.5554 GB, free: 93.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.7355, allocations: 3.816 MB / 0.5591 GB, free: 91.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.7357, allocations: 49.14 kB / 0.5592 GB, free: 91.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.737, allocations: 3.235 MB / 0.5623 GB, free: 88.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/0.7374, allocations: 0.677 MB / 0.563 GB, free: 87.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.7385, allocations: 1.266 MB / 0.5642 GB, free: 86.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.7385, allocations: 305.1 kB / 0.5645 GB, free: 85.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.7408, allocations: 2.058 MB / 0.5665 GB, free: 83.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/0.7442, allocations: 5.981 MB / 0.5724 GB, free: 75.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006104/0.7503, allocations: 8.643 MB / 0.5808 GB, free: 65.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.973e-05/0.7503, allocations: 44 kB / 0.5809 GB, free: 65.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01806/0.7684, allocations: 9.844 MB / 0.5905 GB, free: 55.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.7685, allocations: 67.98 kB / 0.5905 GB, free: 55.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009889/0.7783, allocations: 3.838 MB / 0.5943 GB, free: 51.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.789, allocations: 2.732 MB / 0.597 GB, free: 48.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/0.7929, allocations: 1.365 MB / 0.5983 GB, free: 47.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.8064, allocations: 11.29 MB / 0.6093 GB, free: 35.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/0.811, allocations: 399.5 kB / 0.6097 GB, free: 35.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007644/0.8118, allocations: 392 kB / 0.6101 GB, free: 34.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002657/0.8144, allocations: 2.017 MB / 0.612 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/0.815, allocations: 341.7 kB / 0.6124 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.8156, allocations: 432.4 kB / 0.6128 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005094/0.8207, allocations: 2.706 MB / 0.6154 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8207, allocations: 7.938 kB / 0.6154 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8208, allocations: 8.719 kB / 0.6154 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.8343, allocations: 8.44 MB / 0.6237 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.8343, allocations: 4 kB / 0.6237 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/0.8352, allocations: 195.7 kB / 0.6239 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003988/0.8392, allocations: 1.444 MB / 0.6253 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.8393, allocations: 43.91 kB / 0.6253 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.8494, allocations: 9.517 MB / 0.6346 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006743/0.8501, allocations: 1.436 MB / 0.636 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007962/0.8581, allocations: 5.354 MB / 0.6412 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008339/0.8589, allocations: 317.5 kB / 0.6416 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/0.8593, allocations: 31.98 kB / 0.6416 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.8605, allocations: 127.8 kB / 0.6417 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.8608, allocations: 112.7 kB / 0.6418 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.8609, allocations: 51.91 kB / 0.6419 GB, free: 1.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003029/0.8639, allocations: 2.333 MB / 0.6441 GB, free: 15.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8639, allocations: 0 / 0.6441 GB, free: 15.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005127/0.8691, allocations: 1.066 MB / 0.6452 GB, free: 14.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004705/0.8695, allocations: 170.7 kB / 0.6453 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01056/0.8801, allocations: 5.418 MB / 0.6506 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8801, allocations: 4 kB / 0.6506 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004412/0.8845, allocations: 2.09 MB / 0.6527 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.887, allocations: 392.5 kB / 0.6531 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.9048, allocations: 9.64 MB / 0.6625 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0037/0.9085, allocations: 3.127 MB / 0.6655 GB, free: 9.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008709/0.9094, allocations: 271.4 kB / 0.6658 GB, free: 9.164 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.9094, allocations: 4 kB / 0.6658 GB, free: 9.16 MB / 478.1 MB Notification: Performance of Templates: time 0.3853/1.295, allocations: 145.2 MB / 0.8075 GB, free: 118 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.307678489945829] 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]'] 1.304547964129597 1.312825231 0.976213404 Calling exit ...