Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 169.2 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 0.7948 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.0009713, allocations: 87.86 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 12.81 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 142.3 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.571, allocations: 473.8 MB / 1.686 GB, free: 8.582 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.572, allocations: 98.45 kB / 1.686 GB, free: 8.531 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.674/5.246, allocations: 1.019 GB / 2.704 GB, free: 2.047 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.783e-06/5.246, allocations: 4 kB / 2.704 GB, free: 2.043 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004539/5.247, allocations: 67.97 kB / 2.705 GB, free: 1.977 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.8469/6.093, allocations: 3.431 MB / 2.708 GB, free: 175.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/6.094, allocations: 8.062 kB / 2.708 GB, free: 175.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/6.099, allocations: 0.7456 MB / 2.709 GB, free: 175.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/6.11, allocations: 3.092 MB / 2.712 GB, free: 174.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/6.111, allocations: 335.5 kB / 2.712 GB, free: 174.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007989/6.112, allocations: 176.3 kB / 2.712 GB, free: 174.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/6.118, allocations: 2.051 MB / 2.714 GB, free: 174.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/6.118, allocations: 4.25 kB / 2.714 GB, free: 174.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/6.118, allocations: 70.56 kB / 2.714 GB, free: 174.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/6.118, allocations: 66.88 kB / 2.714 GB, free: 174.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/6.123, allocations: 1.881 MB / 2.716 GB, free: 174.4 MB / 1.151 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.01974/6.143, allocations: 9.489 MB / 2.725 GB, free: 170.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/6.146, allocations: 1.159 MB / 2.726 GB, free: 170.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009295/6.155, allocations: 4.283 MB / 2.731 GB, free: 168.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002025/6.157, allocations: 0.876 MB / 2.732 GB, free: 168.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002003/6.159, allocations: 193.1 kB / 2.732 GB, free: 168.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=101): time 8.095e-06/6.159, allocations: 4.75 kB / 2.732 GB, free: 168.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=101): time 0.006196/6.166, allocations: 2.165 MB / 2.734 GB, free: 168.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/6.166, allocations: 89.14 kB / 2.734 GB, free: 168.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004692/6.17, allocations: 2.1 MB / 2.736 GB, free: 167.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006009/6.171, allocations: 59.64 kB / 2.736 GB, free: 167.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/6.172, allocations: 1.155 MB / 2.737 GB, free: 167.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/6.173, allocations: 340.9 kB / 2.737 GB, free: 167.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/6.173, allocations: 32.55 kB / 2.738 GB, free: 167.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001148/6.173, allocations: 355.3 kB / 2.738 GB, free: 167.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/6.175, allocations: 0.7843 MB / 2.739 GB, free: 167.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/6.177, allocations: 1.293 MB / 2.74 GB, free: 166.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/6.179, allocations: 0.9666 MB / 2.741 GB, free: 166.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/6.179, allocations: 3.188 kB / 2.741 GB, free: 166.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006151/6.185, allocations: 2.378 MB / 2.743 GB, free: 166.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001302/6.187, allocations: 5.304 MB / 2.748 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/6.187, allocations: 13.53 kB / 2.748 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.447e-05/6.187, allocations: 21.16 kB / 2.748 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/6.188, allocations: 370.3 kB / 2.749 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/6.188, allocations: 27.45 kB / 2.749 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/6.192, allocations: 372.2 kB / 2.749 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/6.192, allocations: 84.88 kB / 2.749 GB, free: 160.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/6.192, allocations: 3.75 kB / 2.749 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004443/6.197, allocations: 2.187 MB / 2.751 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/6.197, allocations: 9.781 kB / 2.751 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/6.197, allocations: 24.86 kB / 2.751 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/6.198, allocations: 368.6 kB / 2.752 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/6.198, allocations: 29.31 kB / 2.752 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/6.202, allocations: 360.2 kB / 2.752 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/6.202, allocations: 86.75 kB / 2.752 GB, free: 160.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,heaPum.uMod,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001861/6.204, allocations: 0.6246 MB / 2.753 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009065/6.205, allocations: 241.6 kB / 2.753 GB, free: 160.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/6.209, allocations: 1.927 MB / 2.755 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/6.209, allocations: 11.77 kB / 2.755 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/6.209, allocations: 0 / 2.755 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002687/6.212, allocations: 1.504 MB / 2.756 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009215/6.221, allocations: 4.05 MB / 2.76 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/6.221, allocations: 6.75 kB / 2.76 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/6.222, allocations: 247.9 kB / 2.761 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/6.222, allocations: 7.75 kB / 2.761 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/6.222, allocations: 37.88 kB / 2.761 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/6.222, allocations: 5.406 kB / 2.761 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/6.222, allocations: 8.234 kB / 2.761 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005397/6.228, allocations: 2.927 MB / 2.763 GB, free: 158.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/6.23, allocations: 0.5175 MB / 2.764 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000579/6.23, allocations: 24.89 kB / 2.764 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/6.232, allocations: 194.5 kB / 2.764 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/6.233, allocations: 81.05 kB / 2.764 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/6.233, allocations: 61.84 kB / 2.764 GB, free: 158.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002714/6.235, allocations: 1.628 MB / 2.766 GB, free: 158.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.41e-07/6.235, allocations: 0 / 2.766 GB, free: 158.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006252/6.242, allocations: 1.438 MB / 2.767 GB, free: 158.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,heaPum.uMod,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002884/6.245, allocations: 1.502 MB / 2.769 GB, free: 158 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006747/6.251, allocations: 3.394 MB / 2.772 GB, free: 157.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/6.251, allocations: 1.25 kB / 2.772 GB, free: 157.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/6.253, allocations: 0.7983 MB / 2.773 GB, free: 157.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006454/6.26, allocations: 1.13 MB / 2.774 GB, free: 157.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/6.27, allocations: 5.049 MB / 2.779 GB, free: 155.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/6.272, allocations: 1.7 MB / 2.781 GB, free: 154.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004219/6.276, allocations: 0.611 MB / 2.781 GB, free: 154.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007179/6.277, allocations: 193 kB / 2.781 GB, free: 154.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.252e-06/6.277, allocations: 0 / 2.781 GB, free: 154.5 MB / 1.151 GB Notification: Performance of Templates: time 0.09717/6.374, allocations: 56.49 MB / 2.837 GB, free: 151.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.o Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.o Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:1456:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:1456:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:1456:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2217:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2217:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2217:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2584:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2584:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2584:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2590:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 2))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2590:12: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 2))) ~ ^ ~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.c:2590:12: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 2))) ^~ = 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_records.o Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_records.c Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_records.c:3566:140: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.h:2482:278: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_records.c:3566:157: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.h:2482:292: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_records.c:3651:172: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct(threadData, ths->_coo, -55680.0, 14244.44, ths->_mLoa_flow, ths->_mSou_flow, tmp145, tmp146, 285.15, 301.15); ~~~ ^ ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.h:2521:378: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct(td, ths , in_Q_flow, in_P, in_mLoa_flow, in_mSou_flow, in_coeQ, in_coeP, in_TRefLoa, in_TRefSou) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct_p(td, &ths , in_Q_flow, in_P, in_mLoa_flow, in_mSou_flow, in_coeQ, in_coeP, in_TRefLoa, in_TRefSou) ^~~~~~~~~~~~ Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_records.c:3651:189: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct(threadData, ths->_coo, -55680.0, 14244.44, ths->_mLoa_flow, ths->_mSou_flow, tmp145, tmp146, 285.15, 301.15); ~~~ ^ ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_functions.h:2521:392: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct(td, ths , in_Q_flow, in_P, in_mLoa_flow, in_mSou_flow, in_coeQ, in_coeP, in_TRefLoa, in_TRefSou) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct_p(td, &ths , in_Q_flow, in_P, in_mLoa_flow, in_mSou_flow, in_coeQ, in_coeP, in_TRefLoa, in_TRefSou) ^~~~~~~~~~~~ 4 errors generated. make: *** [: Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_records.o] Error 1