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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 179.3 kB / 15.78 MB, free: 384 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 239.8 MB, free: 5.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009559, allocations: 99.03 kB / 291 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/package.mo): time 0.04/0.04, allocations: 9.124 MB / 351.2 MB, free: 4.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8.031 kB / 414.1 MB, free: 42.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 52.43 MB / 466.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.01254/0.1301, allocations: 12.86 MB / 479.3 MB, free: 432 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008473/0.1386, allocations: 3.556 MB / 482.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.1409, allocations: 47.94 kB / 483 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.1425, allocations: 0.5871 MB / 483.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.1484, allocations: 2.191 MB / 485.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1489, allocations: 63.94 kB / 485.8 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003525/0.1524, allocations: 2.261 MB / 488.1 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.1528, allocations: 178.8 kB / 488.2 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.1537, allocations: 0.6225 MB / 488.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.1552, allocations: 1.051 MB / 489.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.1554, allocations: 104 kB / 490 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.1566, allocations: 0.6085 MB / 490.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009091/0.1576, allocations: 0.9115 MB / 491.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.1581, allocations: 0.543 MB / 492.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.1617, allocations: 3.208 MB / 495.3 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1617, allocations: 3.938 kB / 495.3 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1617, allocations: 0 / 495.3 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.478e-05/0.1618, allocations: 0 / 495.3 MB, free: 436 kB / 318.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.007074/0.1688, allocations: 3.098 MB / 498.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1689, allocations: 8.031 kB / 498.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/0.1751, allocations: 1.74 MB / 0.4884 GB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.1779, allocations: 1.156 MB / 0.4895 GB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.1781, allocations: 106.7 kB / 0.4896 GB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005508/0.1787, allocations: 147.8 kB / 0.4898 GB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.1933, allocations: 7.038 MB / 0.4966 GB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-05/0.1935, allocations: 27.8 kB / 0.4967 GB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005158/0.194, allocations: 71.88 kB / 0.4967 GB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002909/0.1969, allocations: 1.719 MB / 0.4984 GB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.212, allocations: 6.439 MB / 0.5047 GB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04247/0.2545, allocations: 20.95 MB / 0.5252 GB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/0.2595, allocations: 1.944 MB / 0.5271 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.2607, allocations: 0.5933 MB / 0.5276 GB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3086/0.5693, allocations: 3.334 MB / 0.5309 GB, free: 67.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.5694, allocations: 38.75 kB / 0.5309 GB, free: 67.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=93): time 4.268e-06/0.5694, allocations: 0.5 kB / 0.5309 GB, free: 67.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004068/0.5735, allocations: 1.804 MB / 0.5327 GB, free: 67.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.5736, allocations: 62.16 kB / 0.5328 GB, free: 67.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003997/0.5776, allocations: 2.18 MB / 0.5349 GB, free: 66.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/0.5777, allocations: 41.91 kB / 0.5349 GB, free: 66.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.5792, allocations: 1.822 MB / 0.5367 GB, free: 65.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.5796, allocations: 373.9 kB / 0.5371 GB, free: 65.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5797, allocations: 60.69 kB / 0.5371 GB, free: 65.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.58, allocations: 443.5 kB / 0.5375 GB, free: 65.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.5817, allocations: 0.9908 MB / 0.5385 GB, free: 65.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.5846, allocations: 2.895 MB / 0.5413 GB, free: 62.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.5876, allocations: 1.702 MB / 0.543 GB, free: 62.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.003e-05/0.5877, allocations: 19.25 kB / 0.543 GB, free: 62.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.007208/0.5949, allocations: 3.8 MB / 0.5467 GB, free: 62.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.595, allocations: 37.98 kB / 0.5468 GB, free: 62.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-05/0.5951, allocations: 66.75 kB / 0.5468 GB, free: 62.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.5953, allocations: 99.22 kB / 0.5469 GB, free: 62.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.5974, allocations: 0.7137 MB / 0.5476 GB, free: 62.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001513/0.5976, allocations: 131.5 kB / 0.5477 GB, free: 62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.6, allocations: 465.6 kB / 0.5482 GB, free: 61.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/0.6004, allocations: 196.8 kB / 0.5484 GB, free: 61.76 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002318/0.6027, allocations: 1.402 MB / 0.5497 GB, free: 61.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.603, allocations: 168.3 kB / 0.5499 GB, free: 61.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.6049, allocations: 1.192 MB / 0.5511 GB, free: 60.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.256e-05/0.605, allocations: 23.61 kB / 0.5511 GB, free: 60.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.605, allocations: 0.6875 kB / 0.5511 GB, free: 60.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6051, allocations: 5.297 kB / 0.5511 GB, free: 60.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.6106, allocations: 3.936 MB / 0.5549 GB, free: 59.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6106, allocations: 3.938 kB / 0.5549 GB, free: 59.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.6112, allocations: 132.9 kB / 0.5551 GB, free: 59.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.6112, allocations: 9.109 kB / 0.5551 GB, free: 59.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.6112, allocations: 17.08 kB / 0.5551 GB, free: 59.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.6113, allocations: 7.656 kB / 0.5551 GB, free: 59.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6113, allocations: 7.656 kB / 0.5551 GB, free: 59.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.6135, allocations: 1.952 MB / 0.557 GB, free: 58.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.614, allocations: 277.5 kB / 0.5573 GB, free: 57.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.6142, allocations: 19.36 kB / 0.5573 GB, free: 57.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.6147, allocations: 32.16 kB / 0.5573 GB, free: 57.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.6148, allocations: 43 kB / 0.5574 GB, free: 57.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.6149, allocations: 30.98 kB / 0.5574 GB, free: 57.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.6166, allocations: 1.411 MB / 0.5588 GB, free: 56.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.6166, allocations: 0 / 0.5588 GB, free: 56.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002661/0.6193, allocations: 0.7065 MB / 0.5595 GB, free: 56.05 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/0.6196, allocations: 152 kB / 0.5596 GB, free: 55.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.6226, allocations: 2.228 MB / 0.5618 GB, free: 53.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6226, allocations: 0 / 0.5618 GB, free: 53.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.6232, allocations: 0.5234 MB / 0.5623 GB, free: 53.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.6245, allocations: 299.3 kB / 0.5626 GB, free: 52.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009609/0.6341, allocations: 6.76 MB / 0.5692 GB, free: 46.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/0.6366, allocations: 2.286 MB / 0.5714 GB, free: 43.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.6372, allocations: 171.4 kB / 0.5716 GB, free: 43.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6372, allocations: 4 kB / 0.5716 GB, free: 43.68 MB / 366.1 MB Notification: Performance of Templates: time 0.04723/0.6844, allocations: 33.26 MB / 0.6041 GB, free: 10.54 MB / 366.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.Examples.CounterSpinCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CounterSpinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CounterSpinCalcHelperMain.o] Error 1