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.0008445/0.0008444, allocations: 89.2 kB / 16.67 MB, free: 6.59 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.0009552/0.0009552, allocations: 186.8 kB / 17.58 MB, free: 6.188 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.364/1.364, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7233/0.7233, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 11.98 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.428, allocations: 77.52 MB / 0.5606 GB, free: 36.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.6123/1.04, allocations: 232.2 MB / 0.7873 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01994/1.06, allocations: 15.74 MB / 0.8027 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/1.063, allocations: 51.31 kB / 0.8028 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/1.066, allocations: 0.8713 MB / 0.8036 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008355/1.074, allocations: 2.798 MB / 0.8063 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/1.079, allocations: 1.51 MB / 0.8078 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006683/1.086, allocations: 4.651 MB / 0.8124 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/1.088, allocations: 1.041 MB / 0.8134 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007859/1.096, allocations: 2.212 MB / 0.8155 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/1.099, allocations: 1.076 MB / 0.8166 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004641/1.1, allocations: 46.38 kB / 0.8166 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009027/1.109, allocations: 3.573 MB / 0.8201 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/1.11, allocations: 405 kB / 0.8205 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002016/1.112, allocations: 0.7477 MB / 0.8212 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00401/1.116, allocations: 2.146 MB / 0.8233 GB, free: 16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.116, allocations: 5.375 kB / 0.8233 GB, free: 16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.544e-06/1.116, allocations: 0 / 0.8233 GB, free: 16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.6e-05/1.116, allocations: 0 / 0.8233 GB, free: 16 MB / 0.5919 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.003527/1.12, allocations: 1.717 MB / 0.825 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.191e-05/1.12, allocations: 12.88 kB / 0.825 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/1.123, allocations: 0.5372 MB / 0.8255 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/1.125, allocations: 1.124 MB / 0.8266 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008991/1.126, allocations: 267.7 kB / 0.8269 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.126, allocations: 100 kB / 0.827 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/1.129, allocations: 1.351 MB / 0.8283 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/1.129, allocations: 5.688 kB / 0.8283 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/1.129, allocations: 35.19 kB / 0.8283 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/1.129, allocations: 47.77 kB / 0.8284 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/1.132, allocations: 1.113 MB / 0.8295 GB, free: 13.21 MB / 0.5919 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.008639/1.14, allocations: 6.644 MB / 0.836 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/1.142, allocations: 0.6052 MB / 0.8366 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/1.143, allocations: 285.5 kB / 0.8368 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/1.143, allocations: 284.2 kB / 0.8371 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/1.143, allocations: 38.72 kB / 0.8371 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 3.457e-06/1.143, allocations: 0 / 0.8371 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002573/1.146, allocations: 0.8992 MB / 0.838 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/1.146, allocations: 64 kB / 0.8381 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.148, allocations: 1.365 MB / 0.8394 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/1.148, allocations: 37.11 kB / 0.8394 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/1.148, allocations: 0.6789 MB / 0.8401 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/1.148, allocations: 124.9 kB / 0.8402 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/1.148, allocations: 55.53 kB / 0.8403 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.149, allocations: 333.7 kB / 0.8406 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008255/1.149, allocations: 322.5 kB / 0.8409 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.15, allocations: 0.6455 MB / 0.8415 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/1.152, allocations: 0.8912 MB / 0.8424 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.152, allocations: 6.391 kB / 0.8424 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002441/1.155, allocations: 1.043 MB / 0.8434 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002816/1.155, allocations: 372.6 kB / 0.8438 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.155, allocations: 9.625 kB / 0.8438 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/1.155, allocations: 14.16 kB / 0.8438 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/1.156, allocations: 205.5 kB / 0.844 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/1.156, allocations: 18.75 kB / 0.844 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.158, allocations: 231 kB / 0.8442 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/1.158, allocations: 42.64 kB / 0.8443 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/1.158, allocations: 5 kB / 0.8443 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002036/1.16, allocations: 0.8866 MB / 0.8452 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.16, allocations: 9.375 kB / 0.8452 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.16, allocations: 13.41 kB / 0.8452 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/1.16, allocations: 206.8 kB / 0.8454 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.161, allocations: 20.19 kB / 0.8454 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.162, allocations: 192.8 kB / 0.8456 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/1.162, allocations: 38.61 kB / 0.8456 GB, free: 4.051 MB / 0.5919 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.0007098/1.163, allocations: 423.7 kB / 0.846 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/1.163, allocations: 135.2 kB / 0.8462 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/1.165, allocations: 0.6919 MB / 0.8468 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.165, allocations: 2.5 kB / 0.8468 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.165, allocations: 0 / 0.8468 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.165, allocations: 7.922 kB / 0.8468 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/1.169, allocations: 1.979 MB / 0.8488 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.169, allocations: 3.281 kB / 0.8488 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/1.169, allocations: 107.6 kB / 0.8489 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/1.169, allocations: 3.312 kB / 0.8489 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/1.169, allocations: 12.73 kB / 0.8489 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.169, allocations: 6.656 kB / 0.8489 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.169, allocations: 6.031 kB / 0.8489 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/1.171, allocations: 0.8625 MB / 0.8497 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/1.171, allocations: 306.2 kB / 0.85 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/1.172, allocations: 7.312 kB / 0.85 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.173, allocations: 104.2 kB / 0.8501 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/1.173, allocations: 43.58 kB / 0.8502 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/1.173, allocations: 24.39 kB / 0.8502 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001562/1.174, allocations: 0.9965 MB / 0.8512 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.174, allocations: 2.844 kB / 0.8512 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001978/1.176, allocations: 0.5734 MB / 0.8517 GB, free: 252 kB / 0.5919 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.0006157/1.177, allocations: 259.5 kB / 0.852 GB, free: 4 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003024/1.18, allocations: 1.138 MB / 0.8531 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.18, allocations: 0 / 0.8531 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007327/1.181, allocations: 274.6 kB / 0.8534 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/1.186, allocations: 0.7959 MB / 0.8541 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/1.191, allocations: 2.77 MB / 0.8568 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/1.192, allocations: 1.179 MB / 0.858 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/1.193, allocations: 111.4 kB / 0.8581 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/1.193, allocations: 0 / 0.8581 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.03605/1.229, allocations: 21.71 MB / 0.8793 GB, free: 4.23 MB / 0.6231 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++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 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: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 OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppIBPSA_latest_IBPSA.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: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1