Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 94.16 kB / 17.63 MB, free: 5.887 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.001109/0.001109, allocations: 186 kB / 18.52 MB, free: 5.184 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.547/1.547, allocations: 223.2 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 11.94 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003045/0.1643, allocations: 1.73 MB / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1655, allocations: 0.4991 MB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1656, allocations: 3.938 kB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1658, allocations: 23.91 kB / 474.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1659, allocations: 31.7 kB / 474.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.1663, allocations: 59.92 kB / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1666, allocations: 171.1 kB / 474.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1667, allocations: 37.53 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1669, allocations: 67.77 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1671, allocations: 79.67 kB / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1671, allocations: 8 kB / 474.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.808e-05/0.1671, allocations: 8 kB / 474.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.1672, allocations: 27.89 kB / 474.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.1673, allocations: 49.64 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.1674, allocations: 127.9 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.1675, allocations: 4 kB / 475.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1675, allocations: 0 / 475.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1675, allocations: 4 kB / 475.1 MB, free: 10.8 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008825/0.1684, allocations: 441 kB / 475.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.1684, allocations: 12.03 kB / 475.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1685, allocations: 15.81 kB / 475.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1688, allocations: 203.4 kB / 475.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1688, allocations: 8 kB / 475.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.1689, allocations: 15.95 kB / 475.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.1693, allocations: 169.6 kB / 475.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1693, allocations: 7.938 kB / 475.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1694, allocations: 7.984 kB / 476 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1694, allocations: 4 kB / 476 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.1697, allocations: 120.6 kB / 476.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1708, allocations: 0.6976 MB / 476.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.1713, allocations: 154.5 kB / 476.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1715, allocations: 60.83 kB / 477 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.1715, allocations: 4 kB / 477 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.1716, allocations: 38.52 kB / 477 MB, free: 8.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.1716, allocations: 0 / 477 MB, free: 8.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001475/0.1731, allocations: 452.7 kB / 477.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.1732, allocations: 51.41 kB / 477.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1734, allocations: 154.2 kB / 477.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.1734, allocations: 37.7 kB / 477.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1735, allocations: 112.4 kB / 477.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.1736, allocations: 67 kB / 477.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.1736, allocations: 4 kB / 477.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.1739, allocations: 326.8 kB / 478.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1741, allocations: 71.91 kB / 478.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1743, allocations: 107.4 kB / 478.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1746, allocations: 83.97 kB / 478.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1746, allocations: 0 / 478.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005448/0.1752, allocations: 235.9 kB / 478.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1752, allocations: 8 kB / 478.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1752, allocations: 0 / 478.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.1752, allocations: 7.953 kB / 478.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1755, allocations: 55.91 kB / 478.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.1756, allocations: 3.984 kB / 478.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1757, allocations: 20.09 kB / 478.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1758, allocations: 7.984 kB / 478.8 MB, free: 6.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * 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.0001924/0.176, allocations: 130.3 kB / 478.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.176, allocations: 19.75 kB / 478.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.1761, allocations: 21.19 kB / 479 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1761, allocations: 0 / 479 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.1761, allocations: 3.953 kB / 479 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.1761, allocations: 3.984 kB / 479 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1774, allocations: 0.6472 MB / 479.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1774, allocations: 0 / 479.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.1777, allocations: 47.91 kB / 479.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1777, allocations: 0 / 479.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.1777, allocations: 7.984 kB / 479.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1777, allocations: 0 / 479.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.1777, allocations: 8 kB / 479.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.1783, allocations: 317.9 kB / 480 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1784, allocations: 108.9 kB / 480.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.1784, allocations: 11.95 kB / 480.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1786, allocations: 19.98 kB / 480.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.1787, allocations: 11.97 kB / 480.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1787, allocations: 7.984 kB / 480.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.1788, allocations: 120 kB / 480.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1788, allocations: 4 kB / 480.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1791, allocations: 44 kB / 480.3 MB, free: 5.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001617/0.1793, allocations: 95.23 kB / 480.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.1798, allocations: 188 kB / 480.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1798, allocations: 3.938 kB / 480.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.18, allocations: 103.8 kB / 480.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1805, allocations: 19.98 kB / 480.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.1813, allocations: 499.1 kB / 481.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1817, allocations: 0.7211 MB / 481.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1818, allocations: 23.42 kB / 481.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1818, allocations: 0 / 481.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of Templates: time 0.004287/0.1861, allocations: 2.135 MB / 484.1 MB, free: 1.402 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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 OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForceCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForceCalcHelperMain.o] Error 1