Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.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.00633/0.00633, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001392/0.001392, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.719/1.719, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.6912, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2333/0.9246, allocations: 235.4 MB / 1.179 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.9457, allocations: 15.92 MB / 1.195 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.9482, allocations: 55.62 kB / 1.195 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.9512, allocations: 0.8744 MB / 1.196 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008539/0.9598, allocations: 2.8 MB / 1.199 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.9642, allocations: 1.512 MB / 1.2 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005801/0.97, allocations: 4.654 MB / 1.205 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.9719, allocations: 1.071 MB / 1.206 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006233/0.9782, allocations: 2.259 MB / 1.208 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.9809, allocations: 1.121 MB / 1.209 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.9812, allocations: 64 kB / 1.209 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/0.988, allocations: 3.601 MB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007986/0.9888, allocations: 430.4 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.9902, allocations: 0.746 MB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.9938, allocations: 2.187 MB / 1.216 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.9938, allocations: 4 kB / 1.216 GB, free: 500 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9938, allocations: 0 / 1.216 GB, free: 500 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.512e-05/0.9939, allocations: 0 / 1.216 GB, free: 500 kB / 0.9669 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.003848/0.9977, allocations: 2.005 MB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.9978, allocations: 8.031 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/1.001, allocations: 0.5014 MB / 1.218 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/1.003, allocations: 1.11 MB / 1.219 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008729/1.004, allocations: 241.8 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/1.004, allocations: 100 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/1.007, allocations: 1.314 MB / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.007, allocations: 7.938 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.007, allocations: 40 kB / 1.221 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/1.007, allocations: 45.98 kB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/1.009, allocations: 1.077 MB / 1.222 GB, free: 9.84 MB / 0.9825 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.007921/1.017, allocations: 6.627 MB / 1.229 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/1.019, allocations: 0.5677 MB / 1.229 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/1.02, allocations: 273.2 kB / 1.229 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004505/1.02, allocations: 279.6 kB / 1.23 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.02, allocations: 34.84 kB / 1.23 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/1.02, allocations: 7.938 kB / 1.23 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002604/1.023, allocations: 0.8557 MB / 1.231 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/1.023, allocations: 55.41 kB / 1.231 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/1.025, allocations: 1.362 MB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/1.025, allocations: 33.7 kB / 1.232 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/1.026, allocations: 0.6832 MB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/1.026, allocations: 122.4 kB / 1.233 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/1.026, allocations: 146 kB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.026, allocations: 338 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/1.027, allocations: 315.2 kB / 1.234 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.028, allocations: 0.6183 MB / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/1.03, allocations: 0.8701 MB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.03, allocations: 7.938 kB / 1.235 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002539/1.033, allocations: 1.004 MB / 1.236 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/1.033, allocations: 8 kB / 1.236 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/1.033, allocations: 8 kB / 1.236 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/1.033, allocations: 12 kB / 1.236 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/1.034, allocations: 192.1 kB / 1.236 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-05/1.034, allocations: 23.91 kB / 1.236 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.035, allocations: 210.8 kB / 1.236 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/1.035, allocations: 39.98 kB / 1.236 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/1.037, allocations: 0.5636 MB / 1.237 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001045/1.038, allocations: 0.6223 MB / 1.238 GB, free: 9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001677/1.039, allocations: 0.8468 MB / 1.238 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/1.039, allocations: 8 kB / 1.238 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002373/1.042, allocations: 0.999 MB / 1.239 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.042, allocations: 8.781 kB / 1.239 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.042, allocations: 11.98 kB / 1.239 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.042, allocations: 20 kB / 1.24 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/1.043, allocations: 187.7 kB / 1.24 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.043, allocations: 15.94 kB / 1.24 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.044, allocations: 163.4 kB / 1.24 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.044, allocations: 35.98 kB / 1.24 GB, free: 6.574 MB / 0.9981 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 (78): * Single equations (assignments): 78 * 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.000286/1.044, allocations: 236 kB / 1.24 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/1.045, allocations: 134.3 kB / 1.24 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/1.046, allocations: 0.6562 MB / 1.241 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.047, allocations: 4 kB / 1.241 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.047, allocations: 3.938 kB / 1.241 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.047, allocations: 7.984 kB / 1.241 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/1.05, allocations: 1.934 MB / 1.243 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.05, allocations: 4 kB / 1.243 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/1.051, allocations: 96.02 kB / 1.243 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/1.051, allocations: 19.92 kB / 1.243 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.051, allocations: 8 kB / 1.243 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/1.051, allocations: 15.88 kB / 1.243 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.051, allocations: 4 kB / 1.243 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/1.053, allocations: 0.8149 MB / 1.244 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/1.053, allocations: 295.1 kB / 1.244 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.054, allocations: 11.98 kB / 1.244 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.055, allocations: 95.84 kB / 1.244 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.055, allocations: 39.83 kB / 1.244 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/1.055, allocations: 19.98 kB / 1.244 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001572/1.056, allocations: 0.9925 MB / 1.245 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.056, allocations: 0 / 1.245 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001772/1.058, allocations: 0.5733 MB / 1.246 GB, free: 424 kB / 0.9981 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.0005854/1.059, allocations: 263.3 kB / 1.246 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4192/1.478, allocations: 1.077 MB / 1.247 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.478, allocations: 1.094 kB / 1.247 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007665/1.479, allocations: 264.5 kB / 1.247 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.483, allocations: 0.7519 MB / 1.248 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/1.489, allocations: 2.733 MB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/1.49, allocations: 1.174 MB / 1.252 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/1.49, allocations: 104.8 kB / 1.252 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.49, allocations: 4.656 kB / 1.252 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0381/1.528, allocations: 21.93 MB / 1.273 GB, free: 273.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile clang++ -std=c++14 -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 OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4587:140: error: no matching function for call to 'max' if (!((tmp31 >= max(-9.999999999999999e+59,max(-100000.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,max(0,0.0)))))))))))))) && (tmp32 <= 100000.0))) ^~~ /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); ^ In file included from OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4608:149: error: no matching function for call to 'max' if (!((_res_P_m_flow_ >= max(-9.999999999999999e+59,max(-100000.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,max(0,0.0)))))))))))))) && (_res_P_m_flow_ <= 100000.0))) ^~~ /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); ^ 2 errors generated. make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1