Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 100.1 kB / 15.88 MB, free: 12 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.001515/0.001515, allocations: 195.9 kB / 16.79 MB, free: 6.863 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.511/1.511, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2333/0.2333, allocations: 9.108 MB / 299.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 361.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1277, allocations: 51.43 MB / 413.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.3331/0.4608, allocations: 18.24 MB / 431.6 MB, free: 35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.4717, allocations: 4.446 MB / 436 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004701/0.4764, allocations: 63.06 kB / 436.1 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.4773, allocations: 266.7 kB / 436.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.4805, allocations: 1.192 MB / 437.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.4808, allocations: 69.3 kB / 437.6 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003349/0.4842, allocations: 3.036 MB / 440.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.4855, allocations: 0.653 MB / 441.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.4866, allocations: 0.6299 MB / 441.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.4883, allocations: 1.136 MB / 443 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002978/0.4886, allocations: 115 kB / 443.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.4901, allocations: 0.747 MB / 443.9 MB, free: 30.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009779/0.4911, allocations: 0.9878 MB / 444.9 MB, free: 29.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.4923, allocations: 1.276 MB / 446.2 MB, free: 28.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.4954, allocations: 3.412 MB / 449.6 MB, free: 27.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4955, allocations: 0 / 449.6 MB, free: 27.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4955, allocations: 0 / 449.6 MB, free: 27.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.141e-05/0.4956, allocations: 0 / 449.6 MB, free: 27.79 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: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.007951/0.5035, allocations: 3.357 MB / 452.9 MB, free: 25.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5036, allocations: 13.81 kB / 453 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006184/0.5098, allocations: 1.705 MB / 454.7 MB, free: 25.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.5126, allocations: 1.19 MB / 455.8 MB, free: 24.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.5127, allocations: 126.7 kB / 456 MB, free: 24.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.5131, allocations: 155.3 kB / 456.1 MB, free: 24.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.5259, allocations: 7.214 MB / 463.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.5261, allocations: 19.44 kB / 463.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000666/0.5267, allocations: 76.34 kB / 463.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003408/0.5302, allocations: 1.743 MB / 465.2 MB, free: 21.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.5485, allocations: 6.581 MB / 471.8 MB, free: 18.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04386/0.5925, allocations: 21.17 MB / 492.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/0.5967, allocations: 2.022 MB / 495 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.5978, allocations: 0.6792 MB / 495.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005815/0.6037, allocations: 3.278 MB / 498.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.6037, allocations: 51.14 kB / 499 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 4.288e-06/0.6038, allocations: 0 / 499 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01316/0.6169, allocations: 5.53 MB / 0.4927 GB, free: 8.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.6171, allocations: 64.41 kB / 0.4927 GB, free: 8.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004692/0.6218, allocations: 2.27 MB / 0.4949 GB, free: 6.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.622, allocations: 37.7 kB / 0.495 GB, free: 6.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.6238, allocations: 1.837 MB / 0.4968 GB, free: 4.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/0.6245, allocations: 457.9 kB / 0.4972 GB, free: 4.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.626, allocations: 0.6628 MB / 0.4979 GB, free: 3.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6262, allocations: 309.1 kB / 0.4982 GB, free: 3.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.6285, allocations: 1.099 MB / 0.4992 GB, free: 1.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/0.6327, allocations: 2.958 MB / 0.5021 GB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006425/0.6391, allocations: 4.369 MB / 0.5064 GB, free: 8.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.742e-05/0.6392, allocations: 16 kB / 0.5064 GB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009278/0.6485, allocations: 4.139 MB / 0.5104 GB, free: 4.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.6487, allocations: 36.03 kB / 0.5105 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.6488, allocations: 67.94 kB / 0.5105 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/0.6495, allocations: 213.3 kB / 0.5107 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/0.6525, allocations: 0.7291 MB / 0.5115 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.6559, allocations: 2.463 MB / 0.5139 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/0.6589, allocations: 167.9 kB / 0.514 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/0.6596, allocations: 200 kB / 0.5142 GB, free: 0.5977 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (395): * Single equations (assignments): 390 * Array equations: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003469/0.6631, allocations: 1.431 MB / 0.5156 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.6637, allocations: 185.6 kB / 0.5158 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/0.6672, allocations: 1.615 MB / 0.5174 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000111/0.6673, allocations: 23.98 kB / 0.5174 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.6673, allocations: 8 kB / 0.5174 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6673, allocations: 3.984 kB / 0.5174 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.6783, allocations: 4.885 MB / 0.5222 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.6783, allocations: 4 kB / 0.5222 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/0.679, allocations: 167.7 kB / 0.5223 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003887/0.6794, allocations: 108.8 kB / 0.5224 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-05/0.6796, allocations: 28.61 kB / 0.5225 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.682, allocations: 2.007 MB / 0.5244 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.6821, allocations: 4 kB / 0.5244 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/0.6863, allocations: 2.556 MB / 0.5269 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007297/0.6871, allocations: 262.7 kB / 0.5272 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006363/0.6877, allocations: 20 kB / 0.5272 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.6888, allocations: 55.92 kB / 0.5272 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.689, allocations: 76.72 kB / 0.5273 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.6891, allocations: 32 kB / 0.5273 GB, free: 2.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00308/0.6922, allocations: 1.476 MB / 0.5288 GB, free: 1.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6922, allocations: 0 / 0.5288 GB, free: 1.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003368/0.6956, allocations: 0.5663 MB / 0.5293 GB, free: 0.7227 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute.phi,revolute.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 (88): * Single equations (assignments): 83 * Array equations: 4 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005021/0.6961, allocations: 143.1 kB / 0.5295 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005874/0.702, allocations: 2.635 MB / 0.532 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.7021, allocations: 4 kB / 0.5321 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.7036, allocations: 0.8202 MB / 0.5329 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.7064, allocations: 316.9 kB / 0.5332 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.7211, allocations: 7.228 MB / 0.5402 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/0.7252, allocations: 2.365 MB / 0.5425 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/0.726, allocations: 179.4 kB / 0.5427 GB, free: 2.934 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.726, allocations: 0 / 0.5427 GB, free: 2.934 MB / 414.1 MB Notification: Performance of Templates: time 0.3007/1.027, allocations: 49.39 MB / 0.5909 GB, free: 124.5 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.PendulumCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumCalcHelperMain.o] Error 1