Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001633/0.001633, allocations: 189 kB / 377.1 MB, free: 1.527 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.002/2.002, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 89.58 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3013, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.784/2.086, allocations: 475.9 MB / 1.453 GB, free: 262.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/2.086, allocations: 98.81 kB / 1.453 GB, free: 262.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.48/5.566, allocations: 1.005 GB / 2.458 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.384e-06/5.566, allocations: 4 kB / 2.458 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003409/5.567, allocations: 71.92 kB / 2.458 GB, free: 2.551 MB / 0.9636 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.8294/6.396, allocations: 3.464 MB / 2.462 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.569e-05/6.396, allocations: 9.688 kB / 2.462 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001517/6.398, allocations: 228.3 kB / 2.462 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004367/6.402, allocations: 0.6645 MB / 2.463 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009834/6.412, allocations: 3.058 MB / 2.466 GB, free: 101 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008262/6.413, allocations: 348 kB / 2.466 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/6.413, allocations: 178 kB / 2.466 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/6.418, allocations: 2.053 MB / 2.468 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/6.418, allocations: 1.688 kB / 2.468 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/6.418, allocations: 73.33 kB / 2.468 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/6.418, allocations: 40.94 kB / 2.468 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004306/6.422, allocations: 1.839 MB / 2.47 GB, free: 100.6 MB / 0.9636 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.01927/6.442, allocations: 9.441 MB / 2.479 GB, free: 96.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/6.445, allocations: 1.118 MB / 2.48 GB, free: 96.51 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/6.455, allocations: 4.252 MB / 2.484 GB, free: 94.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/6.458, allocations: 0.8558 MB / 2.485 GB, free: 94.67 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001795/6.46, allocations: 200.2 kB / 2.485 GB, free: 94.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=100): time 5.981e-06/6.46, allocations: 0.9375 kB / 2.485 GB, free: 94.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=100): time 0.006705/6.466, allocations: 2.091 MB / 2.487 GB, free: 94.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/6.467, allocations: 145.6 kB / 2.488 GB, free: 94.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005353/6.472, allocations: 2.106 MB / 2.49 GB, free: 94.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/6.472, allocations: 60.08 kB / 2.49 GB, free: 94.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/6.474, allocations: 1.174 MB / 2.491 GB, free: 93.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/6.474, allocations: 338.2 kB / 2.491 GB, free: 93.63 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/6.474, allocations: 30.41 kB / 2.491 GB, free: 93.63 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001678/6.474, allocations: 362.2 kB / 2.492 GB, free: 93.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/6.476, allocations: 0.7738 MB / 2.492 GB, free: 93.32 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/6.479, allocations: 1.303 MB / 2.494 GB, free: 92.71 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/6.481, allocations: 0.9753 MB / 2.495 GB, free: 92.57 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/6.481, allocations: 6.125 kB / 2.495 GB, free: 92.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.006318/6.488, allocations: 2.36 MB / 2.497 GB, free: 92.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00233/6.49, allocations: 5.313 MB / 2.502 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.519e-05/6.49, allocations: 18.38 kB / 2.502 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.074e-05/6.49, allocations: 21.09 kB / 2.502 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/6.492, allocations: 353.3 kB / 2.502 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-05/6.492, allocations: 32.58 kB / 2.502 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/6.496, allocations: 359.5 kB / 2.503 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/6.497, allocations: 95.83 kB / 2.503 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/6.497, allocations: 3.719 kB / 2.503 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005695/6.502, allocations: 2.163 MB / 2.505 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.583e-05/6.503, allocations: 19.23 kB / 2.505 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/6.503, allocations: 18.19 kB / 2.505 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/6.504, allocations: 353.6 kB / 2.505 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.846e-05/6.504, allocations: 27.62 kB / 2.505 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/6.508, allocations: 344.8 kB / 2.506 GB, free: 86.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/6.508, allocations: 88.47 kB / 2.506 GB, free: 86.55 MB / 0.9636 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.002278/6.51, allocations: 0.6312 MB / 2.506 GB, free: 86.36 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/6.512, allocations: 249 kB / 2.507 GB, free: 86.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/6.517, allocations: 1.875 MB / 2.508 GB, free: 86.12 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/6.517, allocations: 9.594 kB / 2.508 GB, free: 86.12 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/6.517, allocations: 1.344 kB / 2.508 GB, free: 86.12 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003025/6.52, allocations: 1.455 MB / 2.51 GB, free: 85.94 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/6.532, allocations: 4 MB / 2.514 GB, free: 85.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/6.532, allocations: 2.969 kB / 2.514 GB, free: 85.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/6.533, allocations: 236.1 kB / 2.514 GB, free: 85.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.968e-05/6.533, allocations: 7 kB / 2.514 GB, free: 85.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/6.533, allocations: 34.77 kB / 2.514 GB, free: 85.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/6.533, allocations: 9.438 kB / 2.514 GB, free: 85.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/6.533, allocations: 3.062 kB / 2.514 GB, free: 85.43 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006106/6.539, allocations: 2.859 MB / 2.517 GB, free: 84.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/6.542, allocations: 0.5155 MB / 2.517 GB, free: 84.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/6.543, allocations: 32.52 kB / 2.517 GB, free: 84.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/6.546, allocations: 176.5 kB / 2.518 GB, free: 84.61 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/6.546, allocations: 87.72 kB / 2.518 GB, free: 84.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/6.546, allocations: 56.14 kB / 2.518 GB, free: 84.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0045/6.551, allocations: 1.634 MB / 2.519 GB, free: 84.46 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/6.551, allocations: 0 / 2.519 GB, free: 84.46 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009187/6.56, allocations: 1.498 MB / 2.521 GB, free: 84.4 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.01178/6.572, allocations: 5.398 MB / 2.526 GB, free: 82.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008165/6.58, allocations: 3.418 MB / 2.529 GB, free: 81.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/6.58, allocations: 0 / 2.529 GB, free: 81.98 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/6.582, allocations: 0.7747 MB / 2.53 GB, free: 81.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007254/6.589, allocations: 1.142 MB / 2.531 GB, free: 81.96 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/6.609, allocations: 14.61 MB / 2.546 GB, free: 70.88 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/6.611, allocations: 1.708 MB / 2.547 GB, free: 70.15 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005503/6.617, allocations: 0.6093 MB / 2.548 GB, free: 70.13 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003121/6.62, allocations: 1.056 MB / 2.549 GB, free: 70.12 MB / 0.9636 GB Notification: Performance of SimCode: time 2.505e-06/6.62, allocations: 0 / 2.549 GB, free: 70.12 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/6.796, allocations: 81.31 MB / 2.628 GB, free: 66.03 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/6.796, allocations: 242.5 kB / 2.628 GB, free: 65.79 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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.o Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c In file included from Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c:7: In file included from ./Buildings_8_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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.o Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c In file included from Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2: In file included from ./Buildings_8_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_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1456:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1456:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1456:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2217:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2217:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2217:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2584:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2584:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 1))) ~ ^ ~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2584:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 1))) ^~ = Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2590:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 2))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2590:12: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 2))) ~ ^ ~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2590:12: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 2))) ^~ = 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c In file included from Buildings_8_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_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3566:140: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2482:278: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3566:157: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2482:292: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3651:172: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__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_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2521:378: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__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_BaseClasses__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_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:3651:189: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__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_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2521:392: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__omcQHeatingCoolingData_24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses__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_BaseClasses__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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1