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.0008517/0.0008517, 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.001077/0.001077, allocations: 186.2 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.568/1.568, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1833/0.1833, allocations: 9.096 MB / 301.2 MB, free: 2.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 8 kB / 364.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 52.42 MB / 416.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.2674/0.3858, allocations: 13.74 MB / 430.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008056/0.3939, allocations: 3.73 MB / 434.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.3958, allocations: 47.22 kB / 434.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007422/0.3966, allocations: 250.5 kB / 434.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.4002, allocations: 1.061 MB / 435.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.4006, allocations: 71.72 kB / 435.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004248/0.4049, allocations: 2.892 MB / 438.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005615/0.4055, allocations: 174.4 kB / 438.7 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.4071, allocations: 0.589 MB / 439.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.4087, allocations: 1.061 MB / 440.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.409, allocations: 99.69 kB / 440.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.4103, allocations: 0.6998 MB / 441.2 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008014/0.4111, allocations: 0.9614 MB / 442.1 MB, free: 32.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.4121, allocations: 1.237 MB / 443.4 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.4147, allocations: 3.202 MB / 446.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4147, allocations: 0 / 446.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4148, allocations: 0 / 446.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.421e-05/0.4148, allocations: 3.562 kB / 446.6 MB, free: 31.3 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.006476/0.4213, allocations: 3.072 MB / 449.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.4214, allocations: 10.09 kB / 449.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006052/0.4274, allocations: 1.752 MB / 451.4 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.4292, allocations: 1.16 MB / 452.6 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.4293, allocations: 108.1 kB / 452.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.4296, allocations: 150.8 kB / 452.8 MB, free: 28.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00952/0.4391, allocations: 7.048 MB / 459.9 MB, free: 25.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.306e-05/0.4393, allocations: 25.56 kB / 459.9 MB, free: 25.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.4395, allocations: 70.75 kB / 460 MB, free: 25.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002898/0.4424, allocations: 1.727 MB / 461.7 MB, free: 25.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.4579, allocations: 6.462 MB / 468.2 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03659/0.4945, allocations: 20.97 MB / 489.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/0.499, allocations: 1.931 MB / 491.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.5, allocations: 0.6102 MB / 491.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005062/0.5051, allocations: 3.343 MB / 495 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5052, allocations: 39.12 kB / 495.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 5.651e-06/0.5052, allocations: 1.078 kB / 495.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.004032/0.5092, allocations: 1.819 MB / 496.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.5093, allocations: 55.97 kB / 496.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.513, allocations: 2.196 MB / 499.1 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.513, allocations: 37.64 kB / 499.2 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.5145, allocations: 1.821 MB / 0.4892 GB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.5149, allocations: 367.3 kB / 0.4896 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.5153, allocations: 256.4 kB / 0.4898 GB, free: 13.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5155, allocations: 317 kB / 0.4901 GB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.5173, allocations: 1.002 MB / 0.4911 GB, free: 12.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.5206, allocations: 2.901 MB / 0.4939 GB, free: 8.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006151/0.5268, allocations: 4.189 MB / 0.498 GB, free: 3.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.645e-05/0.5269, allocations: 20 kB / 0.4981 GB, free: 3.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.008418/0.5353, allocations: 3.815 MB / 0.5018 GB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.5355, allocations: 32 kB / 0.5018 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.5356, allocations: 75.88 kB / 0.5019 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.5358, allocations: 94.8 kB / 0.502 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/0.5383, allocations: 0.7174 MB / 0.5027 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001487/0.5385, allocations: 127.5 kB / 0.5028 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.5415, allocations: 471 kB / 0.5032 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004117/0.5419, allocations: 192 kB / 0.5034 GB, free: 13.87 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.003083/0.545, allocations: 1.394 MB / 0.5048 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/0.5454, allocations: 173.8 kB / 0.505 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.5478, allocations: 1.201 MB / 0.5061 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/0.548, allocations: 23.92 kB / 0.5062 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.548, allocations: 0 / 0.5062 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.548, allocations: 3.984 kB / 0.5062 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/0.5563, allocations: 3.937 MB / 0.51 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.5563, allocations: 4 kB / 0.51 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.557, allocations: 135.8 kB / 0.5101 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/0.557, allocations: 4 kB / 0.5101 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.5571, allocations: 28.34 kB / 0.5102 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.5571, allocations: 7.938 kB / 0.5102 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5571, allocations: 0 / 0.5102 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/0.5601, allocations: 1.957 MB / 0.5121 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/0.5608, allocations: 282.6 kB / 0.5124 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/0.5613, allocations: 16.06 kB / 0.5124 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/0.5621, allocations: 44.03 kB / 0.5124 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5623, allocations: 48.44 kB / 0.5125 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.5624, allocations: 31.98 kB / 0.5125 GB, free: 4.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002983/0.5653, allocations: 1.412 MB / 0.5139 GB, free: 3.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5654, allocations: 0 / 0.5139 GB, free: 3.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003462/0.5688, allocations: 0.7159 MB / 0.5146 GB, free: 2.301 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.0005104/0.5693, allocations: 151.1 kB / 0.5147 GB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00431/0.5737, allocations: 2.237 MB / 0.5169 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5737, allocations: 0 / 0.5169 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.5745, allocations: 0.5227 MB / 0.5174 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.577, allocations: 301.5 kB / 0.5177 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.5908, allocations: 7.028 MB / 0.5246 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003409/0.5943, allocations: 2.287 MB / 0.5268 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007221/0.595, allocations: 175.4 kB / 0.527 GB, free: 5.527 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5951, allocations: 0 / 0.527 GB, free: 5.527 MB / 398.1 MB Notification: Performance of Templates: time 0.05955/0.6546, allocations: 33.19 MB / 0.5594 GB, free: 4.504 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