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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.00126/0.00126, allocations: 177.1 kB / 498.1 MB, free: 5.727 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.679/1.679, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.0008784/0.0008783, allocations: 96.81 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003907, allocations: 12.94 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.551, allocations: 473.8 MB / 1.686 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.551, allocations: 97.02 kB / 1.686 GB, free: 3.594 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.686/5.237, allocations: 1.019 GB / 2.704 GB, free: 67.61 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.925e-06/5.238, allocations: 0 / 2.704 GB, free: 67.61 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005801/5.238, allocations: 67.97 kB / 2.705 GB, free: 67.55 MB / 1.167 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.01244/5.251, allocations: 3.436 MB / 2.708 GB, free: 64.02 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/5.251, allocations: 16.02 kB / 2.708 GB, free: 64 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001156/5.252, allocations: 223.6 kB / 2.708 GB, free: 63.77 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/5.256, allocations: 0.7458 MB / 2.709 GB, free: 63.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/5.267, allocations: 3.104 MB / 2.712 GB, free: 59.84 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009662/5.268, allocations: 334.2 kB / 2.712 GB, free: 59.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009929/5.269, allocations: 175.9 kB / 2.712 GB, free: 59.33 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006313/5.276, allocations: 2.055 MB / 2.714 GB, free: 57.18 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.642e-05/5.276, allocations: 7.938 kB / 2.714 GB, free: 57.17 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004656/5.276, allocations: 64 kB / 2.714 GB, free: 57.11 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.496e-05/5.276, allocations: 66.84 kB / 2.714 GB, free: 57.04 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/5.281, allocations: 1.877 MB / 2.716 GB, free: 55.16 MB / 1.167 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.01799/5.299, allocations: 9.493 MB / 2.726 GB, free: 45.16 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/5.302, allocations: 1.165 MB / 2.727 GB, free: 43.98 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00846/5.31, allocations: 4.284 MB / 2.731 GB, free: 39.39 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/5.312, allocations: 0.8793 MB / 2.732 GB, free: 38.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001699/5.314, allocations: 194.8 kB / 2.732 GB, free: 38.31 MB / 1.167 GB Notification: Performance of pre-optimization done (n=101): time 9.277e-06/5.314, allocations: 0 / 2.732 GB, free: 38.31 MB / 1.167 GB Notification: Performance of matching and sorting (n=101): time 0.005172/5.319, allocations: 2.161 MB / 2.734 GB, free: 36.14 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/5.319, allocations: 90.11 kB / 2.734 GB, free: 36.04 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/5.323, allocations: 2.089 MB / 2.736 GB, free: 33.94 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004787/5.324, allocations: 65.69 kB / 2.736 GB, free: 33.87 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/5.325, allocations: 1.154 MB / 2.737 GB, free: 32.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/5.325, allocations: 343.1 kB / 2.738 GB, free: 32.36 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/5.325, allocations: 35.94 kB / 2.738 GB, free: 32.32 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001124/5.325, allocations: 361.9 kB / 2.738 GB, free: 31.96 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/5.327, allocations: 0.7801 MB / 2.739 GB, free: 31.18 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/5.329, allocations: 1.279 MB / 2.74 GB, free: 29.69 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/5.331, allocations: 0.9762 MB / 2.741 GB, free: 28.69 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/5.331, allocations: 7.953 kB / 2.741 GB, free: 28.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005071/5.336, allocations: 2.375 MB / 2.743 GB, free: 26.27 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001213/5.337, allocations: 5.305 MB / 2.749 GB, free: 20.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/5.337, allocations: 12 kB / 2.749 GB, free: 20.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.299e-05/5.337, allocations: 31.94 kB / 2.749 GB, free: 20.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/5.339, allocations: 367.4 kB / 2.749 GB, free: 20.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/5.339, allocations: 23.94 kB / 2.749 GB, free: 20.08 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/5.342, allocations: 367.4 kB / 2.749 GB, free: 19.72 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/5.343, allocations: 91.94 kB / 2.749 GB, free: 19.63 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/5.343, allocations: 4 kB / 2.749 GB, free: 19.63 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004881/5.348, allocations: 2.173 MB / 2.752 GB, free: 17.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/5.348, allocations: 15.98 kB / 2.752 GB, free: 17.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/5.348, allocations: 28.69 kB / 2.752 GB, free: 17.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/5.349, allocations: 367.4 kB / 2.752 GB, free: 17.03 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/5.349, allocations: 19.94 kB / 2.752 GB, free: 17.01 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/5.353, allocations: 359.5 kB / 2.752 GB, free: 16.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/5.353, allocations: 87.95 kB / 2.752 GB, free: 16.57 MB / 1.167 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.001966/5.355, allocations: 0.6255 MB / 2.753 GB, free: 15.94 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009479/5.356, allocations: 244.9 kB / 2.753 GB, free: 15.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/5.361, allocations: 1.929 MB / 2.755 GB, free: 13.75 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/5.361, allocations: 12 kB / 2.755 GB, free: 13.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/5.361, allocations: 0 / 2.755 GB, free: 13.73 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002896/5.364, allocations: 1.5 MB / 2.757 GB, free: 12.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009782/5.373, allocations: 4.048 MB / 2.761 GB, free: 8.059 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/5.374, allocations: 8.281 kB / 2.761 GB, free: 8.051 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/5.375, allocations: 247.7 kB / 2.761 GB, free: 7.809 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/5.375, allocations: 8 kB / 2.761 GB, free: 7.801 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/5.375, allocations: 31.97 kB / 2.761 GB, free: 7.77 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/5.375, allocations: 11.94 kB / 2.761 GB, free: 7.758 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/5.375, allocations: 0 / 2.761 GB, free: 7.758 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/5.381, allocations: 2.926 MB / 2.764 GB, free: 4.738 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/5.383, allocations: 0.5172 MB / 2.764 GB, free: 4.199 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009832/5.384, allocations: 27.98 kB / 2.764 GB, free: 4.172 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/5.386, allocations: 183.9 kB / 2.764 GB, free: 3.992 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/5.387, allocations: 88.83 kB / 2.764 GB, free: 3.906 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/5.387, allocations: 55.94 kB / 2.765 GB, free: 3.852 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003941/5.391, allocations: 1.638 MB / 2.766 GB, free: 2.207 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/5.391, allocations: 0 / 2.766 GB, free: 2.207 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007705/5.398, allocations: 1.443 MB / 2.768 GB, free: 0.7617 MB / 1.167 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.8907/6.289, allocations: 5.404 MB / 2.773 GB, free: 192.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008949/6.298, allocations: 3.389 MB / 2.776 GB, free: 191.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/6.298, allocations: 3.062 kB / 2.776 GB, free: 191.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/6.3, allocations: 0.7962 MB / 2.777 GB, free: 191.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006637/6.307, allocations: 1.121 MB / 2.778 GB, free: 191.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/6.323, allocations: 14.6 MB / 2.792 GB, free: 180.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/6.325, allocations: 1.698 MB / 2.794 GB, free: 180.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004259/6.33, allocations: 0.6127 MB / 2.795 GB, free: 180.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/6.332, allocations: 1.043 MB / 2.796 GB, free: 180.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/6.332, allocations: 0 / 2.796 GB, free: 180.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/6.468, allocations: 79.94 MB / 2.874 GB, free: 177.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/6.468, allocations: 245.8 kB / 2.874 GB, free: 177.1 MB / 1.167 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.o Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c In file included from Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c:7: In file included from ./Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.o Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c In file included from Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2: In file included from ./Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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))) ^~ = 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c In file included from Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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, tmp14, tmp15, 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, tmp14, tmp15, 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) ^~~~~~~~~~~~ 2 warnings and 4 errors generated. make: *** [: Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1