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.001173/0.001173, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 184 kB / 16.92 MB, free: 6.684 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.619/1.619, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2598/0.2598, allocations: 9.101 MB / 301.2 MB, free: 2.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004478, allocations: 12 kB / 364.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 52.44 MB / 416.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.3333/0.48, allocations: 64.5 MB / 481.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04114/0.5212, allocations: 14.62 MB / 495.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01914/0.5404, allocations: 262.1 kB / 496.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.5438, allocations: 0.6859 MB / 496.9 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.5543, allocations: 2.809 MB / 499.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.5568, allocations: 0.6612 MB / 0.4886 GB, free: 5.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01688/0.5737, allocations: 8.762 MB / 0.4972 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.5838, allocations: 4.054 MB / 0.5011 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005425/0.5892, allocations: 1.742 MB / 0.5028 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007803/0.5971, allocations: 2.852 MB / 0.5056 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00255/0.5996, allocations: 272 kB / 0.5059 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/0.6061, allocations: 1.13 MB / 0.507 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005059/0.6112, allocations: 2.481 MB / 0.5094 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009023/0.6203, allocations: 3.309 MB / 0.5126 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.6334, allocations: 8.67 MB / 0.5211 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6334, allocations: 4 kB / 0.5211 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6334, allocations: 0 / 0.5211 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006646/0.6341, allocations: 0 / 0.5211 GB, free: 14.59 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.04387/0.678, allocations: 9.375 MB / 0.5302 GB, free: 5.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/0.6781, allocations: 8.594 kB / 0.5303 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02133/0.6994, allocations: 3.63 MB / 0.5338 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.712, allocations: 3.383 MB / 0.5371 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/0.7127, allocations: 340.4 kB / 0.5374 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003471/0.7162, allocations: 451.5 kB / 0.5379 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05302/0.7693, allocations: 17.62 MB / 0.5551 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004515/0.7697, allocations: 75.3 kB / 0.5551 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/0.7724, allocations: 223.7 kB / 0.5553 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007305/0.7798, allocations: 3.703 MB / 0.559 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03719/0.817, allocations: 15.41 MB / 0.574 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4307/1.248, allocations: 71.99 MB / 0.6443 GB, free: 65.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0247/1.273, allocations: 7.313 MB / 0.6515 GB, free: 62.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00698/1.28, allocations: 3.319 MB / 0.6547 GB, free: 61.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03142/1.311, allocations: 14.51 MB / 0.6689 GB, free: 53.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/1.311, allocations: 72.44 kB / 0.6689 GB, free: 53.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=373): time 6.533e-06/1.311, allocations: 0 / 0.6689 GB, free: 53.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=420): time 0.0701/1.381, allocations: 25.42 MB / 0.6938 GB, free: 37.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/1.381, allocations: 196.8 kB / 0.694 GB, free: 37.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.392, allocations: 6.573 MB / 0.7004 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008174/1.393, allocations: 84.98 kB / 0.7005 GB, free: 30.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002666/1.395, allocations: 4.777 MB / 0.7051 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001997/1.397, allocations: 1.552 MB / 0.7066 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/1.398, allocations: 0.8736 MB / 0.7075 GB, free: 23.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/1.398, allocations: 305.1 kB / 0.7078 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005503/1.404, allocations: 3.609 MB / 0.7113 GB, free: 19.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008843/1.413, allocations: 9.622 MB / 0.7207 GB, free: 7.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/1.434, allocations: 14.45 MB / 0.7348 GB, free: 5.676 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002822/1.434, allocations: 64 kB / 0.7349 GB, free: 5.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.0336/1.468, allocations: 13.38 MB / 0.7479 GB, free: 8.203 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/1.468, allocations: 96 kB / 0.748 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004962/1.469, allocations: 208 kB / 0.7482 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/1.47, allocations: 0.6104 MB / 0.7488 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01459/1.485, allocations: 2.452 MB / 0.7512 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2523/1.737, allocations: 4.771 MB / 0.7559 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/1.748, allocations: 489.8 kB / 0.7563 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/1.75, allocations: 0.6292 MB / 0.757 GB, free: 131.5 MB / 478.1 MB 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.01056/1.761, allocations: 3.504 MB / 0.7604 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002009/1.763, allocations: 0.5853 MB / 0.761 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.777, allocations: 5.226 MB / 0.7661 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001433/1.777, allocations: 65.7 kB / 0.7661 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/1.777, allocations: 9.609 kB / 0.7661 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/1.777, allocations: 18.81 kB / 0.7661 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04905/1.826, allocations: 20.07 MB / 0.7858 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-05/1.827, allocations: 27.53 kB / 0.7858 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004427/1.831, allocations: 0.675 MB / 0.7864 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/1.832, allocations: 347.2 kB / 0.7868 GB, free: 122.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005676/1.833, allocations: 104.3 kB / 0.7869 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007909/1.841, allocations: 6.168 MB / 0.7929 GB, free: 117.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-05/1.841, allocations: 38.06 kB / 0.7929 GB, free: 117.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/1.858, allocations: 9.755 MB / 0.8025 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003175/1.861, allocations: 1.15 MB / 0.8036 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/1.863, allocations: 104 kB / 0.8037 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/1.867, allocations: 161 kB / 0.8038 GB, free: 112.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007872/1.867, allocations: 319.5 kB / 0.8041 GB, free: 112.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004184/1.868, allocations: 137.4 kB / 0.8043 GB, free: 112.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01089/1.879, allocations: 4.352 MB / 0.8085 GB, free: 110.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.052e-06/1.879, allocations: 0 / 0.8085 GB, free: 110.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01158/1.89, allocations: 1.625 MB / 0.8101 GB, free: 110.4 MB / 478.1 MB 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.001217/1.892, allocations: 268 kB / 0.8104 GB, free: 110.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01621/1.908, allocations: 8.705 MB / 0.8189 GB, free: 107 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.261e-05/1.908, allocations: 6.766 kB / 0.8189 GB, free: 107 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005842/1.914, allocations: 3.019 MB / 0.8218 GB, free: 105.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02657/1.94, allocations: 0.8326 MB / 0.8226 GB, free: 105.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03984/1.98, allocations: 20.05 MB / 0.8422 GB, free: 87.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008794/1.989, allocations: 4.931 MB / 0.847 GB, free: 83.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/1.992, allocations: 0.5416 MB / 0.8476 GB, free: 82.71 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/1.992, allocations: 0 / 0.8476 GB, free: 82.71 MB / 478.1 MB Notification: Performance of Templates: time 0.5517/2.543, allocations: 168.4 MB / 1.012 GB, free: 81.14 MB / 478.1 MB 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