Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4") translateModel(IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 117.7 kB / 17.08 MB, free: 5.965 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.001226/0.001226, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7316/0.7316, allocations: 115.3 MB / 407.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.14 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.6296/0.78, allocations: 237.5 MB / 0.8647 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02235/0.8024, allocations: 15.79 MB / 0.8801 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.8059, allocations: 63.62 kB / 0.8801 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.8093, allocations: 1.037 MB / 0.8812 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008782/0.8181, allocations: 2.981 MB / 0.8841 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.8231, allocations: 1.685 MB / 0.8857 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005658/0.8287, allocations: 3.435 MB / 0.8891 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.831, allocations: 1.289 MB / 0.8903 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007191/0.8382, allocations: 2.527 MB / 0.8928 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.8408, allocations: 1.081 MB / 0.8939 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.8412, allocations: 120 kB / 0.894 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006308/0.8475, allocations: 3.094 MB / 0.897 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007759/0.8483, allocations: 470.4 kB / 0.8974 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.8496, allocations: 0.8162 MB / 0.8982 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007074/0.8567, allocations: 2.968 MB / 0.9011 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8568, allocations: 0 / 0.9011 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8568, allocations: 3.938 kB / 0.9011 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.457e-05/0.8569, allocations: 4 kB / 0.9011 GB, free: 9.34 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00424/0.8611, allocations: 1.997 MB / 0.9031 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.8612, allocations: 8.031 kB / 0.9031 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.864, allocations: 0.5014 MB / 0.9036 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.8666, allocations: 1.172 MB / 0.9047 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.8667, allocations: 78 kB / 0.9048 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.8669, allocations: 96 kB / 0.9049 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.8692, allocations: 1.354 MB / 0.9062 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.8693, allocations: 7.875 kB / 0.9062 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/0.8694, allocations: 44 kB / 0.9063 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.8694, allocations: 45.98 kB / 0.9063 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.8717, allocations: 1.054 MB / 0.9073 GB, free: 2.754 MB / 0.6544 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.008216/0.8799, allocations: 7.387 MB / 0.9146 GB, free: 10.89 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.8814, allocations: 0.5425 MB / 0.9151 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/0.882, allocations: 257.2 kB / 0.9153 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.8824, allocations: 283.6 kB / 0.9156 GB, free: 9.754 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.8824, allocations: 38.78 kB / 0.9156 GB, free: 9.707 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/0.8825, allocations: 0 / 0.9156 GB, free: 9.707 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002338/0.8848, allocations: 0.84 MB / 0.9165 GB, free: 8.859 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.8849, allocations: 59.41 kB / 0.9165 GB, free: 8.789 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.8868, allocations: 1.391 MB / 0.9179 GB, free: 7.387 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.21e-05/0.8869, allocations: 37.7 kB / 0.9179 GB, free: 7.344 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.8874, allocations: 0.7026 MB / 0.9186 GB, free: 6.637 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.8875, allocations: 118.4 kB / 0.9187 GB, free: 6.52 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.8878, allocations: 170.3 kB / 0.9189 GB, free: 6.344 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8879, allocations: 330 kB / 0.9192 GB, free: 6.016 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/0.8887, allocations: 316.6 kB / 0.9195 GB, free: 5.703 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.8897, allocations: 0.6814 MB / 0.9202 GB, free: 4.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.8913, allocations: 0.9381 MB / 0.9211 GB, free: 3.742 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.8913, allocations: 0 / 0.9211 GB, free: 3.742 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002286/0.8936, allocations: 1.05 MB / 0.9221 GB, free: 2.684 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.8936, allocations: 8 kB / 0.9221 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.8936, allocations: 15.98 kB / 0.9221 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.8937, allocations: 16 kB / 0.9221 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.8945, allocations: 200 kB / 0.9223 GB, free: 2.449 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.8945, allocations: 31.8 kB / 0.9224 GB, free: 2.418 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.8958, allocations: 178.8 kB / 0.9225 GB, free: 2.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.8959, allocations: 47.98 kB / 0.9226 GB, free: 2.195 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.8971, allocations: 0.5682 MB / 0.9231 GB, free: 1.625 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009965/0.8981, allocations: 0.6852 MB / 0.9238 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001582/0.8997, allocations: 0.9217 MB / 0.9247 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.518e-06/0.8997, allocations: 11.98 kB / 0.9247 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002287/0.902, allocations: 1.05 MB / 0.9257 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.902, allocations: 15.94 kB / 0.9257 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.902, allocations: 12.88 kB / 0.9258 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9021, allocations: 16 kB / 0.9258 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.9028, allocations: 199.7 kB / 0.926 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.804e-05/0.9029, allocations: 23.92 kB / 0.926 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.9043, allocations: 135.4 kB / 0.9261 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.9043, allocations: 44 kB / 0.9262 GB, free: 14.17 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002994/0.9046, allocations: 239.8 kB / 0.9264 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.9049, allocations: 142.2 kB / 0.9265 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.9065, allocations: 0.6327 MB / 0.9271 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.9065, allocations: 4 kB / 0.9271 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9065, allocations: 0 / 0.9271 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.9065, allocations: 3.984 kB / 0.9271 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.9099, allocations: 1.892 MB / 0.929 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.91, allocations: 4 kB / 0.929 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.9105, allocations: 95.86 kB / 0.9291 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.9105, allocations: 7.938 kB / 0.9291 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.9105, allocations: 20.14 kB / 0.9291 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.9105, allocations: 4 kB / 0.9291 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.9105, allocations: 7.938 kB / 0.9291 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.9121, allocations: 0.8036 MB / 0.9299 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.9126, allocations: 299.1 kB / 0.9302 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.9128, allocations: 15.98 kB / 0.9302 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/0.9137, allocations: 67.92 kB / 0.9303 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.9138, allocations: 31.84 kB / 0.9303 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.9139, allocations: 23.98 kB / 0.9303 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001397/0.9153, allocations: 1.009 MB / 0.9313 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9153, allocations: 0 / 0.9313 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001892/0.9172, allocations: 0.5695 MB / 0.9319 GB, free: 8.109 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0006231/0.9178, allocations: 266 kB / 0.9321 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.9205, allocations: 1.125 MB / 0.9332 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9205, allocations: 0 / 0.9332 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.9212, allocations: 249.5 kB / 0.9335 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/0.9247, allocations: 0.7509 MB / 0.9342 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.93, allocations: 2.311 MB / 0.9365 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.9308, allocations: 1.171 MB / 0.9376 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.9312, allocations: 107.4 kB / 0.9377 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of SimCode: time 5e-07/0.9312, allocations: 0 / 0.9377 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of Templates: time 0.03209/0.9633, allocations: 22.16 MB / 0.9593 GB, free: 12.04 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.makefile clang++ -std=c++17 -fopenmp=libomp -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4Initialize.cpp:4754:127: error: no matching function for call to 'max' if (!((_res_P_m_flow_ >= max(-1e60,max(-1e5,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0,0.0)))))))))))))) && (_res_P_m_flow_ <= 1e5))) ^~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:407:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int' vs. 'double') max(const _Tp&, const _Tp&); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:3467:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'int' max(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:3461:5: note: candidate function not viable: requires single argument '__l', but 2 arguments were provided max(initializer_list<_Tp> __l) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:412:5: note: candidate function not viable: requires 3 arguments, but 2 were provided max(const _Tp&, const _Tp&, _Compare); ^ 1 error generated. make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1