Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.5 MB / 267.4 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 169.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205 MB / 0.5766 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007745/0.0007745, allocations: 90.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.00029, allocations: 8.656 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5734/0.7315, allocations: 235.4 MB / 1.127 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.7505, allocations: 15.93 MB / 1.142 GB, free: 492 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.753, allocations: 55.22 kB / 1.142 GB, free: 492 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.7555, allocations: 0.8762 MB / 1.143 GB, free: 472 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007898/0.7634, allocations: 2.983 MB / 1.146 GB, free: 316 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.7674, allocations: 1.512 MB / 1.148 GB, free: 248 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007038/0.7745, allocations: 4.655 MB / 1.152 GB, free: 236 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.7767, allocations: 1.043 MB / 1.153 GB, free: 44 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007278/0.784, allocations: 2.054 MB / 1.155 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.7875, allocations: 1.141 MB / 1.156 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003414/0.7879, allocations: 47.19 kB / 1.156 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007064/0.795, allocations: 3.575 MB / 1.16 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008304/0.7958, allocations: 398.7 kB / 1.16 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.7973, allocations: 0.7257 MB / 1.161 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.8008, allocations: 2.151 MB / 1.163 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8008, allocations: 0 / 1.163 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8008, allocations: 5.719 kB / 1.163 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.8009, allocations: 0 / 1.163 GB, free: 12.71 MB / 0.7136 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.003361/0.8042, allocations: 1.711 MB / 1.165 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.8043, allocations: 9.375 kB / 1.165 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.807, allocations: 0.5206 MB / 1.165 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.8093, allocations: 1.115 MB / 1.166 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009008/0.8102, allocations: 278.3 kB / 1.166 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.8104, allocations: 95.72 kB / 1.167 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.8128, allocations: 1.345 MB / 1.168 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.8128, allocations: 6.438 kB / 1.168 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.8129, allocations: 39.66 kB / 1.168 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.8129, allocations: 48.02 kB / 1.168 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.8155, allocations: 1.111 MB / 1.169 GB, free: 8.824 MB / 0.7136 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.007697/0.8232, allocations: 6.73 MB / 1.176 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.8249, allocations: 0.6036 MB / 1.176 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.8255, allocations: 286.9 kB / 1.176 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.8259, allocations: 289.7 kB / 1.177 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.8259, allocations: 34.84 kB / 1.177 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.8259, allocations: 0 / 1.177 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002639/0.8286, allocations: 0.9115 MB / 1.178 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.8286, allocations: 54.22 kB / 1.178 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.8306, allocations: 1.365 MB / 1.179 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/0.8307, allocations: 33.08 kB / 1.179 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/0.8313, allocations: 0.6782 MB / 1.18 GB, free: 276 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.8314, allocations: 121.9 kB / 1.18 GB, free: 172 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.8315, allocations: 60.66 kB / 1.18 GB, free: 124 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8316, allocations: 332.6 kB / 1.18 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/0.8324, allocations: 331.2 kB / 1.181 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.8334, allocations: 0.6656 MB / 1.181 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.8351, allocations: 0.9074 MB / 1.182 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.8352, allocations: 5.906 kB / 1.182 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002335/0.8375, allocations: 1.057 MB / 1.183 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.8377, allocations: 376.8 kB / 1.184 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.8377, allocations: 10.34 kB / 1.184 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.8378, allocations: 11.34 kB / 1.184 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.8386, allocations: 207.5 kB / 1.184 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.8386, allocations: 24.5 kB / 1.184 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.8401, allocations: 232.6 kB / 1.184 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.8401, allocations: 38.33 kB / 1.184 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.8402, allocations: 7.406 kB / 1.184 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002024/0.8422, allocations: 0.9116 MB / 1.185 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8422, allocations: 8 kB / 1.185 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.8422, allocations: 16 kB / 1.185 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.843, allocations: 198.5 kB / 1.185 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.8431, allocations: 25.05 kB / 1.185 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.8444, allocations: 206.9 kB / 1.185 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.8444, allocations: 35.98 kB / 1.185 GB, free: 12.01 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.0006315/0.8451, allocations: 417.7 kB / 1.186 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.8453, allocations: 142.2 kB / 1.186 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.847, allocations: 0.6836 MB / 1.187 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.8471, allocations: 4 kB / 1.187 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8471, allocations: 0 / 1.187 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.8471, allocations: 3.984 kB / 1.187 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.8507, allocations: 1.96 MB / 1.188 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8507, allocations: 8.219 kB / 1.189 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.8512, allocations: 108.9 kB / 1.189 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.8512, allocations: 8 kB / 1.189 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.8513, allocations: 11.98 kB / 1.189 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.8513, allocations: 10.53 kB / 1.189 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8513, allocations: 4 kB / 1.189 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.8529, allocations: 0.8514 MB / 1.189 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/0.8535, allocations: 291.1 kB / 1.19 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/0.8538, allocations: 19.98 kB / 1.19 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.855, allocations: 107.8 kB / 1.19 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.8551, allocations: 32.97 kB / 1.19 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.8552, allocations: 31.97 kB / 1.19 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001378/0.8565, allocations: 0.9922 MB / 1.191 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8565, allocations: 8 kB / 1.191 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001624/0.8582, allocations: 0.5577 MB / 1.191 GB, free: 5.621 MB / 0.7292 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.0005172/0.8587, allocations: 254.8 kB / 1.192 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002805/0.8615, allocations: 1.165 MB / 1.193 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8615, allocations: 0 / 1.193 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.8622, allocations: 280.2 kB / 1.193 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/0.8663, allocations: 0.7702 MB / 1.194 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.8711, allocations: 2.745 MB / 1.197 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.8718, allocations: 1.175 MB / 1.198 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.8721, allocations: 111.4 kB / 1.198 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.8721, allocations: 0 / 1.198 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of Templates: time 0.02926/0.9014, allocations: 21.6 MB / 1.219 GB, free: 9.703 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile clang++ -std=c++14 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4608: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/9/../../../../include/c++/9/bits/algorithmfwd.h:370: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/9/../../../../include/c++/9/bits/stl_algo.h:3468:5: note: candidate template ignored: could not match 'initializer_list' against 'int' max(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3462: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/9/../../../../include/c++/9/bits/algorithmfwd.h:375:5: note: candidate function not viable: requires 3 arguments, but 2 were provided max(const _Tp&, const _Tp&, _Compare); ^ In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4629: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/9/../../../../include/c++/9/bits/algorithmfwd.h:370: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/9/../../../../include/c++/9/bits/stl_algo.h:3468:5: note: candidate template ignored: could not match 'initializer_list' against 'int' max(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3462: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/9/../../../../include/c++/9/bits/algorithmfwd.h:375:5: note: candidate function not viable: requires 3 arguments, but 2 were provided max(const _Tp&, const _Tp&, _Compare); ^ 2 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1