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.0007931/0.000798, allocations: 98.8 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.000969/0.0009692, allocations: 187.8 kB / 16.92 MB, free: 6.75 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.559/1.559, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.224/0.224, allocations: 9.094 MB / 301.2 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 8 kB / 364.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 52.44 MB / 416.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.3195/0.4517, allocations: 17.59 MB / 434.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.4623, allocations: 4.404 MB / 438.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003851/0.4662, allocations: 63.31 kB / 438.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.467, allocations: 261.8 kB / 439.1 MB, free: 31.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.47, allocations: 1.192 MB / 440.3 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.4703, allocations: 67.53 kB / 440.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.4731, allocations: 3.037 MB / 443.4 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007948/0.4739, allocations: 0.6407 MB / 444 MB, free: 30.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006599/0.4746, allocations: 0.6277 MB / 444.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.4758, allocations: 1.121 MB / 445.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.4761, allocations: 111.5 kB / 445.9 MB, free: 29.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.4773, allocations: 0.7552 MB / 446.6 MB, free: 29.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007691/0.4781, allocations: 0.9989 MB / 447.6 MB, free: 29.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009312/0.479, allocations: 1.295 MB / 448.9 MB, free: 28.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.4819, allocations: 3.311 MB / 452.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4819, allocations: 0 / 452.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4819, allocations: 0.9375 kB / 452.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.396e-05/0.482, allocations: 0 / 452.2 MB, free: 27.52 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.006225/0.4882, allocations: 2.81 MB / 455.1 MB, free: 26.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4883, allocations: 9.781 kB / 455.1 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006289/0.4946, allocations: 1.765 MB / 456.8 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.4969, allocations: 1.199 MB / 458 MB, free: 25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.497, allocations: 120.6 kB / 458.1 MB, free: 24.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.4974, allocations: 156.1 kB / 458.3 MB, free: 24.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.5102, allocations: 7.202 MB / 465.5 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.923e-05/0.5104, allocations: 21.5 kB / 465.5 MB, free: 21.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.5107, allocations: 76.97 kB / 465.6 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003969/0.5146, allocations: 1.74 MB / 467.3 MB, free: 21.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.5308, allocations: 6.586 MB / 473.9 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/0.5694, allocations: 21.2 MB / 495.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/0.5734, allocations: 2.019 MB / 497.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/0.5745, allocations: 0.677 MB / 497.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00528/0.5798, allocations: 3.274 MB / 0.4893 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.5798, allocations: 43.16 kB / 0.4894 GB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 5.119e-06/0.5799, allocations: 5.078 kB / 0.4894 GB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01279/0.5927, allocations: 5.526 MB / 0.4948 GB, free: 8.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5928, allocations: 60.41 kB / 0.4948 GB, free: 8.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004833/0.5976, allocations: 2.27 MB / 0.4971 GB, free: 6.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.5978, allocations: 45.7 kB / 0.4971 GB, free: 6.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.5995, allocations: 1.829 MB / 0.4989 GB, free: 4.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005947/0.6001, allocations: 469.9 kB / 0.4993 GB, free: 3.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005184/0.6006, allocations: 268.8 kB / 0.4996 GB, free: 3.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6007, allocations: 301.1 kB / 0.4999 GB, free: 3.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.6029, allocations: 1.099 MB / 0.501 GB, free: 2.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/0.6066, allocations: 2.962 MB / 0.5038 GB, free: 14.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005766/0.6124, allocations: 4.375 MB / 0.5081 GB, free: 9.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.088e-05/0.6125, allocations: 20 kB / 0.5081 GB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008297/0.6208, allocations: 4.14 MB / 0.5122 GB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.537e-05/0.6209, allocations: 36.12 kB / 0.5122 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.6211, allocations: 72 kB / 0.5123 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.6217, allocations: 205 kB / 0.5125 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.6242, allocations: 0.7252 MB / 0.5132 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.6276, allocations: 2.47 MB / 0.5156 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/0.6309, allocations: 171.9 kB / 0.5158 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/0.6316, allocations: 196 kB / 0.516 GB, free: 0.8438 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.003782/0.6354, allocations: 1.425 MB / 0.5173 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005842/0.636, allocations: 185.6 kB / 0.5175 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.6399, allocations: 1.616 MB / 0.5191 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/0.6401, allocations: 23.98 kB / 0.5191 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/0.6401, allocations: 7.938 kB / 0.5191 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.6401, allocations: 3.984 kB / 0.5191 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.6517, allocations: 4.881 MB / 0.5239 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.6518, allocations: 4 kB / 0.5239 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.6525, allocations: 160 kB / 0.5241 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.6528, allocations: 116.8 kB / 0.5242 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.6529, allocations: 23.98 kB / 0.5242 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.655, allocations: 2.007 MB / 0.5262 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.655, allocations: 11.94 kB / 0.5262 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.6589, allocations: 2.552 MB / 0.5287 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/0.6597, allocations: 278.9 kB / 0.5289 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.6599, allocations: 24.05 kB / 0.5289 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.6606, allocations: 51.94 kB / 0.529 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6607, allocations: 72.86 kB / 0.5291 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.6608, allocations: 39.98 kB / 0.5291 GB, free: 3.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002365/0.6632, allocations: 1.468 MB / 0.5305 GB, free: 1.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.324e-06/0.6632, allocations: 0 / 0.5305 GB, free: 1.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002855/0.6661, allocations: 0.5741 MB / 0.5311 GB, free: 0.9531 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.0003783/0.6664, allocations: 143.1 kB / 0.5312 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.6714, allocations: 2.629 MB / 0.5338 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6714, allocations: 0 / 0.5338 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.6727, allocations: 0.8257 MB / 0.5346 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.6754, allocations: 319 kB / 0.5349 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.6876, allocations: 7.29 MB / 0.542 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0026/0.6903, allocations: 2.373 MB / 0.5443 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/0.691, allocations: 171.4 kB / 0.5445 GB, free: 3.094 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.691, allocations: 0 / 0.5445 GB, free: 3.094 MB / 414.1 MB Notification: Performance of Templates: time 0.3527/1.044, allocations: 48.82 MB / 0.5922 GB, free: 120.6 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