Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 102.7 kB / 15.71 MB, free: 460 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.001286/0.001286, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.458/1.458, allocations: 223.2 MB / 240.6 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.757/0.757, allocations: 132.3 MB / 424 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 15.98 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5482, allocations: 81.57 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005166/0.5534, allocations: 4.205 MB / 0.5878 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.5565, allocations: 2.486 MB / 0.5902 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.5567, allocations: 1.156 kB / 0.5902 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.557, allocations: 34.34 kB / 0.5902 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.5573, allocations: 92.72 kB / 0.5903 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.5587, allocations: 411.4 kB / 0.5907 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.5591, allocations: 263.2 kB / 0.591 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.465e-05/0.5592, allocations: 8.906 kB / 0.591 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.5595, allocations: 109.5 kB / 0.5911 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.5597, allocations: 97.86 kB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.5597, allocations: 6.812 kB / 0.5912 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007683/0.5605, allocations: 264.9 kB / 0.5914 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.5606, allocations: 36.59 kB / 0.5915 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.5606, allocations: 52.52 kB / 0.5915 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.5611, allocations: 214.6 kB / 0.5917 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.5612, allocations: 5.531 kB / 0.5917 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5612, allocations: 0 / 0.5917 GB, free: 14.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.5612, allocations: 0 / 0.5917 GB, free: 14.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009071/0.5621, allocations: 473.2 kB / 0.5922 GB, free: 13.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5621, allocations: 9.984 kB / 0.5922 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.5623, allocations: 26.5 kB / 0.5922 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.5627, allocations: 211.6 kB / 0.5924 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.5627, allocations: 14.61 kB / 0.5924 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.5628, allocations: 17.56 kB / 0.5924 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.5633, allocations: 253.4 kB / 0.5927 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5633, allocations: 1.062 kB / 0.5927 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.5633, allocations: 10.91 kB / 0.5927 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.5634, allocations: 5.516 kB / 0.5927 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007626/0.5642, allocations: 436.5 kB / 0.5931 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.5656, allocations: 0.9466 MB / 0.594 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.5659, allocations: 154.1 kB / 0.5942 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.5661, allocations: 59.72 kB / 0.5942 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.5677, allocations: 1.841 MB / 0.596 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.5678, allocations: 33.22 kB / 0.5961 GB, free: 10.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.5678, allocations: 0.5312 kB / 0.5961 GB, free: 10.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003748/0.5681, allocations: 143.5 kB / 0.5962 GB, free: 10.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5682, allocations: 57.41 kB / 0.5963 GB, free: 10.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.5684, allocations: 168.8 kB / 0.5964 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.5684, allocations: 31.3 kB / 0.5964 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5686, allocations: 141.5 kB / 0.5966 GB, free: 10.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.5686, allocations: 47.44 kB / 0.5966 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.5686, allocations: 5 kB / 0.5966 GB, free: 10.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5688, allocations: 326.5 kB / 0.5969 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.5689, allocations: 34.05 kB / 0.597 GB, free: 9.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.5691, allocations: 148.5 kB / 0.5971 GB, free: 9.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.5692, allocations: 56.59 kB / 0.5972 GB, free: 9.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5693, allocations: 4 kB / 0.5972 GB, free: 9.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003983/0.5697, allocations: 208.4 kB / 0.5974 GB, free: 9.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5697, allocations: 6.031 kB / 0.5974 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.5697, allocations: 4.781 kB / 0.5974 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.5697, allocations: 5.875 kB / 0.5974 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.5699, allocations: 58.02 kB / 0.5974 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.57, allocations: 9.938 kB / 0.5975 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.5701, allocations: 30.09 kB / 0.5975 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.5701, allocations: 11.38 kB / 0.5975 GB, free: 9.379 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001358/0.5703, allocations: 138.7 kB / 0.5976 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.5703, allocations: 21.66 kB / 0.5976 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.5707, allocations: 163.6 kB / 0.5978 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.5707, allocations: 3.547 kB / 0.5978 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.5707, allocations: 0 / 0.5978 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5708, allocations: 2.125 kB / 0.5978 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.5711, allocations: 212.2 kB / 0.598 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5711, allocations: 0 / 0.598 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.5712, allocations: 25.75 kB / 0.598 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5712, allocations: 1.578 kB / 0.598 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.5712, allocations: 10.52 kB / 0.598 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.5712, allocations: 2.266 kB / 0.598 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5712, allocations: 0 / 0.598 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.5715, allocations: 228.5 kB / 0.5983 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.5717, allocations: 112.1 kB / 0.5984 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.5717, allocations: 0.6562 kB / 0.5984 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.5719, allocations: 28.88 kB / 0.5984 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.572, allocations: 8.641 kB / 0.5984 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.572, allocations: 17.11 kB / 0.5984 GB, free: 8.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.5721, allocations: 121.7 kB / 0.5985 GB, free: 8.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5721, allocations: 0 / 0.5985 GB, free: 8.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000454/0.5726, allocations: 76.84 kB / 0.5986 GB, free: 8.516 MB / 446.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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003637/0.5729, allocations: 167.2 kB / 0.5988 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.5732, allocations: 115.6 kB / 0.5989 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5732, allocations: 0 / 0.5989 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.5733, allocations: 44.83 kB / 0.5989 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.5738, allocations: 55.8 kB / 0.599 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.5747, allocations: 457.8 kB / 0.5994 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.5752, allocations: 0.7234 MB / 0.6001 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.5753, allocations: 29.34 kB / 0.6002 GB, free: 7.344 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5753, allocations: 0 / 0.6002 GB, free: 7.344 MB / 446.1 MB Notification: Performance of Templates: time 0.006255/0.5815, allocations: 3.086 MB / 0.6032 GB, free: 6.164 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.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 OMCppIDEAS_IDEAS.Media.Examples.WaterPropertiesCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.WaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.WaterPropertiesCalcHelperMain.o] Error 1