Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 92.08 kB / 16.02 MB, free: 80 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.001045/0.001045, allocations: 181.7 kB / 16.92 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 270.9 kB / 292.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9654/0.9654, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004391, allocations: 12.19 kB / 0.5993 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1853, allocations: 88.55 MB / 0.6858 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.479/0.6643, allocations: 131.7 MB / 0.8144 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.6734, allocations: 8.389 MB / 0.8226 GB, free: 208 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.6735, allocations: 1.062 kB / 0.8226 GB, free: 208 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.6737, allocations: 25.7 kB / 0.8226 GB, free: 196 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.6738, allocations: 15.19 kB / 0.8226 GB, free: 188 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.6773, allocations: 1.167 MB / 0.8238 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.6774, allocations: 78.23 kB / 0.8239 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.6774, allocations: 2.594 kB / 0.8239 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.6776, allocations: 43.41 kB / 0.8239 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.6776, allocations: 35.67 kB / 0.8239 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.6777, allocations: 2.938 kB / 0.8239 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.682, allocations: 2.654 MB / 0.8265 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.682, allocations: 11.17 kB / 0.8265 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.6821, allocations: 56.73 kB / 0.8266 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.6832, allocations: 0.9193 MB / 0.8275 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.6832, allocations: 4 kB / 0.8275 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6832, allocations: 1.375 kB / 0.8275 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.6832, allocations: 0 / 0.8275 GB, free: 14.25 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008976/0.6841, allocations: 490.8 kB / 0.828 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6842, allocations: 9.625 kB / 0.828 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.6845, allocations: 24.7 kB / 0.828 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.6846, allocations: 173.6 kB / 0.8282 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.6847, allocations: 42.56 kB / 0.8282 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.6847, allocations: 8.062 kB / 0.8282 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.6851, allocations: 116.2 kB / 0.8283 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6851, allocations: 0 / 0.8283 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6851, allocations: 1.375 kB / 0.8283 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6851, allocations: 1.375 kB / 0.8283 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.6854, allocations: 117.8 kB / 0.8284 GB, free: 13.41 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.6859, allocations: 384.5 kB / 0.8288 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.6861, allocations: 134.9 kB / 0.8289 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.6862, allocations: 50.34 kB / 0.829 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.697, allocations: 4.252 MB / 0.8331 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.697, allocations: 34.56 kB / 0.8332 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.697, allocations: 0 / 0.8332 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004926/0.6975, allocations: 170.5 kB / 0.8333 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.6976, allocations: 57.97 kB / 0.8334 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.6977, allocations: 98.97 kB / 0.8335 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6977, allocations: 29.7 kB / 0.8335 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.6977, allocations: 83.48 kB / 0.8336 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.6978, allocations: 44.92 kB / 0.8336 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.6978, allocations: 18.84 kB / 0.8336 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6979, allocations: 322.8 kB / 0.834 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.698, allocations: 25.77 kB / 0.834 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.698, allocations: 25.88 kB / 0.834 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.6981, allocations: 71.39 kB / 0.8341 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6981, allocations: 0 / 0.8341 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001618/0.6983, allocations: 109.9 kB / 0.8342 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.6983, allocations: 5.062 kB / 0.8342 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6983, allocations: 3.984 kB / 0.8342 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6984, allocations: 0 / 0.8342 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.6985, allocations: 16.66 kB / 0.8342 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.6985, allocations: 6.891 kB / 0.8342 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.6986, allocations: 9.594 kB / 0.8342 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.6986, allocations: 9.062 kB / 0.8342 GB, free: 9.234 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 8.631e-05/0.6987, allocations: 119.1 kB / 0.8343 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.6987, allocations: 6.219 kB / 0.8343 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.6992, allocations: 371.2 kB / 0.8347 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.6992, allocations: 15.11 kB / 0.8347 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6992, allocations: 3.938 kB / 0.8347 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6992, allocations: 0 / 0.8347 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.6995, allocations: 282.6 kB / 0.835 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6995, allocations: 0 / 0.835 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.6996, allocations: 29.08 kB / 0.835 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6996, allocations: 0 / 0.835 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6996, allocations: 3.844 kB / 0.835 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6996, allocations: 0 / 0.835 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6996, allocations: 2 kB / 0.835 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.7, allocations: 344.6 kB / 0.8353 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.7, allocations: 98.84 kB / 0.8354 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.7001, allocations: 4 kB / 0.8354 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.7002, allocations: 7.672 kB / 0.8355 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.7002, allocations: 14.33 kB / 0.8355 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.7003, allocations: 3.375 kB / 0.8355 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.7003, allocations: 82.91 kB / 0.8355 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7003, allocations: 4 kB / 0.8356 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001062/0.7014, allocations: 301.2 kB / 0.8358 GB, free: 8.094 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001194/0.7026, allocations: 398 kB / 0.8362 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.7028, allocations: 125.8 kB / 0.8363 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7028, allocations: 6.75 kB / 0.8363 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.7029, allocations: 108.2 kB / 0.8364 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.7032, allocations: 21.08 kB / 0.8365 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.7038, allocations: 412.8 kB / 0.8369 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.704, allocations: 0.7203 MB / 0.8376 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.7041, allocations: 15 kB / 0.8376 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7041, allocations: 0 / 0.8376 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Templates: time 0.009979/0.7141, allocations: 6.745 MB / 0.8442 GB, free: 3.277 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.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 OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.o] Error 1