Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") 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: 98.88 kB / 16.02 MB, free: 76 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.001918/0.001918, allocations: 184.4 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.138/2.138, allocations: 292.7 MB / 0.5509 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006033/0.0006033, allocations: 19.84 kB / 0.675 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3489, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1178/0.4668, allocations: 113 MB / 0.8989 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7652/1.232, allocations: 26.27 MB / 0.9245 GB, free: 25.21 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006926/1.239, allocations: 116.6 kB / 0.9246 GB, free: 25.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005603/1.245, allocations: 1.038 MB / 0.9256 GB, free: 25.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/1.259, allocations: 3.309 MB / 0.9289 GB, free: 25.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009867/1.269, allocations: 2.974 MB / 0.9318 GB, free: 24.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02047/1.29, allocations: 9.392 MB / 0.9409 GB, free: 24.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007848/1.298, allocations: 2.293 MB / 0.9432 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009941/1.308, allocations: 2.56 MB / 0.9457 GB, free: 24.37 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006691/1.315, allocations: 2.04 MB / 0.9477 GB, free: 24.05 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/1.316, allocations: 103.5 kB / 0.9478 GB, free: 24.05 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/1.323, allocations: 1.378 MB / 0.9491 GB, free: 23.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001423/1.324, allocations: 0.4904 MB / 0.9496 GB, free: 23.8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004682/1.329, allocations: 1.439 MB / 0.951 GB, free: 23.29 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007682/1.337, allocations: 3.966 MB / 0.9549 GB, free: 23.01 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/1.337, allocations: 0 / 0.9549 GB, free: 23.01 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.007e-06/1.337, allocations: 1.25 kB / 0.9549 GB, free: 23.01 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001915/1.337, allocations: 0 / 0.9549 GB, free: 23.01 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.00946/1.346, allocations: 2.834 MB / 0.9576 GB, free: 21.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.346, allocations: 10.38 kB / 0.9577 GB, free: 21.54 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006566/1.353, allocations: 1.103 MB / 0.9587 GB, free: 21.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005912/1.359, allocations: 2.462 MB / 0.9611 GB, free: 20.19 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/1.359, allocations: 150.4 kB / 0.9613 GB, free: 20.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/1.359, allocations: 189.7 kB / 0.9615 GB, free: 20.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006294/1.366, allocations: 2.534 MB / 0.9639 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/1.366, allocations: 3.375 kB / 0.9639 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/1.366, allocations: 76.59 kB / 0.964 GB, free: 18.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-05/1.366, allocations: 55.64 kB / 0.9641 GB, free: 18.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006236/1.372, allocations: 2.38 MB / 0.9664 GB, free: 17.59 MB / 0.7169 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.01877/1.391, allocations: 12.15 MB / 0.9782 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006857/1.398, allocations: 2.122 MB / 0.9803 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/1.401, allocations: 0.9413 MB / 0.9812 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.402, allocations: 1.382 MB / 0.9826 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.402, allocations: 42.59 kB / 0.9826 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002243/1.404, allocations: 231.1 kB / 0.9828 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 5.07e-06/1.404, allocations: 0 / 0.9828 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.03882/1.443, allocations: 9.232 MB / 0.9919 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.443, allocations: 165.6 kB / 0.992 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/1.447, allocations: 2.083 MB / 0.9941 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003024/1.448, allocations: 52.14 kB / 0.9941 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.449, allocations: 1.2 MB / 0.9953 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000512/1.449, allocations: 379.8 kB / 0.9956 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/1.45, allocations: 123.7 kB / 0.9958 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.45, allocations: 301.1 kB / 0.996 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/1.452, allocations: 0.918 MB / 0.9969 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/1.455, allocations: 1.322 MB / 0.9982 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/1.461, allocations: 2.06 MB / 1 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.461, allocations: 4 kB / 1 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00936/1.47, allocations: 3.049 MB / 1.003 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003801/1.47, allocations: 377 kB / 1.004 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.47, allocations: 8 kB / 1.004 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00704/1.477, allocations: 1.617 MB / 1.005 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.479, allocations: 335.5 kB / 1.005 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.493, allocations: 6.091 MB / 1.011 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/1.497, allocations: 383.4 kB / 1.012 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003566/1.498, allocations: 75.95 kB / 1.012 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.498, allocations: 4 kB / 1.012 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006308/1.504, allocations: 2.367 MB / 1.014 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.504, allocations: 8 kB / 1.014 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/1.507, allocations: 0.6905 MB / 1.015 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.509, allocations: 391.5 kB / 1.015 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/1.524, allocations: 6.8 MB / 1.022 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.528, allocations: 323.4 kB / 1.022 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000574/1.529, allocations: 75.95 kB / 1.022 GB, free: 1.297 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,16), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.002623/1.531, allocations: 0.618 MB / 1.023 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.533, allocations: 237 kB / 1.023 GB, free: 444 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/1.541, allocations: 2.515 MB / 1.026 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/1.541, allocations: 12 kB / 1.026 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.541, allocations: 4 kB / 1.026 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006136/1.547, allocations: 2.356 MB / 1.028 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.563, allocations: 5.146 MB / 1.033 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.563, allocations: 3.984 kB / 1.033 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.564, allocations: 255.8 kB / 1.033 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/1.568, allocations: 0.826 MB / 1.034 GB, free: 5.211 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/1.568, allocations: 31.98 kB / 1.034 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/1.571, allocations: 1.492 MB / 1.035 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.571, allocations: 4 kB / 1.035 GB, free: 3.656 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.581, allocations: 3.558 MB / 1.039 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/1.584, allocations: 0.5291 MB / 1.039 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.585, allocations: 27.94 kB / 1.039 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/1.588, allocations: 325.5 kB / 1.04 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/1.588, allocations: 72.89 kB / 1.04 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.588, allocations: 47.97 kB / 1.04 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004052/1.592, allocations: 1.423 MB / 1.041 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4e-07/1.592, allocations: 0 / 1.041 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00757/1.6, allocations: 1.148 MB / 1.042 GB, free: 12.49 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * 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 (86): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/1.602, allocations: 0.5308 MB / 1.043 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.613, allocations: 3.843 MB / 1.047 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.613, allocations: 3.906 kB / 1.047 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/1.616, allocations: 0.9953 MB / 1.048 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008752/1.625, allocations: 1.158 MB / 1.049 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.642, allocations: 5.994 MB / 1.055 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/1.645, allocations: 1.614 MB / 1.056 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.646, allocations: 195.3 kB / 1.056 GB, free: 14.13 MB / 0.795 GB Notification: Performance of SimCode: time 1.843e-06/1.646, allocations: 0 / 1.056 GB, free: 14.13 MB / 0.795 GB Notification: Performance of Templates: time 0.09518/1.741, allocations: 61.55 MB / 1.116 GB, free: 1.047 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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 OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_CoolingCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_CoolingCalcHelperMain.o] Error 1