Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 110.2 kB / 17.81 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1369, allocations: 46.62 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.007303/0.1443, allocations: 3.547 MB / 330.8 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.1476, allocations: 0.9083 MB / 331.7 MB, free: 428 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.1486, allocations: 11.94 kB / 331.7 MB, free: 416 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.1492, allocations: 63.47 kB / 331.8 MB, free: 352 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.15, allocations: 127 kB / 331.9 MB, free: 224 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.1508, allocations: 127.8 kB / 332 MB, free: 96 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.1519, allocations: 0.5724 MB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.1523, allocations: 162.3 kB / 332.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/0.1529, allocations: 211.2 kB / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.1534, allocations: 262.9 kB / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1535, allocations: 32 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1537, allocations: 36 kB / 333.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1538, allocations: 107.6 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.1541, allocations: 250.7 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1546, allocations: 447.1 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1546, allocations: 4 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1547, allocations: 0 / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.1547, allocations: 0 / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001962/0.1567, allocations: 0.8381 MB / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1567, allocations: 15.97 kB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.1569, allocations: 60.27 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.1574, allocations: 331.2 kB / 335.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.1574, allocations: 33.38 kB / 335.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.1576, allocations: 48.38 kB / 335.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.1586, allocations: 450.7 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.1586, allocations: 8 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.1587, allocations: 20 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1587, allocations: 8 kB / 335.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.1598, allocations: 455.7 kB / 336.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.1625, allocations: 1.401 MB / 337.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.1635, allocations: 0.5323 MB / 338.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/0.1643, allocations: 370.9 kB / 338.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.736e-05/0.1644, allocations: 12.55 kB / 338.6 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.1644, allocations: 43.11 kB / 338.7 MB, free: 9.273 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 3.687e-06/0.1644, allocations: 0 / 338.7 MB, free: 9.273 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.008024/0.1724, allocations: 3.131 MB / 341.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1725, allocations: 68.34 kB / 341.9 MB, free: 5.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.1729, allocations: 254.9 kB / 342.1 MB, free: 5.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.1729, allocations: 37.7 kB / 342.1 MB, free: 5.672 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1731, allocations: 193.3 kB / 342.3 MB, free: 5.477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.1735, allocations: 350.8 kB / 342.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.1737, allocations: 146.7 kB / 342.8 MB, free: 4.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.174, allocations: 362.8 kB / 343.2 MB, free: 4.617 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.1746, allocations: 273.8 kB / 343.4 MB, free: 4.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.1753, allocations: 345.4 kB / 343.8 MB, free: 4.004 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.1766, allocations: 0.6195 MB / 344.4 MB, free: 3.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1766, allocations: 4 kB / 344.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001668/0.1783, allocations: 0.7858 MB / 345.2 MB, free: 2.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.1783, allocations: 4 kB / 345.2 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1784, allocations: 4 kB / 345.2 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.1784, allocations: 12 kB / 345.2 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.1792, allocations: 207.7 kB / 345.4 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/0.1793, allocations: 4 kB / 345.4 MB, free: 2.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.1797, allocations: 47.95 kB / 345.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.1798, allocations: 27.98 kB / 345.5 MB, free: 2.277 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * 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.0003172/0.1801, allocations: 197.7 kB / 345.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.1802, allocations: 55.34 kB / 345.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.1804, allocations: 77.33 kB / 345.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1804, allocations: 8 kB / 345.8 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.1804, allocations: 0 / 345.8 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.1805, allocations: 7.922 kB / 345.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.1842, allocations: 2.002 MB / 347.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.1842, allocations: 7.984 kB / 347.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008344/0.1851, allocations: 199.7 kB / 348 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/0.1851, allocations: 11.98 kB / 348 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/0.1852, allocations: 27.94 kB / 348.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.1852, allocations: 11.94 kB / 348.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/0.1852, allocations: 12.23 kB / 348.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.1877, allocations: 1.368 MB / 349.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.1879, allocations: 128.4 kB / 349.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.188, allocations: 24 kB / 349.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.1884, allocations: 51.95 kB / 349.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.1885, allocations: 72.8 kB / 349.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.1886, allocations: 35.98 kB / 349.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1888, allocations: 178 kB / 349.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1888, allocations: 0 / 349.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005986/0.1894, allocations: 156 kB / 350.1 MB, free: 13.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * 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.0002153/0.1896, allocations: 131 kB / 350.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.1912, allocations: 0.723 MB / 350.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.1912, allocations: 4 kB / 350.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.1921, allocations: 441.5 kB / 351.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.1931, allocations: 121.9 kB / 351.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.1967, allocations: 1.801 MB / 353.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.1974, allocations: 0.8687 MB / 354.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.1977, allocations: 63.36 kB / 354.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1977, allocations: 4 kB / 354.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Templates: time 0.01616/0.2139, allocations: 7.247 MB / 361.5 MB, free: 1.918 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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 OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.o] Error 1