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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001582/0.001582, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.00159/0.00159, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.88 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.9024, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2737/1.176, allocations: 237.6 MB / 1.321 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02242/1.199, allocations: 15.78 MB / 1.336 GB, free: 64 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/1.201, allocations: 59.62 kB / 1.336 GB, free: 4 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003327/1.205, allocations: 1.033 MB / 1.337 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008649/1.213, allocations: 2.979 MB / 1.34 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/1.218, allocations: 1.677 MB / 1.342 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005485/1.224, allocations: 3.434 MB / 1.345 GB, free: 6.859 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/1.226, allocations: 1.291 MB / 1.346 GB, free: 5.535 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006788/1.233, allocations: 2.531 MB / 1.349 GB, free: 3.008 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/1.236, allocations: 1.082 MB / 1.35 GB, free: 1.934 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003767/1.236, allocations: 120 kB / 1.35 GB, free: 1.816 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006279/1.242, allocations: 3.094 MB / 1.353 GB, free: 14.71 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008078/1.243, allocations: 478.4 kB / 1.353 GB, free: 14.25 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/1.244, allocations: 0.8123 MB / 1.354 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006533/1.251, allocations: 2.964 MB / 1.357 GB, free: 10.46 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.251, allocations: 4 kB / 1.357 GB, free: 10.45 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.843e-06/1.251, allocations: 0 / 1.357 GB, free: 10.45 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.215e-05/1.251, allocations: 4 kB / 1.357 GB, free: 10.45 MB / 1.092 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.004061/1.255, allocations: 1.997 MB / 1.359 GB, free: 8.398 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.255, allocations: 8.031 kB / 1.359 GB, free: 8.391 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/1.258, allocations: 0.5014 MB / 1.36 GB, free: 7.887 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/1.261, allocations: 1.164 MB / 1.361 GB, free: 6.664 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/1.261, allocations: 85.98 kB / 1.361 GB, free: 6.582 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/1.261, allocations: 92 kB / 1.361 GB, free: 6.492 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/1.264, allocations: 1.35 MB / 1.362 GB, free: 5.02 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/1.264, allocations: 3.938 kB / 1.362 GB, free: 5.016 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.264, allocations: 44 kB / 1.362 GB, free: 4.973 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/1.264, allocations: 53.98 kB / 1.362 GB, free: 4.922 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/1.266, allocations: 1.05 MB / 1.363 GB, free: 3.867 MB / 1.092 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.008787/1.275, allocations: 7.395 MB / 1.37 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/1.277, allocations: 0.5424 MB / 1.371 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/1.277, allocations: 261.2 kB / 1.371 GB, free: 11.19 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004116/1.278, allocations: 283.6 kB / 1.372 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.278, allocations: 34.84 kB / 1.372 GB, free: 10.81 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/1.278, allocations: 4 kB / 1.372 GB, free: 10.81 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002515/1.28, allocations: 0.8322 MB / 1.372 GB, free: 9.969 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.28, allocations: 55.41 kB / 1.372 GB, free: 9.902 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/1.282, allocations: 1.395 MB / 1.374 GB, free: 8.496 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/1.282, allocations: 33.7 kB / 1.374 GB, free: 8.457 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/1.283, allocations: 0.7064 MB / 1.375 GB, free: 7.746 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/1.283, allocations: 122.4 kB / 1.375 GB, free: 7.625 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/1.283, allocations: 166.3 kB / 1.375 GB, free: 7.457 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.284, allocations: 330 kB / 1.375 GB, free: 7.129 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/1.284, allocations: 320.5 kB / 1.375 GB, free: 6.812 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.286, allocations: 0.6853 MB / 1.376 GB, free: 5.949 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/1.287, allocations: 0.9253 MB / 1.377 GB, free: 4.863 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.287, allocations: 3.938 kB / 1.377 GB, free: 4.859 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002425/1.29, allocations: 1.051 MB / 1.378 GB, free: 3.801 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.29, allocations: 8 kB / 1.378 GB, free: 3.793 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.29, allocations: 12 kB / 1.378 GB, free: 3.781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/1.29, allocations: 16 kB / 1.378 GB, free: 3.766 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/1.291, allocations: 208.3 kB / 1.378 GB, free: 3.562 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/1.291, allocations: 23.92 kB / 1.378 GB, free: 3.539 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.292, allocations: 178.7 kB / 1.378 GB, free: 3.363 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/1.292, allocations: 47.92 kB / 1.378 GB, free: 3.316 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001231/1.293, allocations: 0.5682 MB / 1.379 GB, free: 2.742 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/1.295, allocations: 0.6814 MB / 1.38 GB, free: 1.883 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001654/1.296, allocations: 0.9253 MB / 1.381 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.034e-06/1.296, allocations: 4 kB / 1.381 GB, free: 0.793 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002485/1.299, allocations: 1.051 MB / 1.382 GB, free: 15.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.299, allocations: 12 kB / 1.382 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.299, allocations: 16.12 kB / 1.382 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.299, allocations: 19.98 kB / 1.382 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/1.3, allocations: 199.7 kB / 1.382 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/1.3, allocations: 23.92 kB / 1.382 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.301, allocations: 127.5 kB / 1.382 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/1.301, allocations: 43.98 kB / 1.382 GB, free: 15.3 MB / 1.123 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.0002759/1.301, allocations: 239.8 kB / 1.382 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.302, allocations: 138.2 kB / 1.382 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/1.303, allocations: 0.6482 MB / 1.383 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.304, allocations: 4 kB / 1.383 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.304, allocations: 0 / 1.383 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.304, allocations: 7.984 kB / 1.383 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/1.307, allocations: 1.904 MB / 1.385 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.307, allocations: 4 kB / 1.385 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/1.308, allocations: 96.02 kB / 1.385 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.308, allocations: 4 kB / 1.385 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/1.308, allocations: 12 kB / 1.385 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.826e-05/1.308, allocations: 7.984 kB / 1.385 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.308, allocations: 7.938 kB / 1.385 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/1.31, allocations: 0.7956 MB / 1.386 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/1.31, allocations: 295.1 kB / 1.386 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/1.31, allocations: 12 kB / 1.386 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009881/1.311, allocations: 67.92 kB / 1.386 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/1.312, allocations: 43.73 kB / 1.386 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/1.312, allocations: 23.98 kB / 1.386 GB, free: 10.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001534/1.313, allocations: 1.009 MB / 1.387 GB, free: 9.785 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.2e-07/1.313, allocations: 0 / 1.387 GB, free: 9.785 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002013/1.315, allocations: 0.5619 MB / 1.388 GB, free: 9.223 MB / 1.123 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.0006387/1.316, allocations: 278.4 kB / 1.388 GB, free: 8.953 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00279/1.319, allocations: 1.124 MB / 1.389 GB, free: 7.832 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.319, allocations: 0.9375 kB / 1.389 GB, free: 7.832 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006475/1.319, allocations: 260.5 kB / 1.389 GB, free: 7.578 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/1.323, allocations: 0.7351 MB / 1.39 GB, free: 6.848 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/1.328, allocations: 2.3 MB / 1.392 GB, free: 4.469 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/1.329, allocations: 1.168 MB / 1.394 GB, free: 3.273 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/1.33, allocations: 111.4 kB / 1.394 GB, free: 3.164 MB / 1.123 GB Notification: Performance of SimCode: time 6.41e-07/1.33, allocations: 0 / 1.394 GB, free: 3.164 MB / 1.123 GB Notification: Performance of Templates: time 0.03768/1.367, allocations: 22.16 MB / 1.415 GB, free: 13.2 MB / 1.154 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++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_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: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: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1