Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001114/0.001114, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001147/0.001148, allocations: 187 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 285.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8845/0.8845, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 95.84 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.39, allocations: 86.97 MB / 0.767 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.6131/1.003, allocations: 237.5 MB / 0.999 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01783/1.021, allocations: 15.8 MB / 1.014 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/1.024, allocations: 62.5 kB / 1.014 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002754/1.026, allocations: 1.031 MB / 1.015 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007644/1.034, allocations: 2.974 MB / 1.018 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004222/1.038, allocations: 1.695 MB / 1.02 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005105/1.044, allocations: 3.431 MB / 1.023 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/1.046, allocations: 1.291 MB / 1.025 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/1.052, allocations: 2.528 MB / 1.027 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/1.054, allocations: 1.078 MB / 1.028 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003257/1.055, allocations: 120.8 kB / 1.028 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00561/1.06, allocations: 3.098 MB / 1.031 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007741/1.061, allocations: 474.6 kB / 1.032 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.063, allocations: 0.8128 MB / 1.033 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006307/1.069, allocations: 2.978 MB / 1.035 GB, free: 72 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.069, allocations: 2.812 kB / 1.035 GB, free: 72 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/1.069, allocations: 1.094 kB / 1.035 GB, free: 72 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.164e-05/1.069, allocations: 0 / 1.035 GB, free: 72 kB / 0.7169 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.004897/1.074, allocations: 1.996 MB / 1.037 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/1.074, allocations: 9.5 kB / 1.037 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/1.077, allocations: 0.5023 MB / 1.038 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/1.08, allocations: 1.165 MB / 1.039 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/1.08, allocations: 81.25 kB / 1.039 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/1.08, allocations: 104.4 kB / 1.039 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/1.082, allocations: 1.359 MB / 1.041 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/1.082, allocations: 5.156 kB / 1.041 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.082, allocations: 47.72 kB / 1.041 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/1.083, allocations: 44.92 kB / 1.041 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/1.085, allocations: 1.054 MB / 1.042 GB, free: 14.12 MB / 0.7325 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.007781/1.093, allocations: 7.384 MB / 1.049 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/1.094, allocations: 0.5384 MB / 1.049 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/1.095, allocations: 255 kB / 1.05 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/1.095, allocations: 285.7 kB / 1.05 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.095, allocations: 39.88 kB / 1.05 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/1.095, allocations: 2.531 kB / 1.05 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002249/1.097, allocations: 0.8328 MB / 1.051 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.097, allocations: 56.69 kB / 1.051 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/1.099, allocations: 1.399 MB / 1.052 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/1.099, allocations: 35.3 kB / 1.052 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/1.1, allocations: 0.7017 MB / 1.053 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/1.1, allocations: 120.6 kB / 1.053 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/1.1, allocations: 166.7 kB / 1.053 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.101, allocations: 337.1 kB / 1.054 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/1.101, allocations: 309.4 kB / 1.054 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.102, allocations: 0.6889 MB / 1.054 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.104, allocations: 0.9303 MB / 1.055 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/1.104, allocations: 2.469 kB / 1.055 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002269/1.106, allocations: 1.044 MB / 1.056 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.106, allocations: 15.91 kB / 1.056 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.106, allocations: 12.09 kB / 1.056 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/1.106, allocations: 19 kB / 1.056 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/1.107, allocations: 204.7 kB / 1.057 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/1.107, allocations: 21.28 kB / 1.057 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.108, allocations: 185.8 kB / 1.057 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/1.109, allocations: 42.73 kB / 1.057 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/1.11, allocations: 0.5651 MB / 1.057 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009914/1.111, allocations: 0.6855 MB / 1.058 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001557/1.112, allocations: 0.9327 MB / 1.059 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.688e-06/1.112, allocations: 2.75 kB / 1.059 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002296/1.115, allocations: 1.047 MB / 1.06 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.115, allocations: 9.906 kB / 1.06 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.115, allocations: 11.78 kB / 1.06 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.115, allocations: 22.22 kB / 1.06 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/1.115, allocations: 210.9 kB / 1.06 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/1.115, allocations: 18.47 kB / 1.06 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.117, allocations: 135.8 kB / 1.06 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/1.117, allocations: 41.27 kB / 1.06 GB, free: 1.883 MB / 0.7325 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.0002712/1.117, allocations: 233.4 kB / 1.061 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/1.117, allocations: 150.4 kB / 1.061 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/1.119, allocations: 0.6377 MB / 1.061 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.119, allocations: 6.844 kB / 1.061 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.119, allocations: 2.844 kB / 1.061 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.119, allocations: 0 / 1.061 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/1.123, allocations: 1.884 MB / 1.063 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/1.123, allocations: 6.531 kB / 1.063 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/1.124, allocations: 90.67 kB / 1.063 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/1.124, allocations: 8 kB / 1.063 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/1.124, allocations: 15.92 kB / 1.063 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.124, allocations: 10.62 kB / 1.063 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.124, allocations: 6.438 kB / 1.063 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.125, allocations: 0.81 MB / 1.064 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/1.126, allocations: 303 kB / 1.065 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/1.126, allocations: 8 kB / 1.065 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.127, allocations: 70.45 kB / 1.065 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/1.127, allocations: 34.44 kB / 1.065 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/1.128, allocations: 23.98 kB / 1.065 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001602/1.129, allocations: 1.005 MB / 1.066 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.129, allocations: 4 kB / 1.066 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002215/1.131, allocations: 0.5813 MB / 1.066 GB, free: 12.43 MB / 0.7481 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.0006874/1.132, allocations: 262.1 kB / 1.066 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002805/1.135, allocations: 1.125 MB / 1.068 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/1.135, allocations: 4 kB / 1.068 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/1.136, allocations: 256.6 kB / 1.068 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/1.139, allocations: 0.7364 MB / 1.069 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/1.145, allocations: 2.304 MB / 1.071 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008662/1.145, allocations: 1.183 MB / 1.072 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/1.146, allocations: 103.4 kB / 1.072 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/1.146, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of Templates: time 0.03343/1.179, allocations: 22.15 MB / 1.094 GB, free: 0.5625 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildingSystems_BuildingSystems.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: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1