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.0008931/0.0008934, allocations: 99.5 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.001545/0.001545, allocations: 183.4 kB / 16.92 MB, free: 6.914 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.534/1.534, allocations: 223.2 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.2317/0.2317, allocations: 9.105 MB / 301.2 MB, free: 2.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 11.98 kB / 364.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 52.42 MB / 416.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.2985/0.4342, allocations: 30.63 MB / 447.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.4523, allocations: 7.033 MB / 454.4 MB, free: 21.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00733/0.4597, allocations: 114.1 kB / 454.5 MB, free: 21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.4614, allocations: 0.5161 MB / 455.1 MB, free: 20.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.4674, allocations: 1.913 MB / 457 MB, free: 19.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.4682, allocations: 129.3 kB / 457.1 MB, free: 19.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007231/0.4754, allocations: 5.704 MB / 462.8 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.4787, allocations: 1.932 MB / 464.7 MB, free: 17.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.4813, allocations: 1.184 MB / 465.9 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.4846, allocations: 2.082 MB / 468 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008999/0.4855, allocations: 186.2 kB / 468.2 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.4877, allocations: 0.7869 MB / 469 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.4897, allocations: 1.833 MB / 470.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002938/0.4926, allocations: 2.368 MB / 473.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.5035, allocations: 5.651 MB / 478.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5035, allocations: 1.469 kB / 478.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5035, allocations: 0 / 478.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004925/0.504, allocations: 0 / 478.8 MB, free: 12.2 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.03061/0.5346, allocations: 6.007 MB / 484.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.5347, allocations: 14.19 kB / 484.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.5487, allocations: 3.353 MB / 488.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007788/0.5565, allocations: 2.059 MB / 490.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003969/0.557, allocations: 233.4 kB / 490.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.559, allocations: 308.9 kB / 490.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02868/0.5877, allocations: 13.45 MB / 0.4924 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/0.588, allocations: 59.52 kB / 0.4925 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007352/0.5888, allocations: 155.8 kB / 0.4926 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005724/0.5945, allocations: 3.08 MB / 0.4956 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02929/0.6238, allocations: 11.94 MB / 0.5073 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08201/0.7059, allocations: 47.99 MB / 0.5542 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.7192, allocations: 3.788 MB / 0.5579 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/0.7222, allocations: 1.383 MB / 0.5592 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01764/0.7398, allocations: 9.217 MB / 0.5682 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.74, allocations: 55.44 kB / 0.5683 GB, free: 11.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=202): time 6.512e-06/0.74, allocations: 0 / 0.5683 GB, free: 11.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=211): time 0.02794/0.7679, allocations: 10.24 MB / 0.5783 GB, free: 0.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.7681, allocations: 153.8 kB / 0.5784 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3241/1.092, allocations: 5.14 MB / 0.5834 GB, free: 124.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004202/1.093, allocations: 52.8 kB / 0.5835 GB, free: 124.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002966/1.096, allocations: 3.936 MB / 0.5873 GB, free: 123 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.097, allocations: 0.832 MB / 0.5881 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.098, allocations: 0.6508 MB / 0.5888 GB, free: 122.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/1.098, allocations: 301.1 kB / 0.5891 GB, free: 122.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/1.102, allocations: 2.245 MB / 0.5912 GB, free: 121.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006528/1.108, allocations: 7.322 MB / 0.5984 GB, free: 114.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.12, allocations: 10.38 MB / 0.6085 GB, free: 104.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002732/1.12, allocations: 50.88 kB / 0.6086 GB, free: 104.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.01965/1.14, allocations: 9.189 MB / 0.6176 GB, free: 101.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/1.14, allocations: 86.66 kB / 0.6176 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004724/1.141, allocations: 178.6 kB / 0.6178 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/1.141, allocations: 241.2 kB / 0.618 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007852/1.149, allocations: 1.84 MB / 0.6198 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008926/1.15, allocations: 354.6 kB / 0.6202 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007982/1.158, allocations: 368.7 kB / 0.6205 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.16, allocations: 0.5019 MB / 0.621 GB, free: 100.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00894/1.169, allocations: 2.648 MB / 0.6236 GB, free: 99.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/1.171, allocations: 422.7 kB / 0.624 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00664/1.178, allocations: 1.963 MB / 0.6259 GB, free: 98.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001878/1.178, allocations: 37.58 kB / 0.626 GB, free: 98.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/1.178, allocations: 1.344 kB / 0.626 GB, free: 98.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/1.178, allocations: 8.469 kB / 0.626 GB, free: 98.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.202, allocations: 7.769 MB / 0.6336 GB, free: 95.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.417e-05/1.202, allocations: 12.06 kB / 0.6336 GB, free: 95.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.203, allocations: 308.3 kB / 0.6339 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/1.203, allocations: 39.81 kB / 0.6339 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.204, allocations: 54.89 kB / 0.634 GB, free: 95.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/1.205, allocations: 1.298 MB / 0.6352 GB, free: 93.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-05/1.205, allocations: 23.31 kB / 0.6352 GB, free: 93.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006543/1.211, allocations: 4.384 MB / 0.6395 GB, free: 91.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.214, allocations: 0.6935 MB / 0.6402 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/1.215, allocations: 48.39 kB / 0.6402 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/1.218, allocations: 71.7 kB / 0.6403 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/1.218, allocations: 146.7 kB / 0.6405 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/1.218, allocations: 82.05 kB / 0.6405 GB, free: 90.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.009096/1.228, allocations: 3.21 MB / 0.6437 GB, free: 88.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.71e-07/1.228, allocations: 1.219 kB / 0.6437 GB, free: 88.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00997/1.238, allocations: 1.1 MB / 0.6447 GB, free: 87.78 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 (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 {(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.0008817/1.238, allocations: 200.9 kB / 0.6449 GB, free: 87.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.249, allocations: 5.154 MB / 0.65 GB, free: 83.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/1.249, allocations: 4.562 kB / 0.65 GB, free: 83.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/1.251, allocations: 1.205 MB / 0.6511 GB, free: 81.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01182/1.263, allocations: 0.5424 MB / 0.6517 GB, free: 81.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/1.287, allocations: 13.56 MB / 0.6649 GB, free: 68.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/1.292, allocations: 3.787 MB / 0.6686 GB, free: 65.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.293, allocations: 392.6 kB / 0.669 GB, free: 65.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.953e-06/1.293, allocations: 0 / 0.669 GB, free: 65.46 MB / 446.1 MB Notification: Performance of Templates: time 0.4015/1.695, allocations: 79.64 MB / 0.7468 GB, free: 123.2 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.makefile make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.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.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