Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.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.SpurGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear") translateModel(PlanarMechanics.GearComponents.Examples.SpurGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008604, allocations: 101.3 kB / 15.71 MB, free: 456 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.0008749/0.000875, allocations: 175.1 kB / 16.58 MB, free: 6.863 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.564/1.564, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2504/0.2504, allocations: 9.092 MB / 300.8 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003937, allocations: 15.98 kB / 363.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 52.43 MB / 416.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.3332/0.4851, allocations: 28.53 MB / 444.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.5038, allocations: 6.741 MB / 451.4 MB, free: 22.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00776/0.5116, allocations: 113.3 kB / 451.5 MB, free: 22.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005077/0.5167, allocations: 1.389 MB / 452.9 MB, free: 22.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.5339, allocations: 4.842 MB / 457.8 MB, free: 20.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.5365, allocations: 131 kB / 457.9 MB, free: 20.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009371/0.5459, allocations: 4.505 MB / 462.4 MB, free: 18.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003692/0.5497, allocations: 1.881 MB / 464.3 MB, free: 17.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.5526, allocations: 1.295 MB / 465.6 MB, free: 17.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.5567, allocations: 2.047 MB / 467.6 MB, free: 16.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.5578, allocations: 189.1 kB / 467.8 MB, free: 16.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.5601, allocations: 0.6947 MB / 468.5 MB, free: 16.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001952/0.5621, allocations: 1.752 MB / 470.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.5635, allocations: 0.9952 MB / 471.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.5744, allocations: 5.651 MB / 476.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.5745, allocations: 0 / 476.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.5745, allocations: 0 / 476.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004391/0.5749, allocations: 1.594 kB / 476.9 MB, free: 13.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1948 * Number of variables: 1948 Notification: Performance of Generate backend data structure: time 0.02915/0.6041, allocations: 6.066 MB / 483 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.672e-05/0.6042, allocations: 9.438 kB / 483 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.6179, allocations: 3.344 MB / 486.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007065/0.625, allocations: 2.022 MB / 488.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000412/0.6255, allocations: 234.2 kB / 488.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002292/0.6278, allocations: 310 kB / 488.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0321/0.6599, allocations: 13.44 MB / 0.4905 GB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001713/0.6602, allocations: 47.53 kB / 0.4906 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007033/0.6609, allocations: 159.8 kB / 0.4907 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005682/0.6666, allocations: 3.088 MB / 0.4938 GB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03183/0.6984, allocations: 11.88 MB / 0.5054 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0841/0.7826, allocations: 47.96 MB / 0.5522 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.7945, allocations: 3.766 MB / 0.5559 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.7972, allocations: 1.377 MB / 0.5572 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/0.8133, allocations: 9.217 MB / 0.5662 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/0.8134, allocations: 55.5 kB / 0.5663 GB, free: 12.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=202): time 8.035e-06/0.8135, allocations: 0 / 0.5663 GB, free: 12.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=211): time 0.02481/0.8383, allocations: 10.22 MB / 0.5762 GB, free: 2.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8385, allocations: 153.8 kB / 0.5764 GB, free: 2.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3877/1.226, allocations: 5.114 MB / 0.5814 GB, free: 123.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005104/1.227, allocations: 51.86 kB / 0.5814 GB, free: 123.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003487/1.23, allocations: 3.929 MB / 0.5853 GB, free: 121.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.232, allocations: 0.8389 MB / 0.5861 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005345/1.232, allocations: 155.4 kB / 0.5862 GB, free: 121.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005784/1.233, allocations: 0.6427 MB / 0.5869 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00466/1.237, allocations: 2.212 MB / 0.589 GB, free: 120.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007163/1.245, allocations: 7.292 MB / 0.5961 GB, free: 113.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007583/1.252, allocations: 4 MB / 0.6001 GB, free: 111.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002232/1.252, allocations: 52.06 kB / 0.6001 GB, free: 111.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.02634/1.279, allocations: 9.119 MB / 0.609 GB, free: 108.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003926/1.279, allocations: 85.62 kB / 0.6091 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006034/1.28, allocations: 180.4 kB / 0.6093 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/1.28, allocations: 262.6 kB / 0.6095 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007274/1.288, allocations: 1.844 MB / 0.6113 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006093/1.288, allocations: 354.2 kB / 0.6117 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009051/1.298, allocations: 372.4 kB / 0.612 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003045/1.301, allocations: 0.4944 MB / 0.6125 GB, free: 107.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 24 (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],gearB_Bearing.cylinderColor[3],gearB_Bearing.cylinderColor[2],gearB_Bearing.cylinderColor[1],gearB.sphereColor[3],gearB.sphereColor[2],gearB.sphereColor[1],gearA.sphereColor[3],gearA.sphereColor[2],gearA.sphereColor[1],gearA_Bearing.cylinderColor[3],gearA_Bearing.cylinderColor[2],gearA_Bearing.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (994): * Single equations (assignments): 987 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01093/1.312, allocations: 2.65 MB / 0.6151 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/1.313, allocations: 424.9 kB / 0.6155 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006114/1.319, allocations: 1.954 MB / 0.6174 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00015/1.32, allocations: 38.48 kB / 0.6174 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/1.32, allocations: 1.5 kB / 0.6174 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/1.32, allocations: 9.844 kB / 0.6174 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.347, allocations: 7.758 MB / 0.625 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/1.347, allocations: 11.81 kB / 0.625 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.348, allocations: 306.1 kB / 0.6253 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/1.348, allocations: 44.17 kB / 0.6254 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/1.349, allocations: 53.33 kB / 0.6254 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/1.35, allocations: 1.296 MB / 0.6267 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.738e-05/1.35, allocations: 20.25 kB / 0.6267 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007663/1.357, allocations: 4.37 MB / 0.631 GB, free: 98.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/1.36, allocations: 0.6944 MB / 0.6316 GB, free: 98.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/1.36, allocations: 47.36 kB / 0.6317 GB, free: 98.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.361, allocations: 72.28 kB / 0.6318 GB, free: 98.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/1.362, allocations: 149.5 kB / 0.6319 GB, free: 98.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.362, allocations: 77.73 kB / 0.632 GB, free: 98.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006201/1.368, allocations: 3.186 MB / 0.6351 GB, free: 96.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.368, allocations: 1.406 kB / 0.6351 GB, free: 96.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009572/1.378, allocations: 1.1 MB / 0.6362 GB, free: 96.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 2 (constantSpeed.phi,gearB.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 (163): * Single equations (assignments): 155 * Array equations: 7 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006077/1.378, allocations: 189.8 kB / 0.6363 GB, free: 96.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009532/1.388, allocations: 5.125 MB / 0.6413 GB, free: 92.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-05/1.388, allocations: 4 kB / 0.6414 GB, free: 92.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/1.39, allocations: 1.199 MB / 0.6425 GB, free: 91.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/1.394, allocations: 0.5336 MB / 0.643 GB, free: 91.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/1.418, allocations: 13.04 MB / 0.6558 GB, free: 79.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004715/1.423, allocations: 3.78 MB / 0.6595 GB, free: 76.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/1.424, allocations: 389.4 kB / 0.6598 GB, free: 75.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/1.424, allocations: 0 / 0.6598 GB, free: 75.81 MB / 446.1 MB Notification: Performance of Templates: time 0.124/1.548, allocations: 79.76 MB / 0.7377 GB, free: 13.39 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.makefile make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.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.SpurGearCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGearCalcHelperMain.o] Error 1