Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.156/2.156, allocations: 251 MB / 265.9 MB, free: 11.68 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.001565/0.001565, allocations: 182.5 kB / 325.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001457/0.001457, allocations: 98.28 kB / 0.6809 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005224, allocations: 15.88 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2245, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.575, allocations: 466.5 MB / 1.354 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/1.576, allocations: 100.5 kB / 1.354 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.608/7.184, allocations: 0.975 GB / 2.329 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.515e-06/7.184, allocations: 4 kB / 2.329 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005116/7.184, allocations: 71.09 kB / 2.33 GB, free: 90.79 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.01594/7.2, allocations: 3.374 MB / 2.333 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/7.2, allocations: 8.031 kB / 2.333 GB, free: 87.37 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001278/7.202, allocations: 231.6 kB / 2.333 GB, free: 87.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005915/7.208, allocations: 0.6405 MB / 2.334 GB, free: 86.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/7.22, allocations: 2.996 MB / 2.337 GB, free: 83.43 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/7.222, allocations: 338.6 kB / 2.337 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009504/7.223, allocations: 167.9 kB / 2.337 GB, free: 82.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008577/7.231, allocations: 2.172 MB / 2.339 GB, free: 80.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.663e-05/7.231, allocations: 3.938 kB / 2.339 GB, free: 80.64 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/7.232, allocations: 71.98 kB / 2.339 GB, free: 80.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/7.232, allocations: 43.98 kB / 2.339 GB, free: 80.53 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/7.242, allocations: 2.076 MB / 2.341 GB, free: 78.45 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.02424/7.266, allocations: 9.448 MB / 2.351 GB, free: 68.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005674/7.272, allocations: 1.301 MB / 2.352 GB, free: 67.12 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.01336/7.286, allocations: 4.187 MB / 2.356 GB, free: 62.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003993/7.29, allocations: 0.938 MB / 2.357 GB, free: 61.66 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001947/7.292, allocations: 174.9 kB / 2.357 GB, free: 61.49 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 9.528e-06/7.292, allocations: 0 / 2.357 GB, free: 61.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.01151/7.303, allocations: 2.317 MB / 2.359 GB, free: 59.17 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/7.303, allocations: 157.5 kB / 2.359 GB, free: 58.99 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005731/7.309, allocations: 1.974 MB / 2.361 GB, free: 57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005295/7.31, allocations: 53.7 kB / 2.361 GB, free: 56.94 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/7.311, allocations: 1.151 MB / 2.363 GB, free: 55.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006733/7.312, allocations: 345.8 kB / 2.363 GB, free: 55.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/7.312, allocations: 32 kB / 2.363 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001339/7.312, allocations: 361.9 kB / 2.363 GB, free: 55.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/7.316, allocations: 0.7729 MB / 2.364 GB, free: 54.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/7.32, allocations: 1.242 MB / 2.365 GB, free: 52.82 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/7.324, allocations: 0.853 MB / 2.366 GB, free: 51.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/7.324, allocations: 8 kB / 2.366 GB, free: 51.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.009912/7.334, allocations: 2.154 MB / 2.368 GB, free: 49.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009423/7.335, allocations: 4.222 MB / 2.372 GB, free: 45.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.019e-05/7.336, allocations: 12 kB / 2.372 GB, free: 45.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.855e-05/7.336, allocations: 20 kB / 2.372 GB, free: 45.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/7.339, allocations: 411.4 kB / 2.373 GB, free: 44.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-05/7.339, allocations: 27.55 kB / 2.373 GB, free: 44.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/7.344, allocations: 279.4 kB / 2.373 GB, free: 44.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006271/7.345, allocations: 71.97 kB / 2.373 GB, free: 44.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/7.345, allocations: 5.406 kB / 2.373 GB, free: 44.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00874/7.354, allocations: 1.932 MB / 2.375 GB, free: 42.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.991e-05/7.354, allocations: 8 kB / 2.375 GB, free: 42.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/7.354, allocations: 23.98 kB / 2.375 GB, free: 42.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/7.357, allocations: 408.1 kB / 2.375 GB, free: 42.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.94e-05/7.357, allocations: 31.88 kB / 2.375 GB, free: 42.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/7.362, allocations: 259.6 kB / 2.376 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005615/7.363, allocations: 67.97 kB / 2.376 GB, free: 41.69 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.002346/7.365, allocations: 0.6177 MB / 2.376 GB, free: 41.06 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008776/7.366, allocations: 237.1 kB / 2.377 GB, free: 40.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008933/7.375, allocations: 2.029 MB / 2.379 GB, free: 38.78 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/7.375, allocations: 15.98 kB / 2.379 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/7.375, allocations: 3.953 kB / 2.379 GB, free: 38.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006967/7.382, allocations: 1.621 MB / 2.38 GB, free: 37.11 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.01536/7.397, allocations: 4.176 MB / 2.384 GB, free: 32.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/7.397, allocations: 3.984 kB / 2.384 GB, free: 32.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/7.4, allocations: 287.9 kB / 2.384 GB, free: 32.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/7.4, allocations: 4 kB / 2.384 GB, free: 32.53 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003654/7.401, allocations: 31.97 kB / 2.385 GB, free: 32.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/7.401, allocations: 8 kB / 2.385 GB, free: 32.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/7.401, allocations: 11.95 kB / 2.385 GB, free: 32.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/7.413, allocations: 3.091 MB / 2.388 GB, free: 29.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/7.415, allocations: 0.509 MB / 2.388 GB, free: 28.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/7.416, allocations: 20 kB / 2.388 GB, free: 28.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004467/7.421, allocations: 235.7 kB / 2.388 GB, free: 28.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006038/7.421, allocations: 128.7 kB / 2.388 GB, free: 28.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/7.422, allocations: 51.95 kB / 2.388 GB, free: 28.33 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004575/7.426, allocations: 1.537 MB / 2.39 GB, free: 26.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.52e-07/7.426, allocations: 3.938 kB / 2.39 GB, free: 26.78 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0081/7.434, allocations: 1.427 MB / 2.391 GB, free: 25.35 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.01629/7.451, allocations: 5.655 MB / 2.397 GB, free: 19.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01252/7.463, allocations: 2.887 MB / 2.4 GB, free: 16.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/7.463, allocations: 4 kB / 2.4 GB, free: 16.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004062/7.468, allocations: 0.9159 MB / 2.401 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009551/7.477, allocations: 1.057 MB / 2.402 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/7.499, allocations: 13.05 MB / 2.414 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002631/7.501, allocations: 1.69 MB / 2.416 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005682/7.507, allocations: 0.5972 MB / 2.417 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003362/7.511, allocations: 1.015 MB / 2.418 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.613e-06/7.511, allocations: 4 kB / 2.418 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9741/8.485, allocations: 75.04 MB / 2.491 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/8.485, allocations: 249.8 kB / 2.491 GB, free: 118.4 MB / 0.9011 GB Error: Error building simulator. Build log: clang -Os -fPIC -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_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.o Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c In file included from Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c:7: In file included from ./Buildings_7_0_0_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 -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_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.o Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1448:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_7_0_0_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_7_0_0_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_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2209:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_7_0_0_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_7_0_0_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_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2479:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_7_0_0_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_7_0_0_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_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2485:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 2))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_7_0_0_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_7_0_0_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 -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_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c In file included from Buildings_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1