Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 187.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 86.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 11.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3121, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.481, allocations: 466.7 MB / 1.356 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.482, allocations: 100.8 kB / 1.356 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4/5.482, allocations: 0.975 GB / 2.331 GB, free: 85.41 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.215e-06/5.482, allocations: 0 / 2.331 GB, free: 85.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003983/5.482, allocations: 70.5 kB / 2.331 GB, free: 85.34 MB / 0.8855 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.01173/5.494, allocations: 3.38 MB / 2.334 GB, free: 81.92 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/5.494, allocations: 8.031 kB / 2.334 GB, free: 81.91 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/5.495, allocations: 235.7 kB / 2.335 GB, free: 81.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/5.499, allocations: 0.6328 MB / 2.335 GB, free: 81.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008773/5.508, allocations: 2.993 MB / 2.338 GB, free: 77.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007623/5.508, allocations: 350 kB / 2.338 GB, free: 77.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/5.509, allocations: 167.9 kB / 2.339 GB, free: 77.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/5.513, allocations: 2.172 MB / 2.341 GB, free: 75.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/5.513, allocations: 3.984 kB / 2.341 GB, free: 75.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/5.513, allocations: 64 kB / 2.341 GB, free: 75.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/5.513, allocations: 43.94 kB / 2.341 GB, free: 75.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004658/5.518, allocations: 2.084 MB / 2.343 GB, free: 72.98 MB / 0.8855 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.01739/5.535, allocations: 9.44 MB / 2.352 GB, free: 62.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/5.538, allocations: 1.31 MB / 2.353 GB, free: 61.66 MB / 0.8855 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 evalFunc (simulation): time 0.009212/5.548, allocations: 4.188 MB / 2.357 GB, free: 57.15 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/5.55, allocations: 0.9341 MB / 2.358 GB, free: 56.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002046/5.552, allocations: 190.7 kB / 2.359 GB, free: 56.01 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 9.128e-06/5.552, allocations: 0 / 2.359 GB, free: 56.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.005634/5.558, allocations: 2.313 MB / 2.361 GB, free: 53.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/5.558, allocations: 145.5 kB / 2.361 GB, free: 53.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/5.561, allocations: 1.974 MB / 2.363 GB, free: 51.53 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/5.561, allocations: 57.7 kB / 2.363 GB, free: 51.47 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000896/5.562, allocations: 1.142 MB / 2.364 GB, free: 50.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/5.562, allocations: 358.9 kB / 2.364 GB, free: 49.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/5.562, allocations: 28 kB / 2.364 GB, free: 49.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001253/5.562, allocations: 358.9 kB / 2.365 GB, free: 49.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/5.564, allocations: 0.769 MB / 2.366 GB, free: 48.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/5.566, allocations: 1.245 MB / 2.367 GB, free: 47.35 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/5.568, allocations: 0.8491 MB / 2.368 GB, free: 46.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/5.568, allocations: 4 kB / 2.368 GB, free: 46.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005238/5.573, allocations: 2.173 MB / 2.37 GB, free: 44.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001221/5.574, allocations: 4.218 MB / 2.374 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/5.574, allocations: 11.52 kB / 2.374 GB, free: 39.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.024e-05/5.575, allocations: 20 kB / 2.374 GB, free: 39.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/5.576, allocations: 415.4 kB / 2.374 GB, free: 39.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/5.576, allocations: 23.88 kB / 2.374 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/5.579, allocations: 287.5 kB / 2.375 GB, free: 38.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/5.58, allocations: 71.97 kB / 2.375 GB, free: 38.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/5.58, allocations: 6.344 kB / 2.375 GB, free: 38.91 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00406/5.584, allocations: 1.921 MB / 2.376 GB, free: 36.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/5.584, allocations: 16 kB / 2.376 GB, free: 36.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/5.584, allocations: 20 kB / 2.377 GB, free: 36.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/5.585, allocations: 406.8 kB / 2.377 GB, free: 36.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/5.585, allocations: 31.91 kB / 2.377 GB, free: 36.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/5.588, allocations: 263.5 kB / 2.377 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/5.588, allocations: 71.97 kB / 2.377 GB, free: 36.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.TSouEnt.T_start,TSouEnt.T_start,$PRE.TSouEnt.count,TSouEnt.count,$PRE.TLoaSet.T_start,TLoaSet.T_start,$PRE.TLoaSet.count,TLoaSet.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 2 * Algorithm blocks: 0 * 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.001717/5.59, allocations: 0.6139 MB / 2.378 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005559/5.59, allocations: 233.1 kB / 2.378 GB, free: 35.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/5.595, allocations: 2.029 MB / 2.38 GB, free: 33.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/5.595, allocations: 16 kB / 2.38 GB, free: 33.28 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/5.595, allocations: 0 / 2.38 GB, free: 33.28 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003016/5.598, allocations: 1.617 MB / 2.382 GB, free: 31.63 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.008828/5.607, allocations: 4.181 MB / 2.386 GB, free: 27.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/5.607, allocations: 0 / 2.386 GB, free: 27.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/5.608, allocations: 287.9 kB / 2.386 GB, free: 27.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/5.608, allocations: 7.984 kB / 2.386 GB, free: 27.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/5.608, allocations: 35.92 kB / 2.386 GB, free: 27.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/5.608, allocations: 8 kB / 2.386 GB, free: 27.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.608, allocations: 4 kB / 2.386 GB, free: 27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/5.614, allocations: 3.091 MB / 2.389 GB, free: 23.81 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/5.617, allocations: 0.5017 MB / 2.39 GB, free: 23.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/5.617, allocations: 31.98 kB / 2.39 GB, free: 23.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/5.619, allocations: 235 kB / 2.39 GB, free: 23.03 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/5.619, allocations: 124.8 kB / 2.39 GB, free: 22.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/5.619, allocations: 51.95 kB / 2.39 GB, free: 22.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002601/5.622, allocations: 1.533 MB / 2.391 GB, free: 21.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/5.622, allocations: 0 / 2.391 GB, free: 21.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005368/5.627, allocations: 1.423 MB / 2.393 GB, free: 19.89 MB / 0.8855 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,heaPum.uMod,uMod.T_start,uMod.count,pulse.T_start,pulse.count,TSouEnt.T_start,TSouEnt.count,TLoaSet.T_start,TLoaSet.count) * Number of discrete states: 4 (uMod.count,pulse.count,TSouEnt.count,TLoaSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.00917/5.637, allocations: 5.657 MB / 2.398 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006766/5.644, allocations: 2.89 MB / 2.401 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/5.644, allocations: 1.25 kB / 2.401 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/5.645, allocations: 0.9196 MB / 2.402 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005587/5.651, allocations: 1.064 MB / 2.403 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/5.666, allocations: 13.05 MB / 2.416 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/5.667, allocations: 1.685 MB / 2.418 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003633/5.671, allocations: 0.5983 MB / 2.418 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/5.673, allocations: 1.019 MB / 2.419 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of SimCode: time 1.433e-06/5.673, allocations: 0 / 2.419 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7781/6.451, allocations: 75.05 MB / 2.492 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/6.451, allocations: 262.2 kB / 2.493 GB, free: 119.7 MB / 0.9011 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_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.o Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c:7: In file included from ./Buildings_maint_7_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_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.o Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2: In file included from ./Buildings_maint_7_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_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1448:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1448:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1448:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2209:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2209:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2209:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2479:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2479:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2479:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2485:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 2))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2485:12: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 2))) ~ ^ ~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2485: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_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c In file included from Buildings_maint_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1