Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 87.98 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 196.8 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 45.9 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 11.98 kB / 418.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 63.47 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002692/0.1654, allocations: 1.724 MB / 483.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1665, allocations: 0.5303 MB / 484.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1667, allocations: 7.938 kB / 484.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.1668, allocations: 7.922 kB / 484.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1669, allocations: 43.69 kB / 484.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.1673, allocations: 59.91 kB / 484.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1676, allocations: 159.3 kB / 484.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.1678, allocations: 37.53 kB / 484.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.168, allocations: 71.77 kB / 484.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1682, allocations: 71.73 kB / 484.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1682, allocations: 4 kB / 484.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.1683, allocations: 12 kB / 484.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.1683, allocations: 27.84 kB / 484.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.1684, allocations: 49.64 kB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1686, allocations: 135.9 kB / 485.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.1686, allocations: 0 / 485.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.1687, allocations: 4 kB / 485.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1687, allocations: 4 kB / 485.1 MB, free: 2.473 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008613/0.1695, allocations: 431 kB / 485.5 MB, free: 2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1696, allocations: 12.03 kB / 485.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1698, allocations: 31.8 kB / 485.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.1701, allocations: 205.6 kB / 485.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1701, allocations: 8.234 kB / 485.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1702, allocations: 15.91 kB / 485.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.1706, allocations: 161.8 kB / 485.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1706, allocations: 7.938 kB / 485.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1707, allocations: 4 kB / 485.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1707, allocations: 4 kB / 485.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.171, allocations: 111.9 kB / 486 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1721, allocations: 0.6846 MB / 486.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1724, allocations: 142.5 kB / 486.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.1726, allocations: 64.83 kB / 486.9 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1726, allocations: 3.984 kB / 486.9 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1727, allocations: 34.56 kB / 487 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1727, allocations: 0 / 487 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001378/0.1741, allocations: 436.9 kB / 487.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1741, allocations: 51.41 kB / 487.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1743, allocations: 154.8 kB / 487.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1743, allocations: 29.7 kB / 487.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1744, allocations: 128.2 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.1745, allocations: 59.11 kB / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.1745, allocations: 0 / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1747, allocations: 326.8 kB / 488.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.1749, allocations: 68.33 kB / 488.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1751, allocations: 115.1 kB / 488.3 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.1754, allocations: 75.98 kB / 488.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1754, allocations: 0 / 488.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005066/0.1759, allocations: 235.7 kB / 488.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1759, allocations: 7.938 kB / 488.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1759, allocations: 4 kB / 488.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1759, allocations: 3.984 kB / 488.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.1763, allocations: 51.91 kB / 488.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1763, allocations: 4 kB / 488.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1764, allocations: 20.08 kB / 488.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1765, allocations: 4 kB / 488.7 MB, free: 14.59 MB / 366.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 (22): * Single equations (assignments): 22 * 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.0001342/0.1766, allocations: 129.8 kB / 488.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.1766, allocations: 11.91 kB / 488.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.1767, allocations: 25.17 kB / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1767, allocations: 0 / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1767, allocations: 0 / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1767, allocations: 0 / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1778, allocations: 0.6434 MB / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1778, allocations: 0 / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.1781, allocations: 43.97 kB / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1781, allocations: 0 / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.1781, allocations: 11.98 kB / 489.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1781, allocations: 0 / 489.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1781, allocations: 7.938 kB / 489.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1787, allocations: 313.4 kB / 489.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1788, allocations: 108.8 kB / 490 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1788, allocations: 0 / 490 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.179, allocations: 19.98 kB / 490 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.1791, allocations: 15.97 kB / 490 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1791, allocations: 8 kB / 490 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.677e-05/0.1792, allocations: 107.2 kB / 490.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1792, allocations: 4 kB / 490.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1795, allocations: 44 kB / 490.2 MB, free: 13.01 MB / 366.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 (19): * Single equations (assignments): 19 * 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.0001709/0.1797, allocations: 95.72 kB / 490.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.1802, allocations: 180 kB / 490.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1802, allocations: 0 / 490.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.1804, allocations: 99.88 kB / 490.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1808, allocations: 23.27 kB / 490.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.1817, allocations: 471.2 kB / 491 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.182, allocations: 0.7252 MB / 491.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.1821, allocations: 15.44 kB / 491.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1821, allocations: 0 / 491.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Templates: time 0.00442/0.1866, allocations: 2.091 MB / 493.8 MB, free: 9.262 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForceCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForceCalcHelperMain.o] Error 1