Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 50.8 kB / 300.6 MB, free: 5.984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1067, allocations: 49.44 MB / 350.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.2831/0.3898, allocations: 110.5 MB / 460.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05196/0.4418, allocations: 22.3 MB / 482.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0208/0.4626, allocations: 486.9 kB / 483.3 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01942/0.4821, allocations: 11.16 MB / 494.5 MB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.4935, allocations: 3.406 MB / 497.9 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005762/0.4993, allocations: 2.373 MB / 0.4885 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01757/0.5169, allocations: 15.31 MB / 0.5035 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02111/0.538, allocations: 15.2 MB / 0.5183 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009443/0.5475, allocations: 4.514 MB / 0.5227 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.5592, allocations: 7.024 MB / 0.5296 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004146/0.5634, allocations: 0.8984 MB / 0.5305 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007076/0.5705, allocations: 2.29 MB / 0.5327 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2795/0.8499, allocations: 5.492 MB / 0.5381 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0196/0.8696, allocations: 6.314 MB / 0.5442 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02365/0.8933, allocations: 18.88 MB / 0.5627 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.8933, allocations: 0 / 0.5627 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.8933, allocations: 0 / 0.5627 GB, free: 23.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009275/0.8943, allocations: 2.969 kB / 0.5627 GB, free: 23.03 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.05379/0.9481, allocations: 13.98 MB / 0.5763 GB, free: 17.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.9481, allocations: 8.688 kB / 0.5763 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.9652, allocations: 3.054 MB / 0.5793 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01874/0.984, allocations: 6.911 MB / 0.5861 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008673/0.9849, allocations: 0.7389 MB / 0.5868 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006999/0.9919, allocations: 1.106 MB / 0.5879 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09565/1.088, allocations: 33.89 MB / 0.6209 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006662/1.088, allocations: 82.05 kB / 0.621 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006259/1.095, allocations: 454.8 kB / 0.6215 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008551/1.103, allocations: 4.552 MB / 0.6259 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08093/1.184, allocations: 31.96 MB / 0.6571 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4022/1.586, allocations: 114.2 MB / 0.7686 GB, free: 173.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05101/1.637, allocations: 18.71 MB / 0.7869 GB, free: 173.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0133/1.651, allocations: 10.02 MB / 0.7967 GB, free: 169.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04581/1.697, allocations: 32.24 MB / 0.8282 GB, free: 148.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.657e-05/1.697, allocations: 89.91 kB / 0.8283 GB, free: 148.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=512): time 1.021e-05/1.697, allocations: 0 / 0.8283 GB, free: 148.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=773): time 1.027/2.724, allocations: 165.8 MB / 0.9901 GB, free: 216 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/2.724, allocations: 212.6 kB / 0.9903 GB, free: 215.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01735/2.742, allocations: 7.957 MB / 0.9981 GB, free: 213.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.003255/2.745, allocations: 147.4 kB / 0.9982 GB, free: 213.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005054/2.75, allocations: 6.936 MB / 1.005 GB, free: 208.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00454/2.755, allocations: 2.731 MB / 1.008 GB, free: 206.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009852/2.765, allocations: 3.039 MB / 1.011 GB, free: 204.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/2.765, allocations: 304.1 kB / 1.011 GB, free: 204.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01743/2.782, allocations: 11.22 MB / 1.022 GB, free: 199.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0229/2.805, allocations: 17.78 MB / 1.039 GB, free: 186.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04037/2.845, allocations: 30.22 MB / 1.069 GB, free: 162.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002498/2.846, allocations: 64 kB / 1.069 GB, free: 162.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.05354/2.899, allocations: 29.53 MB / 1.098 GB, free: 135.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/2.9, allocations: 100 kB / 1.098 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000371/2.9, allocations: 220 kB / 1.098 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/2.9, allocations: 312 kB / 1.098 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02072/2.921, allocations: 4.592 MB / 1.103 GB, free: 131.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004363/2.921, allocations: 452.7 kB / 1.103 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01593/2.937, allocations: 1.177 MB / 1.104 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004605/2.942, allocations: 0.746 MB / 1.105 GB, free: 129.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1905): * Single equations (assignments): 1896 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01537/2.957, allocations: 5.49 MB / 1.11 GB, free: 123.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003648/2.961, allocations: 0.8032 MB / 1.111 GB, free: 122.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03899/3, allocations: 21.36 MB / 1.132 GB, free: 101.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.022e-05/3, allocations: 76 kB / 1.132 GB, free: 101.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/3, allocations: 3.984 kB / 1.132 GB, free: 101.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001674/3, allocations: 38.73 kB / 1.132 GB, free: 101.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08534/3.086, allocations: 45.92 MB / 1.177 GB, free: 55.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/3.086, allocations: 12.03 kB / 1.177 GB, free: 55.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01504/3.101, allocations: 2.504 MB / 1.179 GB, free: 52.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/3.101, allocations: 35.94 kB / 1.18 GB, free: 52.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002663/3.104, allocations: 143.9 kB / 1.18 GB, free: 52.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.352e-05/3.104, allocations: 35.98 kB / 1.18 GB, free: 52.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/3.104, allocations: 11.94 kB / 1.18 GB, free: 52.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2586/3.362, allocations: 35.74 MB / 1.215 GB, free: 202.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008556/3.371, allocations: 2.895 MB / 1.217 GB, free: 201.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004134/3.375, allocations: 131.6 kB / 1.218 GB, free: 201.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009479/3.385, allocations: 0.7814 MB / 1.218 GB, free: 201.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00273/3.387, allocations: 420 kB / 1.219 GB, free: 201.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001299/3.389, allocations: 197.7 kB / 1.219 GB, free: 201.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009899/3.399, allocations: 4.975 MB / 1.224 GB, free: 199.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.72e-07/3.399, allocations: 3.938 kB / 1.224 GB, free: 199.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01762/3.416, allocations: 3.277 MB / 1.227 GB, free: 199.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (rev.phi,rev.w) * 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 (757): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00326/3.42, allocations: 442.8 kB / 1.227 GB, free: 199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03721/3.457, allocations: 25.02 MB / 1.252 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/3.457, allocations: 0 / 1.252 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01566/3.473, allocations: 10.65 MB / 1.262 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/3.483, allocations: 0.9624 MB / 1.263 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06796/3.551, allocations: 41.52 MB / 1.304 GB, free: 143.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01418/3.565, allocations: 8.078 MB / 1.312 GB, free: 136.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01025/3.576, allocations: 0.7243 MB / 1.312 GB, free: 136.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.223e-06/3.576, allocations: 0 / 1.312 GB, free: 136.2 MB / 0.545 GB Notification: Performance of Templates: time 0.5344/4.11, allocations: 197.3 MB / 1.505 GB, free: 133.9 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile clang++ -std=c++14 -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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:17: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:968:36: error: duplicate member '_jointRRR1_P_jointUSR_P_revolute_P_e_' StatArrayDim1 _jointRRR1_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:418:36: note: previous declaration is here StatArrayDim1 _jointRRR1_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:1053:36: error: duplicate member '_jointRRR2_P_jointUSR_P_revolute_P_e_' StatArrayDim1 _jointRRR2_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:509:36: note: previous declaration is here StatArrayDim1 _jointRRR2_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:1138:36: error: duplicate member '_jointRRR3_P_jointUSR_P_revolute_P_e_' StatArrayDim1 _jointRRR3_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:603:36: note: previous declaration is here StatArrayDim1 _jointRRR3_P_jointUSR_P_revolute_P_e_; ^ In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:27: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:7:3: error: no matching constructor for initialization of 'PlanarLoops_analyticJacobian' : PlanarLoops_analyticJacobian(instance) ^ ~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticJacobian.h:13:3: note: candidate constructor not viable: no known conversion from 'PlanarLoops_analyticMixed' to 'PlanarLoops_analyticJacobian &' for 1st argument PlanarLoops_analyticJacobian(PlanarLoops_analyticJacobian& instance); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticJacobian.h:12:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided PlanarLoops_analyticJacobian(IGlobalSettings* globalSettings, shared_ptr simObjects); ^ In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:27: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:25:14: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticMixed' return getAJacobian(); ^~~~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:42:20: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticMixed' return getAJacobian(); ^~~~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:104:32: error: cannot initialize object parameter of type 'PlanarLoops_analytic' with an expression of type 'PlanarLoops_analyticMixed' return PlanarLoops_analytic::saveAll(); ^~~~~~~ In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:10:3: error: no matching constructor for initialization of 'PlanarLoops_analyticWriteOutput' : PlanarLoops_analyticWriteOutput(instance) ^ ~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticWriteOutput.h:14:3: note: candidate constructor not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'PlanarLoops_analyticWriteOutput &' for 1st argument PlanarLoops_analyticWriteOutput(PlanarLoops_analyticWriteOutput& instance); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticWriteOutput.h:13:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided PlanarLoops_analyticWriteOutput(IGlobalSettings* globalSettings, shared_ptr simObjects); ^ In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:28:10: error: cannot initialize return object of type 'IMixedSystem *' with an rvalue of type 'PlanarLoops_analyticInitialize *' return new PlanarLoops_analyticInitialize(*this); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:51:4: error: cannot initialize object parameter of type 'PlanarLoops_analyticMixed' with an expression of type 'PlanarLoops_analyticInitialize' saveAll(); ^~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:56:56: error: cannot initialize object parameter of type 'SystemDefaultImplementation' with an expression of type 'PlanarLoops_analyticInitialize' _discrete_events = _event_handling->initialize(this,getSimVars()); ^~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:61:37: error: cannot initialize object parameter of type 'PlanarLoops_analyticWriteOutput' with an expression of type 'PlanarLoops_analyticInitialize' PlanarLoops_analyticWriteOutput::initialize(); ^~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:62:34: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticInitialize' PlanarLoops_analyticJacobian::initialize(); ^~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:63:34: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticInitialize' PlanarLoops_analyticJacobian::initializeColoredJacobianA(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:71:40: error: cannot initialize object parameter of type 'SystemDefaultImplementation' with an expression of type 'PlanarLoops_analyticInitialize' _reader->readInitialValues(*this, getSimVars()); ^~~~~~~~~~ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:84:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(1),_body1_P_Q_start_(1)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:85:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(2),_body1_P_Q_start_(2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:86:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(3),_body1_P_Q_start_(3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:87:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(4),_body1_P_Q_start_(4)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.o] Error 1