Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.778/2.778, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001542/0.001542, allocations: 196.3 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001226/0.001226, allocations: 97.66 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000591/0.0005912, allocations: 15.22 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2464, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.18/2.427, allocations: 474.5 MB / 1.442 GB, free: 274.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/2.427, allocations: 98.66 kB / 1.442 GB, free: 274.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.861/7.288, allocations: 1.005 GB / 2.447 GB, free: 62.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.657e-06/7.288, allocations: 4 kB / 2.447 GB, free: 62.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005076/7.289, allocations: 67.81 kB / 2.447 GB, free: 62.71 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.01403/7.303, allocations: 3.464 MB / 2.45 GB, free: 59.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/7.303, allocations: 8.031 kB / 2.45 GB, free: 59.16 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/7.304, allocations: 227.7 kB / 2.45 GB, free: 58.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005824/7.31, allocations: 0.6638 MB / 2.451 GB, free: 58.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/7.322, allocations: 3.064 MB / 2.454 GB, free: 55.13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001472/7.323, allocations: 350.2 kB / 2.454 GB, free: 54.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008681/7.324, allocations: 179.9 kB / 2.455 GB, free: 54.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007085/7.331, allocations: 2.047 MB / 2.457 GB, free: 52.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.089e-05/7.331, allocations: 4 kB / 2.457 GB, free: 52.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/7.332, allocations: 68 kB / 2.457 GB, free: 52.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/7.332, allocations: 40 kB / 2.457 GB, free: 52.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008165/7.34, allocations: 1.846 MB / 2.459 GB, free: 50.48 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.02383/7.364, allocations: 9.452 MB / 2.468 GB, free: 40.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004214/7.368, allocations: 1.123 MB / 2.469 GB, free: 39.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/7.379, allocations: 4.242 MB / 2.473 GB, free: 34.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002885/7.382, allocations: 0.848 MB / 2.474 GB, free: 33.99 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001931/7.384, allocations: 194.8 kB / 2.474 GB, free: 33.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 6.062e-06/7.384, allocations: 4 kB / 2.474 GB, free: 33.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.008547/7.392, allocations: 2.098 MB / 2.476 GB, free: 31.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/7.392, allocations: 145.5 kB / 2.476 GB, free: 31.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/7.397, allocations: 2.105 MB / 2.478 GB, free: 29.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006141/7.398, allocations: 61.64 kB / 2.478 GB, free: 29.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/7.399, allocations: 1.174 MB / 2.479 GB, free: 28.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/7.4, allocations: 331.3 kB / 2.48 GB, free: 27.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/7.4, allocations: 36 kB / 2.48 GB, free: 27.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000115/7.4, allocations: 357.9 kB / 2.48 GB, free: 27.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/7.403, allocations: 0.7762 MB / 2.481 GB, free: 26.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/7.407, allocations: 1.294 MB / 2.482 GB, free: 25.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/7.41, allocations: 0.9733 MB / 2.483 GB, free: 24.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/7.41, allocations: 4 kB / 2.483 GB, free: 24.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00849/7.418, allocations: 2.367 MB / 2.485 GB, free: 21.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/7.42, allocations: 5.321 MB / 2.491 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/7.42, allocations: 15.94 kB / 2.491 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.695e-05/7.42, allocations: 24 kB / 2.491 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/7.423, allocations: 351.4 kB / 2.491 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/7.423, allocations: 23.94 kB / 2.491 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005165/7.428, allocations: 371.4 kB / 2.491 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004194/7.429, allocations: 87.95 kB / 2.491 GB, free: 15.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/7.429, allocations: 4 kB / 2.491 GB, free: 15.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007613/7.436, allocations: 2.165 MB / 2.494 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/7.436, allocations: 16.75 kB / 2.494 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/7.436, allocations: 20 kB / 2.494 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/7.439, allocations: 351.4 kB / 2.494 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/7.439, allocations: 23.94 kB / 2.494 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/7.444, allocations: 351.4 kB / 2.494 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/7.444, allocations: 87.95 kB / 2.494 GB, free: 12.07 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.002098/7.447, allocations: 0.6332 MB / 2.495 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008115/7.447, allocations: 245 kB / 2.495 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006656/7.454, allocations: 1.874 MB / 2.497 GB, free: 9.293 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/7.454, allocations: 19.94 kB / 2.497 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/7.454, allocations: 0 / 2.497 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004899/7.459, allocations: 1.457 MB / 2.499 GB, free: 7.785 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/7.471, allocations: 3.982 MB / 2.502 GB, free: 3.711 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/7.471, allocations: 7.938 kB / 2.502 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/7.473, allocations: 240 kB / 2.503 GB, free: 3.469 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/7.473, allocations: 4 kB / 2.503 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/7.473, allocations: 39.59 kB / 2.503 GB, free: 3.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/7.473, allocations: 8 kB / 2.503 GB, free: 3.422 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/7.473, allocations: 7.938 kB / 2.503 GB, free: 3.414 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008918/7.482, allocations: 2.856 MB / 2.505 GB, free: 472 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/7.484, allocations: 0.5134 MB / 2.506 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005407/7.485, allocations: 23.98 kB / 2.506 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/7.488, allocations: 191.6 kB / 2.506 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/7.488, allocations: 80.88 kB / 2.506 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/7.488, allocations: 51.95 kB / 2.506 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004559/7.493, allocations: 1.639 MB / 2.508 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.22e-07/7.493, allocations: 3.938 kB / 2.508 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00806/7.501, allocations: 1.493 MB / 2.509 GB, free: 12.44 MB / 0.9636 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.01538/7.517, allocations: 5.43 MB / 2.515 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01265/7.529, allocations: 3.419 MB / 2.518 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/7.529, allocations: 0 / 2.518 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003196/7.533, allocations: 0.7717 MB / 2.519 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/7.543, allocations: 1.16 MB / 2.52 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8122/8.355, allocations: 14.62 MB / 2.534 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/8.358, allocations: 1.706 MB / 2.536 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005301/8.363, allocations: 0.6017 MB / 2.536 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003091/8.366, allocations: 1.054 MB / 2.537 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.392e-06/8.366, allocations: 0 / 2.537 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/8.575, allocations: 81.63 MB / 2.617 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/8.575, allocations: 250.2 kB / 2.617 GB, free: 119 MB / 0.9636 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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.o Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c In file included from Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c:7: In file included from ./Buildings_8_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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.o Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1494:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_0_0_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_8_0_0_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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2255:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_0_0_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_8_0_0_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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2622:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_0_0_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_8_0_0_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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2628:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 2))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_0_0_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_8_0_0_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 -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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c In file included from Buildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1