Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) 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(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") translateModel(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009226/0.009226, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001834/0.001834, allocations: 193.7 kB / 16.79 MB, free: 5.809 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.566/1.566, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2229/0.2229, allocations: 9.095 MB / 299.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.91 kB / 361.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.123, allocations: 51.44 MB / 413.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.2884/0.4114, allocations: 66.12 MB / 479.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0431/0.4546, allocations: 14.71 MB / 494.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01924/0.4738, allocations: 259.1 kB / 494.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00683/0.4807, allocations: 1.639 MB / 496 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.491, allocations: 2.817 MB / 498.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.494, allocations: 0.6507 MB / 499.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0191/0.5131, allocations: 8.76 MB / 0.4964 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009237/0.5224, allocations: 3.58 MB / 0.4999 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/0.5282, allocations: 1.861 MB / 0.5017 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007134/0.5353, allocations: 3.001 MB / 0.5046 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.537, allocations: 324 kB / 0.5049 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.5408, allocations: 1.17 MB / 0.5061 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002939/0.5437, allocations: 2.528 MB / 0.5085 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005183/0.5489, allocations: 3.37 MB / 0.5118 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.5601, allocations: 8.912 MB / 0.5205 GB, free: 13.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5601, allocations: 4 kB / 0.5205 GB, free: 13.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5601, allocations: 0 / 0.5205 GB, free: 13.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004095/0.5605, allocations: 4 kB / 0.5205 GB, free: 13.05 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2454 * Number of variables: 2454 Notification: Performance of Generate backend data structure: time 0.0371/0.5976, allocations: 10.89 MB / 0.5312 GB, free: 2.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.5977, allocations: 12.59 kB / 0.5312 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.6107, allocations: 3.536 MB / 0.5346 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008597/0.6194, allocations: 3.39 MB / 0.5379 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004223/0.6198, allocations: 332.4 kB / 0.5382 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/0.6223, allocations: 451.5 kB / 0.5387 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03777/0.6601, allocations: 17.61 MB / 0.5559 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002638/0.6604, allocations: 75.31 kB / 0.5559 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009897/0.6614, allocations: 227.7 kB / 0.5562 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005981/0.6674, allocations: 3.703 MB / 0.5598 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03638/0.7038, allocations: 15.4 MB / 0.5748 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5052/1.209, allocations: 71.94 MB / 0.6451 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02556/1.235, allocations: 7.345 MB / 0.6522 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007115/1.242, allocations: 3.331 MB / 0.6555 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02759/1.269, allocations: 14.49 MB / 0.6697 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.27, allocations: 70.97 kB / 0.6697 GB, free: 2.668 MB / 446.1 MB Notification: Performance of pre-optimization done (n=373): time 7.414e-06/1.27, allocations: 3.938 kB / 0.6697 GB, free: 2.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=420): time 0.0724/1.342, allocations: 25.47 MB / 0.6946 GB, free: 11.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.342, allocations: 207.1 kB / 0.6948 GB, free: 11.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.353, allocations: 6.57 MB / 0.7012 GB, free: 4.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.354, allocations: 85.7 kB / 0.7013 GB, free: 4.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004948/1.359, allocations: 4.775 MB / 0.706 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002581/1.362, allocations: 1.539 MB / 0.7075 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004723/1.366, allocations: 2.141 MB / 0.7095 GB, free: 12.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/1.367, allocations: 305.1 kB / 0.7098 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007193/1.374, allocations: 3.613 MB / 0.7134 GB, free: 8.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01697/1.391, allocations: 9.616 MB / 0.7228 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02398/1.415, allocations: 14.45 MB / 0.7369 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002546/1.415, allocations: 60 kB / 0.7369 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.03489/1.45, allocations: 13.38 MB / 0.75 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/1.45, allocations: 100.1 kB / 0.7501 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000412/1.451, allocations: 208 kB / 0.7503 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/1.452, allocations: 0.6086 MB / 0.7509 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009698/1.462, allocations: 2.459 MB / 0.7533 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008218/1.47, allocations: 4.744 MB / 0.7579 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009581/1.48, allocations: 491.5 kB / 0.7584 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002552/1.483, allocations: 0.6371 MB / 0.759 GB, free: 5.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 958 * Number of states: 0 () * Number of discrete variables: 42 (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],fixed.color[3],fixed.color[2],fixed.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],planetary.body3D.sphereColor[3],planetary.body3D.sphereColor[2],planetary.body3D.sphereColor[1],planetary.carrierPart.color[3],planetary.carrierPart.color[2],planetary.carrierPart.color[1],planetary.carrierAngle.color[3],planetary.carrierAngle.color[2],planetary.carrierAngle.color[1],planetary.bearing_Carrier.cylinderColor[3],planetary.bearing_Carrier.cylinderColor[2],planetary.bearing_Carrier.cylinderColor[1],planetary.bearing_Planet.cylinderColor[3],planetary.bearing_Planet.cylinderColor[2],planetary.bearing_Planet.cylinderColor[1],planetary.bearing_Ring.cylinderColor[3],planetary.bearing_Ring.cylinderColor[2],planetary.bearing_Ring.cylinderColor[1],planetary.bearing_Sun.cylinderColor[3],planetary.bearing_Sun.cylinderColor[2],planetary.bearing_Sun.cylinderColor[1],planetary.planet.sphereColor[3],planetary.planet.sphereColor[2],planetary.planet.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1307): * Single equations (assignments): 1298 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,28,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008267/1.491, allocations: 3.514 MB / 0.7624 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/1.492, allocations: 0.5784 MB / 0.763 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.503, allocations: 5.232 MB / 0.7681 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/1.503, allocations: 63.98 kB / 0.7682 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/1.503, allocations: 16.06 kB / 0.7682 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/1.503, allocations: 23.92 kB / 0.7682 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3432/1.846, allocations: 20.07 MB / 0.7878 GB, free: 211.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/1.846, allocations: 20.59 kB / 0.7878 GB, free: 211.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/1.849, allocations: 0.6826 MB / 0.7885 GB, free: 211.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000859/1.85, allocations: 347.4 kB / 0.7888 GB, free: 211.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003627/1.85, allocations: 105.3 kB / 0.7889 GB, free: 211.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/1.856, allocations: 6.156 MB / 0.7949 GB, free: 207.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.56e-05/1.856, allocations: 41.09 kB / 0.795 GB, free: 207.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/1.869, allocations: 9.751 MB / 0.8045 GB, free: 202.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/1.872, allocations: 1.121 MB / 0.8056 GB, free: 202.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/1.874, allocations: 106.9 kB / 0.8057 GB, free: 202.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003357/1.877, allocations: 164.2 kB / 0.8059 GB, free: 202.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006243/1.878, allocations: 318.3 kB / 0.8062 GB, free: 202.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/1.878, allocations: 139.9 kB / 0.8063 GB, free: 202.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00751/1.885, allocations: 4.354 MB / 0.8105 GB, free: 200.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/1.885, allocations: 2.344 kB / 0.8105 GB, free: 200.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01095/1.896, allocations: 1.627 MB / 0.8121 GB, free: 200.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 104 * Number of states: 6 (heatCapacitor.T,planetary.planet.phi,planetary.bearing_Carrier.phi,planetary.bearing_Carrier.w,sunSpeed.phi,ringTorque.phi) * 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 (365): * Single equations (assignments): 356 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,22,52.0%), (1,1,100.0%), (1,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.00116/1.898, allocations: 271.6 kB / 0.8124 GB, free: 200.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01685/1.914, allocations: 8.696 MB / 0.8209 GB, free: 197.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-05/1.914, allocations: 3.438 kB / 0.8209 GB, free: 197.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005393/1.92, allocations: 3.016 MB / 0.8238 GB, free: 195.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007782/1.928, allocations: 0.8164 MB / 0.8246 GB, free: 195.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/1.963, allocations: 19.92 MB / 0.8441 GB, free: 184.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007592/1.97, allocations: 4.934 MB / 0.8489 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/1.973, allocations: 0.5351 MB / 0.8494 GB, free: 182.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.183e-06/1.973, allocations: 7.828 kB / 0.8494 GB, free: 182.1 MB / 0.545 GB Notification: Performance of Templates: time 0.4934/2.466, allocations: 169.8 MB / 1.015 GB, free: 197.9 MB / 0.545 GB make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.makefile make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.makefile clang++ -std=c++14 NOTFOUND -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 OMCppPlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGearCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGearCalcHelperMain.o] Error 1