Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.002021/0.002021, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001844/0.001844, 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8778/0.8778, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 60.69 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1635, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4): time 0.6308/0.7943, allocations: 237.8 MB / 0.9085 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02072/0.815, allocations: 15.84 MB / 0.924 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.8179, allocations: 63.62 kB / 0.924 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.8211, allocations: 1.045 MB / 0.925 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008078/0.8292, allocations: 2.959 MB / 0.9279 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.8338, allocations: 1.697 MB / 0.9296 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005528/0.8394, allocations: 3.441 MB / 0.9329 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.8416, allocations: 1.281 MB / 0.9342 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006529/0.8481, allocations: 2.53 MB / 0.9367 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.8506, allocations: 1.077 MB / 0.9377 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.851, allocations: 124 kB / 0.9378 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006416/0.8574, allocations: 3.094 MB / 0.9409 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.8582, allocations: 478.4 kB / 0.9413 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.8595, allocations: 0.8123 MB / 0.9421 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00626/0.8658, allocations: 3.077 MB / 0.9451 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.8658, allocations: 0 / 0.9451 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8658, allocations: 0 / 0.9451 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.8658, allocations: 0 / 0.9451 GB, free: 10.25 MB / 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.003841/0.8697, allocations: 2.005 MB / 0.9471 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.8697, allocations: 8.031 kB / 0.9471 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.8725, allocations: 0.5092 MB / 0.9476 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.8748, allocations: 1.16 MB / 0.9487 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/0.8749, allocations: 82 kB / 0.9488 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.875, allocations: 96 kB / 0.9489 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.8775, allocations: 1.35 MB / 0.9502 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.8775, allocations: 7.938 kB / 0.9502 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.8776, allocations: 48 kB / 0.9503 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/0.8777, allocations: 41.98 kB / 0.9503 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.88, allocations: 1.057 MB / 0.9513 GB, free: 3.652 MB / 0.7169 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.008963/0.889, allocations: 7.387 MB / 0.9585 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.8906, allocations: 0.5309 MB / 0.9591 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.8913, allocations: 265.2 kB / 0.9593 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.8917, allocations: 283.5 kB / 0.9596 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.8918, allocations: 46.78 kB / 0.9596 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 4.308e-06/0.8918, allocations: 0 / 0.9596 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002689/0.8945, allocations: 0.8443 MB / 0.9604 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.8945, allocations: 55.41 kB / 0.9605 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.8972, allocations: 1.391 MB / 0.9619 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.8974, allocations: 33.7 kB / 0.9619 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007142/0.8981, allocations: 0.7025 MB / 0.9626 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.8982, allocations: 122.3 kB / 0.9627 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.8986, allocations: 170.4 kB / 0.9629 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8987, allocations: 330 kB / 0.9632 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.8996, allocations: 320.6 kB / 0.9635 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.9008, allocations: 0.6939 MB / 0.9642 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.9027, allocations: 0.9467 MB / 0.9651 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.9027, allocations: 4 kB / 0.9651 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00269/0.9054, allocations: 1.066 MB / 0.9661 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.9055, allocations: 12 kB / 0.9661 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.9055, allocations: 12 kB / 0.9661 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.632e-05/0.9055, allocations: 23.97 kB / 0.9662 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.9064, allocations: 207.6 kB / 0.9664 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.9065, allocations: 23.92 kB / 0.9664 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.9079, allocations: 182.7 kB / 0.9666 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.908, allocations: 43.98 kB / 0.9666 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001287/0.9093, allocations: 0.5682 MB / 0.9672 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/0.9104, allocations: 0.6978 MB / 0.9678 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001691/0.9121, allocations: 0.9421 MB / 0.9688 GB, free: 488 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.06e-05/0.9121, allocations: 4 kB / 0.9688 GB, free: 484 kB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002553/0.9147, allocations: 1.066 MB / 0.9698 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9147, allocations: 15.94 kB / 0.9698 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.9147, allocations: 12 kB / 0.9698 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.9148, allocations: 16 kB / 0.9699 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/0.9156, allocations: 212 kB / 0.9701 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/0.9157, allocations: 23.88 kB / 0.9701 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.9171, allocations: 143.2 kB / 0.9702 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.9173, allocations: 43.98 kB / 0.9703 GB, free: 14.94 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002877/0.9175, allocations: 236.8 kB / 0.9705 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.9179, allocations: 146.2 kB / 0.9706 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.9196, allocations: 0.6404 MB / 0.9712 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9197, allocations: 0 / 0.9712 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.9197, allocations: 4 kB / 0.9712 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.9197, allocations: 0 / 0.9712 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00398/0.9237, allocations: 1.885 MB / 0.9731 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.9237, allocations: 4 kB / 0.9731 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.9242, allocations: 92.08 kB / 0.9732 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.9242, allocations: 15.88 kB / 0.9732 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.9243, allocations: 8 kB / 0.9732 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.9243, allocations: 15.92 kB / 0.9732 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.9243, allocations: 4 kB / 0.9732 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.926, allocations: 0.7956 MB / 0.974 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/0.9266, allocations: 299 kB / 0.9743 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.9269, allocations: 8 kB / 0.9743 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9281, allocations: 71.92 kB / 0.9744 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.9282, allocations: 43.83 kB / 0.9744 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.9283, allocations: 15.98 kB / 0.9744 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001633/0.9299, allocations: 1.005 MB / 0.9754 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9299, allocations: 4 kB / 0.9754 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002121/0.9321, allocations: 0.5735 MB / 0.976 GB, free: 8.883 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.0007175/0.9328, allocations: 274.5 kB / 0.9762 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.9357, allocations: 1.145 MB / 0.9773 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9357, allocations: 0 / 0.9773 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.9364, allocations: 260 kB / 0.9776 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/0.94, allocations: 0.7325 MB / 0.9783 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.9454, allocations: 2.304 MB / 0.9806 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.9464, allocations: 1.175 MB / 0.9817 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.9468, allocations: 103.4 kB / 0.9818 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/0.9468, allocations: 0 / 0.9818 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of Templates: time 0.03531/0.9821, allocations: 22.27 MB / 1.004 GB, free: 12.71 MB / 0.7794 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4Initialize.cpp:4755: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: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1