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.00112/0.00112, allocations: 115.3 kB / 17.29 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.001008/0.001008, allocations: 197.3 kB / 18.2 MB, free: 5.406 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.326/1.326, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 49.8 kB / 300.8 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1075, allocations: 49.44 MB / 350.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.3178/0.4254, allocations: 110.5 MB / 460.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06062/0.4861, allocations: 22.15 MB / 482.9 MB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03114/0.5173, allocations: 478.9 kB / 483.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02044/0.5378, allocations: 10.75 MB / 494.1 MB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.5498, allocations: 3.344 MB / 497.4 MB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006894/0.5567, allocations: 2.457 MB / 499.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01602/0.5727, allocations: 10.35 MB / 0.4983 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02684/0.5996, allocations: 16.57 MB / 0.5144 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.6108, allocations: 5.338 MB / 0.5197 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/0.6238, allocations: 7.403 MB / 0.5269 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005781/0.6297, allocations: 1.441 MB / 0.5283 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009427/0.6391, allocations: 2.748 MB / 0.531 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3175/0.9566, allocations: 6.023 MB / 0.5369 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02215/0.9788, allocations: 6.891 MB / 0.5436 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02718/1.006, allocations: 19.03 MB / 0.5622 GB, free: 24.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.006, allocations: 0 / 0.5622 GB, free: 24.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/1.006, allocations: 0 / 0.5622 GB, free: 24.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001023/1.007, allocations: 0 / 0.5622 GB, free: 24.69 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.05408/1.061, allocations: 13.98 MB / 0.5758 GB, free: 18.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.061, allocations: 10.69 kB / 0.5758 GB, free: 18.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/1.078, allocations: 3.056 MB / 0.5788 GB, free: 16.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/1.095, allocations: 6.904 MB / 0.5856 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008351/1.096, allocations: 0.7489 MB / 0.5863 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007056/1.103, allocations: 1.1 MB / 0.5874 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08633/1.189, allocations: 33.89 MB / 0.6205 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004963/1.19, allocations: 85.42 kB / 0.6205 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006885/1.196, allocations: 450.5 kB / 0.621 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00862/1.205, allocations: 4.553 MB / 0.6254 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07856/1.284, allocations: 31.96 MB / 0.6566 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4538/1.737, allocations: 114.2 MB / 0.7681 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05254/1.79, allocations: 18.7 MB / 0.7864 GB, free: 188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01354/1.804, allocations: 10.02 MB / 0.7962 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0541/1.858, allocations: 32.24 MB / 0.8277 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.847e-05/1.858, allocations: 82.16 kB / 0.8278 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=512): time 1.093e-05/1.858, allocations: 0 / 0.8278 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=773): time 0.6133/2.471, allocations: 165.8 MB / 0.9897 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/2.471, allocations: 206.2 kB / 0.9899 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2331/2.704, allocations: 7.957 MB / 0.9977 GB, free: 237.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.002531/2.707, allocations: 146.8 kB / 0.9978 GB, free: 237.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005164/2.712, allocations: 6.933 MB / 1.005 GB, free: 234.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.005008/2.717, allocations: 2.736 MB / 1.007 GB, free: 233.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01103/2.728, allocations: 3.037 MB / 1.01 GB, free: 233 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/2.728, allocations: 306.3 kB / 1.011 GB, free: 232.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01973/2.748, allocations: 11.22 MB / 1.021 GB, free: 229.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02551/2.774, allocations: 17.78 MB / 1.039 GB, free: 216.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04023/2.814, allocations: 30.22 MB / 1.068 GB, free: 194.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004318/2.814, allocations: 64 kB / 1.068 GB, free: 194.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.05853/2.873, allocations: 29.52 MB / 1.097 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004104/2.873, allocations: 104 kB / 1.097 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004965/2.874, allocations: 220 kB / 1.098 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/2.874, allocations: 312 kB / 1.098 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02223/2.897, allocations: 4.589 MB / 1.102 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006528/2.897, allocations: 453.1 kB / 1.103 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01752/2.915, allocations: 1.185 MB / 1.104 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005431/2.92, allocations: 0.7496 MB / 1.105 GB, free: 161.7 MB / 0.5606 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.01866/2.939, allocations: 5.49 MB / 1.11 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004327/2.943, allocations: 0.8022 MB / 1.111 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04186/2.985, allocations: 21.35 MB / 1.132 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.379e-05/2.985, allocations: 81.03 kB / 1.132 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.602e-05/2.986, allocations: 0 / 1.132 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002202/2.986, allocations: 35.86 kB / 1.132 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1035/3.089, allocations: 45.92 MB / 1.177 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.273e-05/3.089, allocations: 4 kB / 1.177 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01492/3.104, allocations: 2.512 MB / 1.179 GB, free: 88.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/3.105, allocations: 32 kB / 1.179 GB, free: 88.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002803/3.107, allocations: 150.7 kB / 1.179 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.173e-05/3.108, allocations: 35.94 kB / 1.179 GB, free: 88.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/3.108, allocations: 11.94 kB / 1.179 GB, free: 88.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0523/3.16, allocations: 35.75 MB / 1.214 GB, free: 52.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00816/3.168, allocations: 2.888 MB / 1.217 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004964/3.173, allocations: 127.9 kB / 1.217 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01045/3.183, allocations: 0.7839 MB / 1.218 GB, free: 48.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003393/3.187, allocations: 424.5 kB / 1.218 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00219/3.189, allocations: 188 kB / 1.218 GB, free: 48.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.01121/3.2, allocations: 4.979 MB / 1.223 GB, free: 43.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.31e-07/3.2, allocations: 0 / 1.223 GB, free: 43.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01851/3.219, allocations: 3.282 MB / 1.227 GB, free: 39.81 MB / 0.5606 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.003534/3.222, allocations: 450.7 kB / 1.227 GB, free: 39.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3384/3.561, allocations: 54.43 MB / 1.28 GB, free: 212.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/3.561, allocations: 0 / 1.28 GB, free: 212.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01719/3.578, allocations: 10.65 MB / 1.291 GB, free: 202.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/3.592, allocations: 1.002 MB / 1.292 GB, free: 201.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08871/3.681, allocations: 41.52 MB / 1.332 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0255/3.706, allocations: 8.083 MB / 1.34 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01202/3.718, allocations: 0.7178 MB / 1.341 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.224e-06/3.718, allocations: 0 / 1.341 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.4959/4.214, allocations: 197.4 MB / 1.533 GB, free: 157.5 MB / 0.5606 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:44: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:106: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