Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 100.1 kB / 15.88 MB, free: 12 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.002702/0.002701, allocations: 198.4 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.616/2.616, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 290.2 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.242/1.242, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003049/0.003048, allocations: 94.89 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3919, allocations: 86.99 MB / 0.6801 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 1.228/1.62, allocations: 134 MB / 0.811 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.05461/1.675, allocations: 24.63 MB / 0.835 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/1.675, allocations: 1.219 kB / 0.835 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005205/1.676, allocations: 41 kB / 0.8351 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006323/1.677, allocations: 87.44 kB / 0.8351 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.04022/1.717, allocations: 5.291 MB / 0.8403 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009713/1.718, allocations: 305.8 kB / 0.8406 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/1.718, allocations: 15.34 kB / 0.8406 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/1.718, allocations: 142.7 kB / 0.8407 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/1.719, allocations: 87.42 kB / 0.8408 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/1.719, allocations: 8.531 kB / 0.8408 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04321/1.762, allocations: 10.85 MB / 0.8514 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/1.762, allocations: 40.86 kB / 0.8515 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000341/1.763, allocations: 77.62 kB / 0.8515 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0224/1.785, allocations: 4.138 MB / 0.8556 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-05/1.785, allocations: 2.406 kB / 0.8556 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.201e-06/1.785, allocations: 0 / 0.8556 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.449e-05/1.785, allocations: 0 / 0.8556 GB, free: 5.078 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.01022/1.796, allocations: 1.184 MB / 0.8567 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.978e-05/1.796, allocations: 10.28 kB / 0.8568 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/1.797, allocations: 92.39 kB / 0.8568 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/1.798, allocations: 227.2 kB / 0.8571 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/1.798, allocations: 15.53 kB / 0.8571 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/1.798, allocations: 17.94 kB / 0.8571 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/1.8, allocations: 445.5 kB / 0.8575 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.8, allocations: 0 / 0.8575 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/1.8, allocations: 9.062 kB / 0.8575 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.8, allocations: 5.719 kB / 0.8575 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/1.802, allocations: 0.6045 MB / 0.8581 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/1.804, allocations: 0.8818 MB / 0.859 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.805, allocations: 253.3 kB / 0.8592 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/1.805, allocations: 74.92 kB / 0.8593 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1225/1.927, allocations: 35.04 MB / 0.8935 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/1.928, allocations: 34.56 kB / 0.8935 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.976e-06/1.928, allocations: 3.938 kB / 0.8936 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.002557/1.93, allocations: 422.1 kB / 0.894 GB, free: 120 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.93, allocations: 55.41 kB / 0.894 GB, free: 52 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/1.93, allocations: 139.7 kB / 0.8941 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/1.931, allocations: 33.7 kB / 0.8942 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.931, allocations: 108.4 kB / 0.8943 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.931, allocations: 88.72 kB / 0.8944 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.931, allocations: 81.56 kB / 0.8944 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002285/1.931, allocations: 330.8 kB / 0.8948 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/1.932, allocations: 79.95 kB / 0.8948 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/1.932, allocations: 135.7 kB / 0.895 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/1.933, allocations: 213 kB / 0.8952 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.933, allocations: 4 kB / 0.8952 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00114/1.934, allocations: 290.2 kB / 0.8954 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/1.934, allocations: 8 kB / 0.8955 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.934, allocations: 0 / 0.8955 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.534e-05/1.934, allocations: 4 kB / 0.8955 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/1.934, allocations: 79.88 kB / 0.8955 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/1.934, allocations: 7.984 kB / 0.8955 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/1.935, allocations: 24.59 kB / 0.8956 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/1.935, allocations: 31.92 kB / 0.8956 GB, free: 14.36 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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 0.0003177/1.935, allocations: 122.4 kB / 0.8957 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/1.935, allocations: 27.73 kB / 0.8957 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.939, allocations: 2.334 MB / 0.898 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/1.939, allocations: 11.98 kB / 0.898 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.939, allocations: 3.984 kB / 0.898 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.939, allocations: 7.875 kB / 0.898 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/1.945, allocations: 3.427 MB / 0.9014 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.945, allocations: 0 / 0.9014 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/1.945, allocations: 59.89 kB / 0.9014 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.945, allocations: 0 / 0.9014 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/1.945, allocations: 15.92 kB / 0.9015 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.945, allocations: 0 / 0.9015 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/1.945, allocations: 4 kB / 0.9015 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/1.946, allocations: 0.5456 MB / 0.902 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/1.947, allocations: 144.5 kB / 0.9021 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/1.947, allocations: 11.94 kB / 0.9021 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/1.947, allocations: 11.98 kB / 0.9022 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/1.947, allocations: 19.98 kB / 0.9022 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/1.947, allocations: 15.98 kB / 0.9022 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001286/1.947, allocations: 103.3 kB / 0.9023 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.947, allocations: 3.938 kB / 0.9023 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009052/1.956, allocations: 1.624 MB / 0.9039 GB, free: 5.719 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.02006/1.976, allocations: 1.895 MB / 0.9057 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.978, allocations: 326.8 kB / 0.906 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.978, allocations: 0 / 0.906 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/1.978, allocations: 240.5 kB / 0.9063 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/1.979, allocations: 72.19 kB / 0.9063 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/1.981, allocations: 0.7792 MB / 0.9071 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/1.982, allocations: 0.7699 MB / 0.9079 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/1.982, allocations: 55.41 kB / 0.9079 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/1.982, allocations: 0 / 0.9079 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of Templates: time 0.1039/2.086, allocations: 31.48 MB / 0.9386 GB, free: 2.172 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.SteamPropertiesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamPropertiesCalcHelperMain.o] Error 1