Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.Examples.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") translateModel(PlanarMechanics.Examples.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007766/0.007766, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001374/0.001374, allocations: 195.8 kB / 16.79 MB, free: 6.254 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.524/1.524, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.193/0.193, allocations: 9.101 MB / 299.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.11 kB / 361.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 51.44 MB / 413.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.3107/0.4449, allocations: 14.32 MB / 427.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009127/0.454, allocations: 3.771 MB / 431.4 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.4575, allocations: 50.66 kB / 431.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.4585, allocations: 252 kB / 431.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.4617, allocations: 1.068 MB / 432.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.462, allocations: 62.92 kB / 432.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.4646, allocations: 2.887 MB / 435.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.4649, allocations: 174.3 kB / 435.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/0.4656, allocations: 0.586 MB / 436.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.4668, allocations: 1.066 MB / 437.6 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.467, allocations: 103.5 kB / 437.7 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.4681, allocations: 0.701 MB / 438.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.4688, allocations: 0.9415 MB / 439.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008665/0.4697, allocations: 1.215 MB / 440.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.4727, allocations: 3.297 MB / 443.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.4728, allocations: 0 / 443.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4728, allocations: 6.812 kB / 443.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.988e-05/0.4729, allocations: 4 kB / 443.8 MB, free: 31.45 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: 981 * Number of variables: 981 Notification: Performance of Generate backend data structure: time 0.009713/0.4826, allocations: 3.59 MB / 447.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.4827, allocations: 9.875 kB / 447.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006025/0.4887, allocations: 1.699 MB / 449.1 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.491, allocations: 1.168 MB / 450.3 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.4911, allocations: 112.1 kB / 450.4 MB, free: 28.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.4915, allocations: 147.8 kB / 450.5 MB, free: 28.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.504, allocations: 7.052 MB / 457.6 MB, free: 25.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.5042, allocations: 22.06 kB / 457.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000453/0.5047, allocations: 79.25 kB / 457.7 MB, free: 25.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003819/0.5085, allocations: 1.712 MB / 459.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.5268, allocations: 6.469 MB / 465.9 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04371/0.5706, allocations: 20.96 MB / 486.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00472/0.5753, allocations: 1.932 MB / 488.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.5766, allocations: 0.5946 MB / 489.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007182/0.5839, allocations: 3.345 MB / 492.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5839, allocations: 43.12 kB / 492.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 8.446e-06/0.584, allocations: 0 / 492.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.004877/0.5889, allocations: 1.822 MB / 494.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.5889, allocations: 59.97 kB / 494.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.594, allocations: 2.2 MB / 496.8 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.5941, allocations: 33.7 kB / 496.9 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.5963, allocations: 1.813 MB / 498.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007167/0.5971, allocations: 371.3 kB / 499 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.5988, allocations: 0.6428 MB / 499.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.599, allocations: 301.1 kB / 500 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.6015, allocations: 1.009 MB / 0.4892 GB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005094/0.6066, allocations: 2.905 MB / 0.4921 GB, free: 8.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007607/0.6143, allocations: 4.186 MB / 0.4962 GB, free: 3.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.733e-05/0.6144, allocations: 16 kB / 0.4962 GB, free: 3.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.008321/0.6227, allocations: 3.83 MB / 0.4999 GB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.6229, allocations: 32 kB / 0.5 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/0.623, allocations: 71.94 kB / 0.5 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.6232, allocations: 88.75 kB / 0.5001 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.626, allocations: 0.7135 MB / 0.5008 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002059/0.6263, allocations: 135.4 kB / 0.5009 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/0.6302, allocations: 471 kB / 0.5014 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008164/0.6311, allocations: 196 kB / 0.5016 GB, free: 13.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 3 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (387): * Single equations (assignments): 383 * Array equations: 4 * 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.003378/0.6345, allocations: 1.394 MB / 0.5029 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006393/0.6351, allocations: 169.8 kB / 0.5031 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.6381, allocations: 1.197 MB / 0.5043 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001203/0.6382, allocations: 23.97 kB / 0.5043 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.6382, allocations: 0 / 0.5043 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6383, allocations: 3.984 kB / 0.5043 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009991/0.6483, allocations: 3.937 MB / 0.5081 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6483, allocations: 4 kB / 0.5081 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.649, allocations: 135.8 kB / 0.5083 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.649, allocations: 4 kB / 0.5083 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.6491, allocations: 16 kB / 0.5083 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/0.6491, allocations: 15.86 kB / 0.5083 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6491, allocations: 4.438 kB / 0.5083 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/0.6522, allocations: 1.969 MB / 0.5102 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/0.653, allocations: 262.8 kB / 0.5105 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/0.6534, allocations: 12 kB / 0.5105 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/0.6543, allocations: 39.84 kB / 0.5105 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6544, allocations: 44.5 kB / 0.5106 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.6545, allocations: 35.98 kB / 0.5106 GB, free: 4.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003169/0.6577, allocations: 1.416 MB / 0.512 GB, free: 2.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6577, allocations: 0 / 0.512 GB, free: 2.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00376/0.6615, allocations: 0.7003 MB / 0.5127 GB, free: 1.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (body.v[1],body.w,slipBasedRolling.frame_a.x,slipBasedRolling.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 (69): * Single equations (assignments): 65 * Array equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0005173/0.662, allocations: 155.1 kB / 0.5128 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.6666, allocations: 2.243 MB / 0.515 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.6666, allocations: 0 / 0.515 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.6675, allocations: 0.5228 MB / 0.5155 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.6699, allocations: 297.2 kB / 0.5158 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.6842, allocations: 6.933 MB / 0.5226 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003993/0.6882, allocations: 2.291 MB / 0.5248 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/0.689, allocations: 163.4 kB / 0.525 GB, free: 5.309 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.689, allocations: 0 / 0.525 GB, free: 5.309 MB / 398.1 MB Notification: Performance of Templates: time 0.06652/0.7556, allocations: 33.74 MB / 0.5579 GB, free: 3.758 MB / 430.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.Examples.CounterSpinCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CounterSpinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CounterSpinCalcHelperMain.o] Error 1