Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, 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.001435/0.001435, allocations: 178.1 kB / 16.58 MB, free: 6.145 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.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 267.2 kB / 292 MB, free: 1.977 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.8673/0.8673, allocations: 144.7 MB / 487.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 10.81 kB / 0.5691 GB, free: 38.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.186, allocations: 83.09 MB / 0.6502 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001336/0.1874, allocations: 0.9754 MB / 0.6512 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.1908, allocations: 3.046 MB / 0.6541 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.1909, allocations: 1.344 kB / 0.6542 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.1909, allocations: 0 / 0.6542 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.1909, allocations: 7.922 kB / 0.6542 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.1914, allocations: 84.97 kB / 0.6542 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.036e-05/0.1915, allocations: 31.86 kB / 0.6543 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1915, allocations: 4.672 kB / 0.6543 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.1916, allocations: 19.98 kB / 0.6543 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.1916, allocations: 16.42 kB / 0.6543 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1917, allocations: 4.531 kB / 0.6543 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1918, allocations: 52.42 kB / 0.6544 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1919, allocations: 8.438 kB / 0.6544 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.1919, allocations: 33.7 kB / 0.6544 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.192, allocations: 37.08 kB / 0.6544 GB, free: 15.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.192, allocations: 3.984 kB / 0.6544 GB, free: 15.24 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1921, allocations: 0 / 0.6544 GB, free: 15.24 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1921, allocations: 0.6562 kB / 0.6544 GB, free: 15.24 MB / 462.1 MB 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.000348/0.1924, allocations: 342.2 kB / 0.6548 GB, free: 14.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1925, allocations: 12.75 kB / 0.6548 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.1926, allocations: 4 kB / 0.6548 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1927, allocations: 167.6 kB / 0.6549 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1927, allocations: 0.875 kB / 0.6549 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1927, allocations: 8 kB / 0.655 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1929, allocations: 54.28 kB / 0.655 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1929, allocations: 0 / 0.655 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1929, allocations: 9.031 kB / 0.655 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1929, allocations: 0 / 0.655 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.193, allocations: 17.44 kB / 0.655 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.1931, allocations: 173.5 kB / 0.6552 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.1932, allocations: 56.84 kB / 0.6552 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.1933, allocations: 16.84 kB / 0.6553 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007776/0.1941, allocations: 0.5851 MB / 0.6558 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1941, allocations: 38.56 kB / 0.6559 GB, free: 13.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1941, allocations: 0 / 0.6559 GB, free: 13.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005541/0.1947, allocations: 291.8 kB / 0.6562 GB, free: 13.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.1947, allocations: 66.72 kB / 0.6562 GB, free: 13.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.1948, allocations: 101.9 kB / 0.6563 GB, free: 13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1948, allocations: 25.7 kB / 0.6563 GB, free: 12.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1949, allocations: 91.98 kB / 0.6564 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1949, allocations: 31.55 kB / 0.6565 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1949, allocations: 4 kB / 0.6565 GB, free: 12.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.195, allocations: 310.8 kB / 0.6568 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.1951, allocations: 16.7 kB / 0.6568 GB, free: 12.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.1951, allocations: 50.39 kB / 0.6568 GB, free: 12.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.305e-05/0.1952, allocations: 25.89 kB / 0.6568 GB, free: 12.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1952, allocations: 0 / 0.6568 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000125/0.1953, allocations: 93.55 kB / 0.6569 GB, free: 12.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1954, allocations: 4 kB / 0.6569 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1954, allocations: 4 kB / 0.6569 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1954, allocations: 4 kB / 0.6569 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.1955, allocations: 27.92 kB / 0.657 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1955, allocations: 7.953 kB / 0.657 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.1955, allocations: 3.938 kB / 0.657 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1955, allocations: 4 kB / 0.657 GB, free: 12.27 MB / 462.1 MB 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 (12): * Single equations (assignments): 12 * 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 8.926e-05/0.1956, allocations: 127.2 kB / 0.6571 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1957, allocations: 7.906 kB / 0.6571 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.1957, allocations: 7.969 kB / 0.6571 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1957, allocations: 0 / 0.6571 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1957, allocations: 0 / 0.6571 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1957, allocations: 7.938 kB / 0.6571 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.196, allocations: 173.7 kB / 0.6573 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.196, allocations: 7.984 kB / 0.6573 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.1961, allocations: 12 kB / 0.6573 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1961, allocations: 4 kB / 0.6573 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1961, allocations: 0 / 0.6573 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1961, allocations: 0 / 0.6573 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1961, allocations: 0 / 0.6573 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1963, allocations: 175.4 kB / 0.6575 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1963, allocations: 85.05 kB / 0.6576 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1964, allocations: 11.94 kB / 0.6576 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.1965, allocations: 0 / 0.6576 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1965, allocations: 8 kB / 0.6576 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.1965, allocations: 0 / 0.6576 GB, free: 11.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.1965, allocations: 83.27 kB / 0.6577 GB, free: 11.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1966, allocations: 0 / 0.6577 GB, free: 11.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1968, allocations: 12 kB / 0.6577 GB, free: 11.47 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0001292/0.1969, allocations: 107.2 kB / 0.6578 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1971, allocations: 40.11 kB / 0.6578 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1971, allocations: 0 / 0.6578 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.1971, allocations: 28.06 kB / 0.6578 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.1974, allocations: 4.156 kB / 0.6578 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.198, allocations: 416.6 kB / 0.6582 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1983, allocations: 0.6848 MB / 0.6589 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.1983, allocations: 11.44 kB / 0.6589 GB, free: 10.12 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1983, allocations: 4 kB / 0.6589 GB, free: 10.11 MB / 462.1 MB Notification: Performance of Templates: time 0.002233/0.2006, allocations: 0.7535 MB / 0.6597 GB, free: 9.359 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1