Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 92.25 kB / 16.33 MB, free: 6.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 191.4 kB / 17.23 MB, free: 6.699 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.516/1.516, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7263/0.7263, allocations: 114.4 MB / 406.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 12.78 kB / 494.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 77.26 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00136/0.1919, allocations: 0.9728 MB / 0.5593 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.1954, allocations: 3.048 MB / 0.5622 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.1954, allocations: 0 / 0.5622 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.1954, allocations: 7.938 kB / 0.5622 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.1955, allocations: 0 / 0.5622 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.1959, allocations: 87.61 kB / 0.5623 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.196, allocations: 31.86 kB / 0.5624 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.1961, allocations: 4 kB / 0.5624 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.1962, allocations: 23.91 kB / 0.5624 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.1963, allocations: 11.98 kB / 0.5624 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1963, allocations: 0 / 0.5624 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.1965, allocations: 59.83 kB / 0.5624 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.1966, allocations: 4 kB / 0.5625 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.1966, allocations: 33.64 kB / 0.5625 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1968, allocations: 40.23 kB / 0.5625 GB, free: 6.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.1968, allocations: 0 / 0.5625 GB, free: 6.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1968, allocations: 0 / 0.5625 GB, free: 6.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1968, allocations: 3.938 kB / 0.5625 GB, free: 6.609 MB / 430.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.0005775/0.1974, allocations: 335.4 kB / 0.5628 GB, free: 6.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/0.1975, allocations: 16.02 kB / 0.5629 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.1977, allocations: 11.89 kB / 0.5629 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1978, allocations: 163 kB / 0.563 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1979, allocations: 4 kB / 0.563 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.1979, allocations: 11.89 kB / 0.563 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1981, allocations: 57.66 kB / 0.5631 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1981, allocations: 0 / 0.5631 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1982, allocations: 0 / 0.5631 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1982, allocations: 0 / 0.5631 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.1983, allocations: 23.92 kB / 0.5631 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.1986, allocations: 173.7 kB / 0.5633 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1987, allocations: 46.56 kB / 0.5633 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.1987, allocations: 16.84 kB / 0.5633 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.1997, allocations: 0.5948 MB / 0.5639 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.1998, allocations: 38.5 kB / 0.564 GB, free: 4.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1998, allocations: 0 / 0.564 GB, free: 4.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008173/0.2006, allocations: 298.2 kB / 0.5642 GB, free: 4.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.2007, allocations: 55.41 kB / 0.5643 GB, free: 4.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2008, allocations: 101.8 kB / 0.5644 GB, free: 4.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2009, allocations: 25.7 kB / 0.5644 GB, free: 4.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.201, allocations: 92.05 kB / 0.5645 GB, free: 4.219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.201, allocations: 31.55 kB / 0.5645 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.201, allocations: 0 / 0.5645 GB, free: 4.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.2012, allocations: 322.8 kB / 0.5648 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.2013, allocations: 7.984 kB / 0.5649 GB, free: 3.855 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.2013, allocations: 52.98 kB / 0.5649 GB, free: 3.789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.663e-05/0.2014, allocations: 36.09 kB / 0.5649 GB, free: 3.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2014, allocations: 0 / 0.5649 GB, free: 3.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001646/0.2016, allocations: 93.48 kB / 0.565 GB, free: 3.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2016, allocations: 8 kB / 0.565 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2016, allocations: 0 / 0.565 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.2017, allocations: 4 kB / 0.565 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.2017, allocations: 20.12 kB / 0.5651 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2018, allocations: 0 / 0.5651 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.2018, allocations: 11.98 kB / 0.5651 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2018, allocations: 4 kB / 0.5651 GB, free: 3.609 MB / 430.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 0.0001216/0.202, allocations: 121.7 kB / 0.5652 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.202, allocations: 3.906 kB / 0.5652 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.202, allocations: 7.969 kB / 0.5652 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.2021, allocations: 7.938 kB / 0.5652 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2021, allocations: 0 / 0.5652 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2021, allocations: 4 kB / 0.5652 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.2024, allocations: 177.7 kB / 0.5654 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2024, allocations: 0 / 0.5654 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.2025, allocations: 15.98 kB / 0.5654 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2025, allocations: 0 / 0.5654 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2025, allocations: 8 kB / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.2025, allocations: 448 / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2025, allocations: 0 / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2028, allocations: 171.4 kB / 0.5656 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.2028, allocations: 89.02 kB / 0.5657 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2029, allocations: 4 kB / 0.5657 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.203, allocations: 8.031 kB / 0.5657 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.203, allocations: 0 / 0.5657 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.203, allocations: 8 kB / 0.5657 GB, free: 2.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.2031, allocations: 75.28 kB / 0.5657 GB, free: 2.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2031, allocations: 0 / 0.5657 GB, free: 2.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.2033, allocations: 16 kB / 0.5658 GB, free: 2.812 MB / 430.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.0001825/0.2035, allocations: 103.9 kB / 0.5659 GB, free: 2.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2037, allocations: 43.86 kB / 0.5659 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2037, allocations: 4 kB / 0.5659 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.2038, allocations: 11.98 kB / 0.5659 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2041, allocations: 11.95 kB / 0.5659 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.2049, allocations: 424.7 kB / 0.5663 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.2054, allocations: 0.6809 MB / 0.567 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.2055, allocations: 11.44 kB / 0.567 GB, free: 1.461 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.2055, allocations: 0 / 0.567 GB, free: 1.461 MB / 430.1 MB Notification: Performance of Templates: time 0.003216/0.2087, allocations: 0.7577 MB / 0.5678 GB, free: 0.7031 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1