Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009392, allocations: 99.12 kB / 15.71 MB, free: 452 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.001399/0.001399, allocations: 177.9 kB / 16.58 MB, free: 6.879 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.487/1.487, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.3233/0.3233, allocations: 9.094 MB / 300.8 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 363.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 52.43 MB / 416.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.2492/0.3839, allocations: 8.518 MB / 424.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005939/0.3899, allocations: 2.556 MB / 427.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.3916, allocations: 31 kB / 427.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009546/0.3926, allocations: 394.8 kB / 427.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.3966, allocations: 1.55 MB / 429.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.3968, allocations: 34.95 kB / 429.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.4001, allocations: 2.073 MB / 431.3 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.4004, allocations: 154.8 kB / 431.5 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000891/0.4013, allocations: 0.5683 MB / 432 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.4025, allocations: 0.9789 MB / 433 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.4027, allocations: 94.09 kB / 433.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.4039, allocations: 0.6017 MB / 433.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.4047, allocations: 0.8529 MB / 434.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.4051, allocations: 0.5039 MB / 435 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.4079, allocations: 3.009 MB / 438.1 MB, free: 33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4079, allocations: 0 / 438.1 MB, free: 33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4079, allocations: 0 / 438.1 MB, free: 33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.798e-05/0.4079, allocations: 4.25 kB / 438.1 MB, free: 33 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: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.004454/0.4124, allocations: 2.122 MB / 440.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4124, allocations: 11.02 kB / 440.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005636/0.4181, allocations: 1.72 MB / 441.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.4203, allocations: 1.067 MB / 443 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.4204, allocations: 100.6 kB / 443.1 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.4207, allocations: 130.1 kB / 443.2 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008888/0.4296, allocations: 6.496 MB / 449.7 MB, free: 29.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/0.4297, allocations: 11.16 kB / 449.7 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.4299, allocations: 75.19 kB / 449.8 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002228/0.4321, allocations: 1.617 MB / 451.4 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009418/0.4416, allocations: 6.023 MB / 457.4 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.47, allocations: 18.2 MB / 475.6 MB, free: 16.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.4728, allocations: 1.544 MB / 477.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.4737, allocations: 0.5295 MB / 477.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003948/0.4776, allocations: 2.144 MB / 479.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4777, allocations: 38.34 kB / 479.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.607e-06/0.4777, allocations: 0 / 479.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.003282/0.481, allocations: 1.49 MB / 481.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.481, allocations: 61.75 kB / 481.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.4839, allocations: 1.997 MB / 483.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.484, allocations: 32.17 kB / 483.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008777/0.4849, allocations: 1.652 MB / 485.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.4851, allocations: 326.5 kB / 485.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4852, allocations: 51.22 kB / 485.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4854, allocations: 495 kB / 486 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.4867, allocations: 0.9121 MB / 486.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.4886, allocations: 2.556 MB / 489.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.4906, allocations: 1.551 MB / 491 MB, free: 5.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-05/0.4906, allocations: 16.5 kB / 491 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.004388/0.495, allocations: 3.398 MB / 494.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.495, allocations: 28.22 kB / 494.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/0.4951, allocations: 64 kB / 494.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.568e-05/0.4952, allocations: 84 kB / 494.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.4967, allocations: 0.616 MB / 495.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.214e-05/0.4968, allocations: 115.6 kB / 495.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.4985, allocations: 415.6 kB / 495.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.4987, allocations: 170.9 kB / 495.9 MB, free: 1.117 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * 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 (334): * Single equations (assignments): 330 * 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.00178/0.5005, allocations: 1.318 MB / 497.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.5007, allocations: 150 kB / 497.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.5025, allocations: 1.058 MB / 498.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.685e-05/0.5026, allocations: 19.98 kB / 498.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5026, allocations: 0 / 498.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5026, allocations: 3.984 kB / 498.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/0.5086, allocations: 3.574 MB / 0.4902 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5087, allocations: 4.062 kB / 0.4902 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.5091, allocations: 107.9 kB / 0.4903 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.5092, allocations: 4 kB / 0.4903 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.5092, allocations: 18.64 kB / 0.4904 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.5092, allocations: 7.938 kB / 0.4904 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5092, allocations: 160 / 0.4904 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.5116, allocations: 1.731 MB / 0.4921 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.512, allocations: 259 kB / 0.4923 GB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.5122, allocations: 12 kB / 0.4923 GB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.5126, allocations: 34.77 kB / 0.4923 GB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.5127, allocations: 41.3 kB / 0.4924 GB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.5128, allocations: 24 kB / 0.4924 GB, free: 8.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001849/0.5146, allocations: 1.306 MB / 0.4937 GB, free: 7.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5146, allocations: 0 / 0.4937 GB, free: 7.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002336/0.517, allocations: 0.6301 MB / 0.4943 GB, free: 6.711 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * 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 (55): * Single equations (assignments): 51 * 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.0002858/0.5173, allocations: 145.8 kB / 0.4944 GB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.5204, allocations: 2 MB / 0.4964 GB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5205, allocations: 1.688 kB / 0.4964 GB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.5211, allocations: 470.5 kB / 0.4968 GB, free: 4.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5225, allocations: 284.2 kB / 0.4971 GB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/0.5318, allocations: 6.334 MB / 0.5033 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/0.5338, allocations: 2.169 MB / 0.5054 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/0.5344, allocations: 159.4 kB / 0.5056 GB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.033e-06/0.5344, allocations: 3.938 kB / 0.5056 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Templates: time 0.04994/0.5843, allocations: 30.48 MB / 0.5353 GB, free: 12.8 MB / 414.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.FreeBodyCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.FreeBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.FreeBodyCalcHelperMain.o] Error 1