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.SpringDamperSystem.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.00142/0.00142, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001768/0.001768, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.426/1.426, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [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.002444/0.002444, allocations: 67.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2979, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.0144/0.3123, allocations: 12.05 MB / 444.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009264/0.3215, allocations: 4.25 MB / 448.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.3235, allocations: 67.81 kB / 448.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005421/0.3289, allocations: 2.803 MB / 451.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005332/0.3342, allocations: 1.988 MB / 453.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.3362, allocations: 0.8033 MB / 454 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007263/0.3435, allocations: 4.683 MB / 458.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003835/0.3473, allocations: 2.694 MB / 461.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.3502, allocations: 1.682 MB / 463.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.3543, allocations: 2.523 MB / 465.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009035/0.3552, allocations: 360 kB / 466 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3577, allocations: 1.291 MB / 467.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.36, allocations: 2.146 MB / 469.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002933/0.363, allocations: 2.408 MB / 471.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009164/0.3721, allocations: 7.497 MB / 479.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3721, allocations: 0 / 479.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3721, allocations: 0 / 479.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002156/0.3723, allocations: 0 / 479.3 MB, free: 7.91 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01125/0.3836, allocations: 5.371 MB / 484.7 MB, free: 2.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3836, allocations: 8.031 kB / 484.7 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008534/0.3922, allocations: 2.201 MB / 486.9 MB, free: 252 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006324/0.3985, allocations: 2.494 MB / 489.4 MB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.3987, allocations: 274.8 kB / 489.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.4001, allocations: 427.6 kB / 490.1 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.4253, allocations: 12.26 MB / 0.4905 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.4255, allocations: 51.58 kB / 0.4906 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004816/0.426, allocations: 171.8 kB / 0.4908 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/0.4295, allocations: 2.162 MB / 0.4929 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02375/0.4533, allocations: 10.26 MB / 0.5029 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2625/0.7158, allocations: 44.19 MB / 0.546 GB, free: 70.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.7263, allocations: 4.509 MB / 0.5504 GB, free: 69.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.7282, allocations: 1.631 MB / 0.552 GB, free: 69.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.739, allocations: 8.326 MB / 0.5602 GB, free: 64.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.739, allocations: 53.25 kB / 0.5602 GB, free: 64.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.669e-06/0.739, allocations: 0 / 0.5602 GB, free: 64.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03559/0.7746, allocations: 16.31 MB / 0.5761 GB, free: 53.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009621/0.7756, allocations: 1.694 MB / 0.5778 GB, free: 52.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004464/0.78, allocations: 4.205 MB / 0.5819 GB, free: 47.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.7804, allocations: 54.92 kB / 0.582 GB, free: 47.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.7817, allocations: 3.535 MB / 0.5854 GB, free: 44.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005788/0.7822, allocations: 0.841 MB / 0.5862 GB, free: 43.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.7834, allocations: 1.369 MB / 0.5876 GB, free: 42.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.7835, allocations: 301.1 kB / 0.5879 GB, free: 41.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.7861, allocations: 2.288 MB / 0.5901 GB, free: 39.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003819/0.7899, allocations: 6.412 MB / 0.5964 GB, free: 31.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/0.7975, allocations: 9.356 MB / 0.6055 GB, free: 20.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.191e-05/0.7976, allocations: 40 kB / 0.6055 GB, free: 20.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02041/0.818, allocations: 10.19 MB / 0.6155 GB, free: 9.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.8181, allocations: 68 kB / 0.6155 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01046/0.8286, allocations: 3.889 MB / 0.6193 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009491/0.8381, allocations: 2.261 MB / 0.6215 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004805/0.8429, allocations: 1.591 MB / 0.6231 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/0.8523, allocations: 6.629 MB / 0.6296 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/0.8576, allocations: 435.5 kB / 0.63 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/0.8588, allocations: 416 kB / 0.6304 GB, free: 10.25 MB / 462.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.004461/0.8632, allocations: 2.208 MB / 0.6325 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008653/0.8641, allocations: 397.4 kB / 0.6329 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007418/0.8715, allocations: 3.313 MB / 0.6362 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005748/0.8773, allocations: 2.762 MB / 0.6389 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.8773, allocations: 11.94 kB / 0.6389 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.8773, allocations: 7.969 kB / 0.6389 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/0.9001, allocations: 10.36 MB / 0.649 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/0.9002, allocations: 12.97 kB / 0.649 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.9018, allocations: 379.4 kB / 0.6494 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/0.9049, allocations: 0.9902 MB / 0.6503 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.9051, allocations: 68.03 kB / 0.6504 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/0.9111, allocations: 4.905 MB / 0.6552 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001324/0.9124, allocations: 1.56 MB / 0.6567 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.9227, allocations: 5.981 MB / 0.6625 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.9239, allocations: 462.2 kB / 0.663 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007802/0.9247, allocations: 60.83 kB / 0.663 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.9267, allocations: 155.8 kB / 0.6632 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.927, allocations: 172.4 kB / 0.6634 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.9272, allocations: 83.27 kB / 0.6634 GB, free: 7.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003978/0.9312, allocations: 2.581 MB / 0.666 GB, free: 4.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9312, allocations: 0 / 0.666 GB, free: 4.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005344/0.9365, allocations: 1.141 MB / 0.6671 GB, free: 3.703 MB / 494.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.0005026/0.937, allocations: 214.2 kB / 0.6673 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.9475, allocations: 5.817 MB / 0.673 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.9475, allocations: 8 kB / 0.673 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00417/0.9517, allocations: 2.131 MB / 0.675 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.9546, allocations: 0.4919 MB / 0.6755 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.9735, allocations: 11.35 MB / 0.6866 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004371/0.9779, allocations: 3.455 MB / 0.69 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.979, allocations: 319.4 kB / 0.6903 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.979, allocations: 0 / 0.6903 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.3456/1.325, allocations: 142.1 MB / 0.8291 GB, free: 143.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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.SpringDamperSystemAlgloop785.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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.SpringDamperSystemAlgloop785.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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.SpringDamperSystemAlgloop785.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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.SpringDamperSystemAlgloop785.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.055955649819225] 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.3342050560750067 1.3408715439999999 0.966460289 Calling exit ...