Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.2 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 197 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 97.08 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004499, allocations: 15.53 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2718, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.821/2.093, allocations: 474.7 MB / 1.443 GB, free: 337.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/2.094, allocations: 101.1 kB / 1.443 GB, free: 337.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.67/5.764, allocations: 1.005 GB / 2.448 GB, free: 76.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/5.764, allocations: 0 / 2.448 GB, free: 76.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006065/5.764, allocations: 67.31 kB / 2.448 GB, free: 76.62 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.0138/5.778, allocations: 3.47 MB / 2.452 GB, free: 73.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/5.778, allocations: 8.031 kB / 2.452 GB, free: 73.07 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001288/5.78, allocations: 235.3 kB / 2.452 GB, free: 72.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/5.784, allocations: 0.6561 MB / 2.452 GB, free: 72.17 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/5.795, allocations: 3.072 MB / 2.455 GB, free: 69.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/5.796, allocations: 342.3 kB / 2.456 GB, free: 68.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/5.797, allocations: 176 kB / 2.456 GB, free: 68.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006836/5.804, allocations: 2.051 MB / 2.458 GB, free: 66.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.865e-05/5.804, allocations: 7.844 kB / 2.458 GB, free: 66.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005737/5.804, allocations: 71.98 kB / 2.458 GB, free: 66.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/5.804, allocations: 39.17 kB / 2.458 GB, free: 66.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004937/5.809, allocations: 1.846 MB / 2.46 GB, free: 64.4 MB / 0.948 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.01894/5.828, allocations: 9.438 MB / 2.469 GB, free: 54.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/5.831, allocations: 1.13 MB / 2.47 GB, free: 53.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008952/5.84, allocations: 4.243 MB / 2.474 GB, free: 48.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/5.842, allocations: 0.8558 MB / 2.475 GB, free: 47.94 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001861/5.844, allocations: 186.8 kB / 2.475 GB, free: 47.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 1.028e-05/5.844, allocations: 0 / 2.475 GB, free: 47.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.005455/5.849, allocations: 2.102 MB / 2.477 GB, free: 45.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/5.849, allocations: 141.5 kB / 2.478 GB, free: 45.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/5.855, allocations: 2.105 MB / 2.48 GB, free: 43.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003468/5.855, allocations: 61.69 kB / 2.48 GB, free: 43.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/5.857, allocations: 1.178 MB / 2.481 GB, free: 42.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/5.857, allocations: 335.3 kB / 2.481 GB, free: 41.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/5.857, allocations: 28 kB / 2.481 GB, free: 41.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001492/5.858, allocations: 361.9 kB / 2.482 GB, free: 41.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/5.859, allocations: 0.7762 MB / 2.482 GB, free: 40.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/5.862, allocations: 1.298 MB / 2.484 GB, free: 39.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/5.864, allocations: 0.9659 MB / 2.484 GB, free: 38.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/5.864, allocations: 3.938 kB / 2.484 GB, free: 38.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005635/5.869, allocations: 2.376 MB / 2.487 GB, free: 35.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001706/5.871, allocations: 5.312 MB / 2.492 GB, free: 29.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/5.871, allocations: 12 kB / 2.492 GB, free: 29.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-05/5.871, allocations: 20 kB / 2.492 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/5.873, allocations: 355.4 kB / 2.492 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-05/5.873, allocations: 31.86 kB / 2.492 GB, free: 29.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/5.876, allocations: 367.4 kB / 2.493 GB, free: 29.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/5.876, allocations: 91.94 kB / 2.493 GB, free: 29.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/5.876, allocations: 5.25 kB / 2.493 GB, free: 29.05 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004521/5.881, allocations: 2.162 MB / 2.495 GB, free: 26.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/5.881, allocations: 15.98 kB / 2.495 GB, free: 26.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/5.881, allocations: 24.33 kB / 2.495 GB, free: 26.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/5.882, allocations: 343.5 kB / 2.495 GB, free: 26.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.05e-05/5.882, allocations: 31.86 kB / 2.495 GB, free: 26.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/5.886, allocations: 355.4 kB / 2.496 GB, free: 26.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/5.886, allocations: 87.95 kB / 2.496 GB, free: 26.02 MB / 0.948 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 (160): * Single equations (assignments): 153 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 1 * 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.001912/5.888, allocations: 0.6306 MB / 2.496 GB, free: 25.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/5.889, allocations: 248.5 kB / 2.497 GB, free: 25.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004493/5.893, allocations: 1.878 MB / 2.498 GB, free: 23.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/5.894, allocations: 11.98 kB / 2.498 GB, free: 23.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/5.894, allocations: 4 kB / 2.498 GB, free: 23.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002663/5.896, allocations: 1.453 MB / 2.5 GB, free: 21.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009619/5.906, allocations: 3.994 MB / 2.504 GB, free: 17.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/5.906, allocations: 3.562 kB / 2.504 GB, free: 17.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/5.907, allocations: 235.7 kB / 2.504 GB, free: 17.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/5.907, allocations: 11.98 kB / 2.504 GB, free: 17.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/5.907, allocations: 31.98 kB / 2.504 GB, free: 17.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/5.907, allocations: 8 kB / 2.504 GB, free: 17.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/5.907, allocations: 0 / 2.504 GB, free: 17.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005244/5.912, allocations: 2.864 MB / 2.507 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/5.914, allocations: 0.5173 MB / 2.507 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009478/5.915, allocations: 27.94 kB / 2.507 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/5.918, allocations: 179.7 kB / 2.508 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/5.918, allocations: 88.77 kB / 2.508 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/5.918, allocations: 59.95 kB / 2.508 GB, free: 13.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004094/5.922, allocations: 1.631 MB / 2.509 GB, free: 11.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.5e-07/5.922, allocations: 0 / 2.509 GB, free: 11.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00758/5.93, allocations: 1.493 MB / 2.511 GB, free: 10.39 MB / 0.948 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.x[1],pum.filter.x[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 (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.009827/5.94, allocations: 5.426 MB / 2.516 GB, free: 4.922 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007105/5.947, allocations: 3.412 MB / 2.519 GB, free: 1.406 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/5.947, allocations: 4.062 kB / 2.519 GB, free: 1.402 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/5.949, allocations: 0.7712 MB / 2.52 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007216/5.956, allocations: 1.137 MB / 2.521 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/5.982, allocations: 14.63 MB / 2.536 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7373/6.719, allocations: 1.694 MB / 2.537 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004547/6.724, allocations: 0.6102 MB / 2.538 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/6.726, allocations: 1.053 MB / 2.539 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of SimCode: time 2.284e-06/6.726, allocations: 0 / 2.539 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2011/6.927, allocations: 81.66 MB / 2.619 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/6.928, allocations: 253.3 kB / 2.619 GB, free: 131.2 MB / 0.9636 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 -c -o Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.o Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c:7: In file included from ./Buildings_maint_8_0_x_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 -c -o Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.o Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1494:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1494:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1494:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2255:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2255:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2255:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2622:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2622:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2622:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2628:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 2))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2628:12: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 2))) ~ ^ ~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2628: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 -c -o Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3670:136: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2538:270: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3670:153: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2538:284: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQHeatingCoolingData_24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3755:181: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__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_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2577:396: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__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_Trane__Axiom__EXW240__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_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3755:198: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__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_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2577:410: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__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_Trane__Axiom__EXW240__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_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1