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.267/2.267, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001043/0.001043, allocations: 184.9 kB / 492.3 MB, free: 0.6172 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.645/1.645, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009753/0.0009753, allocations: 101.9 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.194e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2661, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.299/1.566, allocations: 473.7 MB / 1.675 GB, free: 5.629 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.566, allocations: 94.14 kB / 1.675 GB, free: 5.582 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 4.751/6.316, allocations: 1.016 GB / 2.691 GB, free: 183.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.766e-06/6.317, allocations: 0 / 2.691 GB, free: 183.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004659/6.317, allocations: 70.44 kB / 2.691 GB, free: 183.7 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.009069/6.326, allocations: 2.785 MB / 2.694 GB, free: 182.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/6.326, allocations: 10.06 kB / 2.694 GB, free: 182.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008768/6.327, allocations: 219.8 kB / 2.694 GB, free: 182.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/6.332, allocations: 0.7505 MB / 2.695 GB, free: 182.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009193/6.341, allocations: 3.066 MB / 2.698 GB, free: 182 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/6.342, allocations: 350.4 kB / 2.698 GB, free: 181.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008834/6.343, allocations: 169.6 kB / 2.698 GB, free: 181.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/6.348, allocations: 1.863 MB / 2.7 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-05/6.348, allocations: 6.734 kB / 2.7 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/6.348, allocations: 67 kB / 2.7 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-05/6.349, allocations: 66.5 kB / 2.7 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/6.352, allocations: 1.522 MB / 2.701 GB, free: 181.6 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01707/6.369, allocations: 9.482 MB / 2.711 GB, free: 177.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/6.371, allocations: 0.9539 MB / 2.712 GB, free: 177.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/6.372, allocations: 0.6327 MB / 2.712 GB, free: 177.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00793/6.38, allocations: 4.282 MB / 2.716 GB, free: 175.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/6.381, allocations: 0.7262 MB / 2.717 GB, free: 175.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001692/6.383, allocations: 188.2 kB / 2.717 GB, free: 175.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 1.271e-05/6.383, allocations: 5.656 kB / 2.717 GB, free: 175.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.003047/6.386, allocations: 1.283 MB / 2.719 GB, free: 175.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/6.386, allocations: 93.16 kB / 2.719 GB, free: 175.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004975/6.391, allocations: 2.03 MB / 2.721 GB, free: 175 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004646/6.391, allocations: 60.17 kB / 2.721 GB, free: 175 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/6.393, allocations: 1.165 MB / 2.722 GB, free: 174.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/6.394, allocations: 338.8 kB / 2.722 GB, free: 174.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/6.394, allocations: 30.75 kB / 2.722 GB, free: 174.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001676/6.394, allocations: 358.9 kB / 2.723 GB, free: 174.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/6.395, allocations: 0.6111 MB / 2.723 GB, free: 174.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/6.397, allocations: 1.106 MB / 2.724 GB, free: 173.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/6.398, allocations: 0.7987 MB / 2.725 GB, free: 173.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/6.399, allocations: 3.312 kB / 2.725 GB, free: 173.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004463/6.403, allocations: 2.029 MB / 2.727 GB, free: 173.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001396/6.404, allocations: 5.302 MB / 2.732 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/6.404, allocations: 16.33 kB / 2.732 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.712e-05/6.405, allocations: 26.88 kB / 2.732 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/6.406, allocations: 371.2 kB / 2.733 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-05/6.406, allocations: 29.09 kB / 2.733 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/6.41, allocations: 365.8 kB / 2.733 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/6.411, allocations: 93.3 kB / 2.733 GB, free: 167.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/6.411, allocations: 5.312 kB / 2.733 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003616/6.414, allocations: 1.821 MB / 2.735 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/6.414, allocations: 17.11 kB / 2.735 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/6.414, allocations: 18.94 kB / 2.735 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/6.416, allocations: 360.3 kB / 2.735 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.056e-05/6.416, allocations: 26.95 kB / 2.735 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/6.42, allocations: 360.2 kB / 2.736 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/6.42, allocations: 84.86 kB / 2.736 GB, free: 167.3 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * 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.0006472/6.421, allocations: 204.8 kB / 2.736 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009247/6.421, allocations: 259.6 kB / 2.736 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/6.425, allocations: 1.627 MB / 2.738 GB, free: 167 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/6.425, allocations: 14.52 kB / 2.738 GB, free: 167 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/6.425, allocations: 2.812 kB / 2.738 GB, free: 167 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001761/6.427, allocations: 1.217 MB / 2.739 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008343/6.436, allocations: 3.746 MB / 2.743 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/6.436, allocations: 3.5 kB / 2.743 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/6.437, allocations: 247.2 kB / 2.743 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/6.437, allocations: 9.281 kB / 2.743 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/6.437, allocations: 37.94 kB / 2.743 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/6.437, allocations: 3.812 kB / 2.743 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/6.437, allocations: 7.375 kB / 2.743 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/6.441, allocations: 2.47 MB / 2.745 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/6.443, allocations: 0.5154 MB / 2.746 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/6.444, allocations: 26.33 kB / 2.746 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/6.447, allocations: 188.7 kB / 2.746 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/6.447, allocations: 89.17 kB / 2.746 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/6.447, allocations: 54.28 kB / 2.746 GB, free: 165.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004071/6.451, allocations: 1.568 MB / 2.748 GB, free: 165.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.162e-06/6.451, allocations: 0.5625 kB / 2.748 GB, free: 165.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01007/6.461, allocations: 1.439 MB / 2.749 GB, free: 165.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 97 * 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.008234/6.47, allocations: 4.939 MB / 2.754 GB, free: 163.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00555/6.475, allocations: 2.981 MB / 2.757 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/6.475, allocations: 0 / 2.757 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/6.476, allocations: 0.6537 MB / 2.757 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007351/6.484, allocations: 1.124 MB / 2.759 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/6.498, allocations: 3.883 MB / 2.762 GB, free: 161.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/6.5, allocations: 1.704 MB / 2.764 GB, free: 161 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00531/6.505, allocations: 0.8528 MB / 2.765 GB, free: 160.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/6.507, allocations: 0.9748 MB / 2.766 GB, free: 160.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.192e-06/6.507, allocations: 0 / 2.766 GB, free: 160.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/6.654, allocations: 85.82 MB / 2.85 GB, free: 157 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/6.654, allocations: 217.5 kB / 2.85 GB, free: 156.7 MB / 1.151 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4015:136: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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:2221:270: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4015:153: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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:2221:284: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4104:168: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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); // ths->_coo has no default value. ~~~ ^ ./Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:370: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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:4104:185: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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); // ths->_coo has no default value. ~~~ ^ ./Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:384: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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:4302:168: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct(threadData, ths->_coo, -55680.0, 14244.44, ths->_mLoa_flow, ths->_mSou_flow, tmp30, tmp31, 285.15, 301.15); // ths->_coo has no default value. ~~~ ^ ./Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:370: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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:4302:185: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct(threadData, ths->_coo, -55680.0, 14244.44, ths->_mLoa_flow, ths->_mSou_flow, tmp30, tmp31, 285.15, 301.15); // ths->_coo has no default value. ~~~ ^ ./Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:384: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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 6 errors generated. make: *** [: Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1