Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 103 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.001194/0.001194, allocations: 173.9 kB / 16.58 MB, free: 6.07 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.449/1.449, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001675/0.001675, allocations: 267 kB / 292 MB, free: 2 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9918/0.9918, allocations: 144.7 MB / 487.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 13.92 kB / 0.5691 GB, free: 38.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1817, allocations: 83.08 MB / 0.6502 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001591/0.1834, allocations: 0.9759 MB / 0.6512 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1495/0.3329, allocations: 124.9 MB / 0.7732 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.333, allocations: 4 kB / 0.7732 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.333, allocations: 0 / 0.7732 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.3331, allocations: 3.938 kB / 0.7732 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.3341, allocations: 350.8 kB / 0.7735 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.3341, allocations: 43.83 kB / 0.7736 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.3342, allocations: 4 kB / 0.7736 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.3342, allocations: 15.98 kB / 0.7736 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.3343, allocations: 23.91 kB / 0.7736 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3343, allocations: 4 kB / 0.7736 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3356, allocations: 0.7724 MB / 0.7744 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3357, allocations: 7.984 kB / 0.7744 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.3357, allocations: 29.7 kB / 0.7744 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.336, allocations: 291.7 kB / 0.7747 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3361, allocations: 0 / 0.7747 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3361, allocations: 0 / 0.7747 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3361, allocations: 0 / 0.7747 GB, free: 3.855 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004233/0.3365, allocations: 359.2 kB / 0.775 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3365, allocations: 8.031 kB / 0.775 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.3367, allocations: 15.98 kB / 0.775 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3368, allocations: 167 kB / 0.7752 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3369, allocations: 4 kB / 0.7752 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3369, allocations: 8 kB / 0.7752 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.337, allocations: 49.67 kB / 0.7753 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3371, allocations: 3.984 kB / 0.7753 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3371, allocations: 0 / 0.7753 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3371, allocations: 4 kB / 0.7753 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.3372, allocations: 23.97 kB / 0.7753 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.3373, allocations: 169.6 kB / 0.7754 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.3374, allocations: 54.45 kB / 0.7755 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.3375, allocations: 20.84 kB / 0.7755 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3869/0.7244, allocations: 3.197 MB / 0.7786 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.7245, allocations: 39.34 kB / 0.7787 GB, free: 130 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.7245, allocations: 0 / 0.7787 GB, free: 130 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03565/0.7601, allocations: 14.25 MB / 0.7926 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.7602, allocations: 55.41 kB / 0.7926 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.7603, allocations: 97.72 kB / 0.7927 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.7603, allocations: 29.7 kB / 0.7928 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 1.565e-05/0.7603, allocations: 80.14 kB / 0.7928 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.7603, allocations: 42.02 kB / 0.7929 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.7603, allocations: 0 / 0.7929 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.7604, allocations: 321 kB / 0.7932 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.7604, allocations: 23.73 kB / 0.7932 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.7605, allocations: 24.23 kB / 0.7932 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.7606, allocations: 24.06 kB / 0.7933 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7606, allocations: 2.734 kB / 0.7933 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001787/0.7608, allocations: 105.7 kB / 0.7934 GB, free: 127 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7608, allocations: 9.562 kB / 0.7934 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7608, allocations: 3.844 kB / 0.7934 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7608, allocations: 3.953 kB / 0.7934 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.7609, allocations: 25.67 kB / 0.7934 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7609, allocations: 4 kB / 0.7934 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.761, allocations: 4.5 kB / 0.7934 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.761, allocations: 4 kB / 0.7934 GB, free: 127 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 (14): * Single equations (assignments): 14 * 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 6.729e-05/0.7611, allocations: 118.8 kB / 0.7935 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.7611, allocations: 9.781 kB / 0.7935 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.7614, allocations: 123 kB / 0.7937 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7614, allocations: 4 kB / 0.7937 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7614, allocations: 7.797 kB / 0.7937 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7614, allocations: 0.5 kB / 0.7937 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.7615, allocations: 174.8 kB / 0.7938 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7615, allocations: 0 / 0.7938 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.7616, allocations: 26.42 kB / 0.7939 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7616, allocations: 0 / 0.7939 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.7617, allocations: 5.938 kB / 0.7939 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7617, allocations: 1 kB / 0.7939 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7617, allocations: 4.656 kB / 0.7939 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.7619, allocations: 158.1 kB / 0.794 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.762, allocations: 85.14 kB / 0.7941 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.762, allocations: 5.562 kB / 0.7941 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7621, allocations: 12.48 kB / 0.7941 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.7622, allocations: 12.44 kB / 0.7941 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.7622, allocations: 7.984 kB / 0.7941 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.945e-05/0.7622, allocations: 79.23 kB / 0.7942 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7622, allocations: 0 / 0.7942 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002021/0.7642, allocations: 0.5672 MB / 0.7948 GB, free: 125.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002982/0.7672, allocations: 359.6 kB / 0.7951 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.7674, allocations: 67.08 kB / 0.7952 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7674, allocations: 0 / 0.7952 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.7675, allocations: 43.23 kB / 0.7952 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.7677, allocations: 7.938 kB / 0.7952 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.7682, allocations: 439.1 kB / 0.7956 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.7684, allocations: 0.6848 MB / 0.7963 GB, free: 124 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.7684, allocations: 19.44 kB / 0.7963 GB, free: 124 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.7684, allocations: 0 / 0.7963 GB, free: 124 MB / 0.5606 GB Notification: Performance of Templates: time 0.0215/0.7899, allocations: 14.32 MB / 0.8103 GB, free: 109.8 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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 OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.o] Error 1