Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001901/0.001901, allocations: 104.1 kB / 16.27 MB, free: 6.414 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.002042/0.002042, allocations: 191 kB / 17.2 MB, free: 5.953 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437.1 MB / 0.7111 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.92 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.313, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7918/1.105, allocations: 237.6 MB / 1.25 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02451/1.129, allocations: 15.77 MB / 1.265 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/1.132, allocations: 63.62 kB / 1.265 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003126/1.135, allocations: 1.041 MB / 1.266 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008322/1.143, allocations: 2.973 MB / 1.269 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/1.148, allocations: 1.676 MB / 1.271 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005504/1.154, allocations: 3.43 MB / 1.274 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/1.156, allocations: 1.284 MB / 1.276 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/1.163, allocations: 2.492 MB / 1.278 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/1.165, allocations: 1.082 MB / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003714/1.166, allocations: 116 kB / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006588/1.172, allocations: 3.091 MB / 1.282 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008158/1.173, allocations: 482.4 kB / 1.283 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/1.174, allocations: 0.8124 MB / 1.283 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006403/1.181, allocations: 2.929 MB / 1.286 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.181, allocations: 0 / 1.286 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/1.181, allocations: 0 / 1.286 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.967e-05/1.181, allocations: 0 / 1.286 GB, free: 6.488 MB / 0.9825 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.004267/1.185, allocations: 2.006 MB / 1.288 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.185, allocations: 8.031 kB / 1.288 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/1.188, allocations: 0.5014 MB / 1.289 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/1.191, allocations: 1.11 MB / 1.29 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009457/1.192, allocations: 237.8 kB / 1.29 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/1.192, allocations: 108 kB / 1.29 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/1.195, allocations: 1.358 MB / 1.292 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.195, allocations: 3.938 kB / 1.292 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.195, allocations: 44 kB / 1.292 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.771e-05/1.195, allocations: 53.97 kB / 1.292 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/1.198, allocations: 1.077 MB / 1.293 GB, free: 15.76 MB / 0.9981 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.009467/1.207, allocations: 7.446 MB / 1.3 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/1.209, allocations: 0.5699 MB / 1.301 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/1.21, allocations: 269.2 kB / 1.301 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/1.21, allocations: 291.5 kB / 1.301 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/1.21, allocations: 34.84 kB / 1.301 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.343e-05/1.21, allocations: 0 / 1.301 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002727/1.213, allocations: 0.8763 MB / 1.302 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/1.213, allocations: 55.41 kB / 1.302 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/1.215, allocations: 1.399 MB / 1.303 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/1.215, allocations: 33.7 kB / 1.303 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006566/1.216, allocations: 0.6987 MB / 1.304 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.216, allocations: 126.3 kB / 1.304 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/1.216, allocations: 162.4 kB / 1.304 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.217, allocations: 330 kB / 1.305 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009339/1.217, allocations: 332.6 kB / 1.305 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.219, allocations: 0.7047 MB / 1.306 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/1.221, allocations: 0.9542 MB / 1.307 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.221, allocations: 8 kB / 1.307 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002777/1.224, allocations: 1.07 MB / 1.308 GB, free: 15.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.224, allocations: 12 kB / 1.308 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.224, allocations: 8 kB / 1.308 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/1.224, allocations: 16 kB / 1.308 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/1.225, allocations: 215.9 kB / 1.308 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/1.225, allocations: 23.92 kB / 1.308 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.226, allocations: 198.5 kB / 1.308 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/1.226, allocations: 47.92 kB / 1.308 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001417/1.228, allocations: 0.5799 MB / 1.309 GB, free: 14.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001274/1.229, allocations: 0.7008 MB / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001992/1.231, allocations: 0.9489 MB / 1.31 GB, free: 12.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.404e-06/1.231, allocations: 4 kB / 1.31 GB, free: 12.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002737/1.234, allocations: 1.07 MB / 1.311 GB, free: 11.31 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.234, allocations: 15.94 kB / 1.311 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.234, allocations: 12.16 kB / 1.311 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.234, allocations: 16 kB / 1.311 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/1.235, allocations: 215.6 kB / 1.312 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/1.235, allocations: 19.94 kB / 1.312 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.236, allocations: 143.5 kB / 1.312 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/1.236, allocations: 39.98 kB / 1.312 GB, free: 10.86 MB / 1.014 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.0003358/1.237, allocations: 234.6 kB / 1.312 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/1.237, allocations: 146.2 kB / 1.312 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/1.239, allocations: 0.6762 MB / 1.313 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/1.239, allocations: 4 kB / 1.313 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.239, allocations: 0 / 1.313 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.239, allocations: 0 / 1.313 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/1.243, allocations: 1.914 MB / 1.315 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.243, allocations: 4 kB / 1.315 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/1.244, allocations: 100 kB / 1.315 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.244, allocations: 11.97 kB / 1.315 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/1.244, allocations: 12 kB / 1.315 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/1.244, allocations: 7.938 kB / 1.315 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.244, allocations: 8 kB / 1.315 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/1.246, allocations: 0.8276 MB / 1.316 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/1.246, allocations: 291.1 kB / 1.316 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/1.246, allocations: 15.98 kB / 1.316 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.247, allocations: 75.92 kB / 1.316 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/1.247, allocations: 39.78 kB / 1.316 GB, free: 6.289 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/1.248, allocations: 19.98 kB / 1.316 GB, free: 6.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001641/1.249, allocations: 1.017 MB / 1.317 GB, free: 5.258 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.249, allocations: 0 / 1.317 GB, free: 5.258 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001948/1.251, allocations: 0.5773 MB / 1.318 GB, free: 4.68 MB / 1.014 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.0006818/1.252, allocations: 278.4 kB / 1.318 GB, free: 4.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003269/1.255, allocations: 1.173 MB / 1.319 GB, free: 3.242 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.255, allocations: 4.312 kB / 1.319 GB, free: 3.238 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/1.256, allocations: 267.8 kB / 1.319 GB, free: 2.977 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.26, allocations: 0.7353 MB / 1.32 GB, free: 2.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/1.265, allocations: 2.338 MB / 1.322 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/1.266, allocations: 1.175 MB / 1.323 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/1.266, allocations: 103.4 kB / 1.324 GB, free: 14.52 MB / 1.029 GB Notification: Performance of SimCode: time 1.342e-06/1.266, allocations: 0 / 1.324 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Templates: time 0.03753/1.304, allocations: 22.02 MB / 1.345 GB, free: 8.668 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.makefile make -j1 -f Buildings_10_Buildings.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 OMCppBuildings_10_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4754: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); ^ 1 error generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1