Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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) 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(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.000944, allocations: 95.3 kB / 16.95 MB, free: 5.953 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.001107/0.001107, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.55/1.55, allocations: 223.3 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 12.69 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 50.41 MB / 351.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4433/0.5744, allocations: 135.3 MB / 487.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.5777, allocations: 2.321 MB / 489.5 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.5778, allocations: 0 / 489.5 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.578, allocations: 26.39 kB / 489.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.5792, allocations: 248.1 kB / 489.8 MB, free: 12.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.5795, allocations: 47.81 kB / 489.8 MB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.5797, allocations: 75.55 kB / 489.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.5797, allocations: 7.984 kB / 489.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.5799, allocations: 27.86 kB / 489.9 MB, free: 12.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.58, allocations: 27.92 kB / 489.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.58, allocations: 0 / 489.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.5809, allocations: 364 kB / 490.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.581, allocations: 11.94 kB / 490.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.581, allocations: 29.7 kB / 490.3 MB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.5815, allocations: 220.9 kB / 490.6 MB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5815, allocations: 0 / 490.6 MB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5815, allocations: 0 / 490.6 MB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.5815, allocations: 5.969 kB / 490.6 MB, free: 11.44 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009025/0.5824, allocations: 423.7 kB / 491 MB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5825, allocations: 12.03 kB / 491 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005191/0.5877, allocations: 452.7 kB / 491.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5878, allocations: 175 kB / 491.6 MB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5878, allocations: 11.94 kB / 491.6 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.5879, allocations: 7.906 kB / 491.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.5887, allocations: 293.3 kB / 491.9 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5887, allocations: 0 / 491.9 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.5888, allocations: 7.953 kB / 491.9 MB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5888, allocations: 0 / 491.9 MB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.5895, allocations: 275.8 kB / 492.2 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.5905, allocations: 427.3 kB / 492.6 MB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.5915, allocations: 206.3 kB / 492.8 MB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.5917, allocations: 68.81 kB / 492.9 MB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.5917, allocations: 4 kB / 492.9 MB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5918, allocations: 34.55 kB / 492.9 MB, free: 8.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.5918, allocations: 0 / 492.9 MB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001643/0.5934, allocations: 416.3 kB / 493.3 MB, free: 8.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.5935, allocations: 59.36 kB / 493.4 MB, free: 8.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.5936, allocations: 105.8 kB / 493.5 MB, free: 8.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5936, allocations: 37.64 kB / 493.5 MB, free: 8.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.5937, allocations: 87.95 kB / 493.6 MB, free: 8.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.5938, allocations: 67.03 kB / 493.7 MB, free: 8.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5938, allocations: 4 kB / 493.7 MB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5939, allocations: 318.8 kB / 494 MB, free: 7.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.5942, allocations: 80.31 kB / 494.1 MB, free: 7.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.5945, allocations: 123.9 kB / 494.2 MB, free: 7.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.5947, allocations: 79.97 kB / 494.3 MB, free: 7.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5947, allocations: 3.938 kB / 494.3 MB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006321/0.5954, allocations: 245.4 kB / 494.5 MB, free: 7.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5954, allocations: 8 kB / 494.5 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5954, allocations: 0 / 494.5 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5954, allocations: 0 / 494.5 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.5958, allocations: 51.95 kB / 494.6 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.5958, allocations: 7.891 kB / 494.6 MB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.596, allocations: 15.98 kB / 494.6 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.5961, allocations: 16.11 kB / 494.6 MB, free: 7.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001403/0.5963, allocations: 117.8 kB / 494.7 MB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.5963, allocations: 7.906 kB / 494.7 MB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000858/0.5972, allocations: 284.4 kB / 495 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5972, allocations: 0 / 495 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5972, allocations: 0 / 495 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5972, allocations: 3.953 kB / 495 MB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.5987, allocations: 0.5895 MB / 495.6 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5987, allocations: 3.125 kB / 495.6 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.599, allocations: 51.95 kB / 495.6 MB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.599, allocations: 0 / 495.6 MB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.5991, allocations: 8 kB / 495.7 MB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.5991, allocations: 4 kB / 495.7 MB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5991, allocations: 192 / 495.7 MB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.5999, allocations: 325 kB / 496 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.6, allocations: 96.89 kB / 496.1 MB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.6, allocations: 4 kB / 496.1 MB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.6003, allocations: 11.98 kB / 496.1 MB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.6003, allocations: 19.98 kB / 496.1 MB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.6003, allocations: 11.98 kB / 496.1 MB, free: 5.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.952e-05/0.6004, allocations: 83.28 kB / 496.2 MB, free: 5.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6004, allocations: 3.938 kB / 496.2 MB, free: 5.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.6008, allocations: 40 kB / 496.2 MB, free: 5.422 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0003371/0.6012, allocations: 123.2 kB / 496.4 MB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.6018, allocations: 191.7 kB / 496.5 MB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6018, allocations: 4.25 kB / 496.6 MB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.6021, allocations: 107.8 kB / 496.7 MB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.6026, allocations: 36.47 kB / 496.7 MB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.6035, allocations: 344.5 kB / 497 MB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.6038, allocations: 0.6931 MB / 497.7 MB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.604, allocations: 35.42 kB / 497.8 MB, free: 3.84 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.604, allocations: 0 / 497.8 MB, free: 3.84 MB / 398.1 MB Notification: Performance of Templates: time 0.005066/0.609, allocations: 2.318 MB / 0.4884 GB, free: 1.523 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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 OMCppModelica_4.0.0_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.o] Error 1