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.001076/0.001076, allocations: 102.7 kB / 15.71 MB, free: 460 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.00112/0.00112, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.612/1.612, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1863/0.1863, allocations: 9.097 MB / 300.8 MB, free: 2.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003598, allocations: 12 kB / 363.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 52.44 MB / 416.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.3181/0.4342, allocations: 59.99 MB / 476.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03857/0.4729, allocations: 14.04 MB / 490.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02207/0.495, allocations: 258.2 kB / 490.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.5087, allocations: 2.984 MB / 493.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0417/0.5504, allocations: 10 MB / 0.4916 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.5556, allocations: 0.6039 MB / 0.4922 GB, free: 5.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.5724, allocations: 7.075 MB / 0.4991 GB, free: 3.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007325/0.5798, allocations: 3.728 MB / 0.5028 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.5844, allocations: 1.888 MB / 0.5046 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.589, allocations: 2.815 MB / 0.5074 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000901/0.59, allocations: 272 kB / 0.5076 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.5925, allocations: 0.9479 MB / 0.5086 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00263/0.5952, allocations: 2.403 MB / 0.5109 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.5972, allocations: 1.415 MB / 0.5123 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.6074, allocations: 8.67 MB / 0.5208 GB, free: 14.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6075, allocations: 3.938 kB / 0.5208 GB, free: 14.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.6075, allocations: 0 / 0.5208 GB, free: 14.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003196/0.6078, allocations: 0 / 0.5208 GB, free: 14.82 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.03079/0.6386, allocations: 9.455 MB / 0.53 GB, free: 5.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/0.6387, allocations: 8.031 kB / 0.53 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/0.6529, allocations: 3.629 MB / 0.5335 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009051/0.662, allocations: 3.312 MB / 0.5368 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.6624, allocations: 344.3 kB / 0.5371 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.6639, allocations: 451.4 kB / 0.5375 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0369/0.7008, allocations: 17.58 MB / 0.5547 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/0.7011, allocations: 83.25 kB / 0.5548 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008362/0.7019, allocations: 219.7 kB / 0.555 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00613/0.7081, allocations: 3.715 MB / 0.5586 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03836/0.7465, allocations: 15.34 MB / 0.5736 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4548/1.201, allocations: 71.96 MB / 0.6439 GB, free: 66.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02523/1.227, allocations: 7.295 MB / 0.651 GB, free: 62.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008455/1.235, allocations: 3.306 MB / 0.6542 GB, free: 61.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03871/1.274, allocations: 14.51 MB / 0.6684 GB, free: 53.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/1.274, allocations: 72.39 kB / 0.6685 GB, free: 53.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=373): time 1.385e-05/1.274, allocations: 0 / 0.6685 GB, free: 53.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=420): time 0.0836/1.358, allocations: 25.38 MB / 0.6932 GB, free: 38.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/1.358, allocations: 196.8 kB / 0.6934 GB, free: 37.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008957/1.367, allocations: 6.538 MB / 0.6998 GB, free: 31.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008612/1.368, allocations: 88.73 kB / 0.6999 GB, free: 31.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/1.371, allocations: 4.772 MB / 0.7046 GB, free: 26.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001871/1.372, allocations: 1.544 MB / 0.7061 GB, free: 25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/1.373, allocations: 215 kB / 0.7063 GB, free: 24.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004279/1.373, allocations: 0.7606 MB / 0.707 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005024/1.378, allocations: 3.57 MB / 0.7105 GB, free: 20.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007841/1.386, allocations: 9.579 MB / 0.7199 GB, free: 7.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00847/1.395, allocations: 5.895 MB / 0.7256 GB, free: 2.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/1.395, allocations: 60 kB / 0.7257 GB, free: 1.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.0341/1.429, allocations: 13.29 MB / 0.7387 GB, free: 4.645 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005769/1.43, allocations: 99.95 kB / 0.7388 GB, free: 4.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006756/1.43, allocations: 212.9 kB / 0.739 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/1.432, allocations: 0.6338 MB / 0.7396 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/1.443, allocations: 2.456 MB / 0.742 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008458/1.451, allocations: 4.75 MB / 0.7466 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/1.462, allocations: 499.5 kB / 0.7471 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003183/1.465, allocations: 0.633 MB / 0.7477 GB, free: 11.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,44.4%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01193/1.477, allocations: 3.51 MB / 0.7511 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002815/1.48, allocations: 0.5784 MB / 0.7517 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.495, allocations: 5.2 MB / 0.7568 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000134/1.495, allocations: 71.98 kB / 0.7568 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-05/1.495, allocations: 8 kB / 0.7569 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.035e-05/1.495, allocations: 19.92 kB / 0.7569 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4252/1.92, allocations: 20.04 MB / 0.7764 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/1.92, allocations: 23.66 kB / 0.7765 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/1.923, allocations: 0.6777 MB / 0.7771 GB, free: 130.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008404/1.924, allocations: 347 kB / 0.7775 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003168/1.924, allocations: 102.3 kB / 0.7776 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/1.93, allocations: 6.161 MB / 0.7836 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/1.93, allocations: 33.25 kB / 0.7836 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.944, allocations: 9.721 MB / 0.7931 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004123/1.949, allocations: 1.151 MB / 0.7942 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001877/1.95, allocations: 99.55 kB / 0.7943 GB, free: 120.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003658/1.954, allocations: 161.3 kB / 0.7945 GB, free: 120.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006492/1.955, allocations: 322.2 kB / 0.7948 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003525/1.955, allocations: 139.7 kB / 0.7949 GB, free: 120.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01287/1.968, allocations: 4.315 MB / 0.7991 GB, free: 118.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.21e-07/1.968, allocations: 0 / 0.7991 GB, free: 118.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01575/1.984, allocations: 1.63 MB / 0.8007 GB, free: 118.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,52.0%) 22,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/1.986, allocations: 261.4 kB / 0.801 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02223/2.008, allocations: 8.659 MB / 0.8094 GB, free: 115 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.769e-05/2.008, allocations: 3.562 kB / 0.8094 GB, free: 115 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008615/2.017, allocations: 3.005 MB / 0.8124 GB, free: 113.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/2.027, allocations: 0.8282 MB / 0.8132 GB, free: 113.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04997/2.077, allocations: 19.31 MB / 0.832 GB, free: 99.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/2.09, allocations: 4.93 MB / 0.8368 GB, free: 96.01 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003092/2.093, allocations: 0.5389 MB / 0.8374 GB, free: 95.52 MB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/2.093, allocations: 0 / 0.8374 GB, free: 95.52 MB / 478.1 MB Notification: Performance of Templates: time 0.5491/2.642, allocations: 168.6 MB / 1.002 GB, free: 97.72 MB / 478.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.makefile make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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