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 loadModel(Buildings): time 4.414/4.414, allocations: 460.4 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.628e-05, allocations: 10.94 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.007/2.237, allocations: 466.4 MB / 1.127 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/2.238, allocations: 85.75 kB / 1.127 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.651/7.889, allocations: 0.9719 GB / 2.099 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.665e-06/7.889, allocations: 1.219 kB / 2.099 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005385/7.889, allocations: 66.33 kB / 2.099 GB, free: 106.9 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.01234/7.902, allocations: 2.751 MB / 2.102 GB, free: 106 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/7.902, allocations: 9.281 kB / 2.102 GB, free: 106 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009874/7.903, allocations: 226 kB / 2.102 GB, free: 106 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006081/7.909, allocations: 0.6443 MB / 2.103 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/7.922, allocations: 2.959 MB / 2.106 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001718/7.924, allocations: 338.2 kB / 2.106 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/7.925, allocations: 171.6 kB / 2.106 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007774/7.933, allocations: 1.915 MB / 2.108 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.71e-05/7.933, allocations: 0.6562 kB / 2.108 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004066/7.934, allocations: 63.75 kB / 2.108 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/7.934, allocations: 50.95 kB / 2.108 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005878/7.94, allocations: 1.579 MB / 2.11 GB, free: 105 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.02472/7.964, allocations: 9.435 MB / 2.119 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/7.967, allocations: 0.9606 MB / 2.12 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/7.969, allocations: 0.6142 MB / 2.121 GB, free: 100.5 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01189/7.981, allocations: 4.264 MB / 2.125 GB, free: 98.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/7.983, allocations: 0.7337 MB / 2.125 GB, free: 98.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001914/7.985, allocations: 192.5 kB / 2.126 GB, free: 98.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 6.642e-06/7.985, allocations: 0 / 2.126 GB, free: 98.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.004227/7.989, allocations: 1.261 MB / 2.127 GB, free: 98.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/7.989, allocations: 144.6 kB / 2.127 GB, free: 98.06 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/7.994, allocations: 1.92 MB / 2.129 GB, free: 97.83 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004869/7.995, allocations: 58.48 kB / 2.129 GB, free: 97.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/7.996, allocations: 1.155 MB / 2.13 GB, free: 97.44 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/7.997, allocations: 341.8 kB / 2.13 GB, free: 97.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/7.997, allocations: 25.88 kB / 2.13 GB, free: 97.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001176/7.997, allocations: 354.8 kB / 2.131 GB, free: 96.92 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/7.999, allocations: 0.5376 MB / 2.131 GB, free: 96.92 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/8.001, allocations: 1.006 MB / 2.132 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/8.002, allocations: 0.6172 MB / 2.133 GB, free: 96.37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/8.002, allocations: 0 / 2.133 GB, free: 96.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005416/8.008, allocations: 1.675 MB / 2.135 GB, free: 96.19 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009637/8.009, allocations: 4.22 MB / 2.139 GB, free: 91.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.017e-05/8.009, allocations: 10.66 kB / 2.139 GB, free: 91.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-05/8.009, allocations: 19.69 kB / 2.139 GB, free: 91.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/8.013, allocations: 409.4 kB / 2.139 GB, free: 91.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-05/8.013, allocations: 26.97 kB / 2.139 GB, free: 91.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004871/8.018, allocations: 284.7 kB / 2.139 GB, free: 91.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005579/8.018, allocations: 66.55 kB / 2.139 GB, free: 91.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/8.018, allocations: 9.875 kB / 2.139 GB, free: 91.73 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004313/8.023, allocations: 1.427 MB / 2.141 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.719e-05/8.023, allocations: 14.16 kB / 2.141 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/8.023, allocations: 21.03 kB / 2.141 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/8.026, allocations: 407.7 kB / 2.141 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.466e-05/8.027, allocations: 22.97 kB / 2.141 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/8.031, allocations: 268.9 kB / 2.142 GB, free: 91.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/8.032, allocations: 72.62 kB / 2.142 GB, free: 91.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 166 * 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.0006159/8.032, allocations: 198.1 kB / 2.142 GB, free: 91.58 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009312/8.033, allocations: 233.1 kB / 2.142 GB, free: 91.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/8.038, allocations: 1.625 MB / 2.144 GB, free: 91.33 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/8.039, allocations: 12.81 kB / 2.144 GB, free: 91.33 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/8.039, allocations: 2.812 kB / 2.144 GB, free: 91.33 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003122/8.042, allocations: 1.212 MB / 2.145 GB, free: 91.15 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01165/8.053, allocations: 3.752 MB / 2.148 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/8.054, allocations: 3.938 kB / 2.148 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/8.056, allocations: 280.6 kB / 2.149 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.712e-05/8.056, allocations: 7.062 kB / 2.149 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/8.057, allocations: 31.86 kB / 2.149 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/8.057, allocations: 5.844 kB / 2.149 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/8.057, allocations: 9.062 kB / 2.149 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/8.063, allocations: 2.464 MB / 2.151 GB, free: 90.02 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/8.065, allocations: 0.4963 MB / 2.152 GB, free: 89.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/8.067, allocations: 24.78 kB / 2.152 GB, free: 89.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004553/8.071, allocations: 239.9 kB / 2.152 GB, free: 89.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005931/8.072, allocations: 124 kB / 2.152 GB, free: 89.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/8.072, allocations: 50.56 kB / 2.152 GB, free: 89.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004087/8.076, allocations: 1.48 MB / 2.154 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.72e-07/8.076, allocations: 0 / 2.154 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008804/8.085, allocations: 1.433 MB / 2.155 GB, free: 89.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 96 * 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.01134/8.096, allocations: 5.03 MB / 2.16 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006818/8.103, allocations: 2.262 MB / 2.162 GB, free: 87.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/8.103, allocations: 2.438 kB / 2.162 GB, free: 87.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/8.106, allocations: 0.7026 MB / 2.163 GB, free: 87.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00998/8.116, allocations: 1.055 MB / 2.164 GB, free: 87.39 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/8.132, allocations: 3.811 MB / 2.167 GB, free: 86.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/8.134, allocations: 1.689 MB / 2.169 GB, free: 85.63 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007852/8.142, allocations: 0.8229 MB / 2.17 GB, free: 85.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00257/8.145, allocations: 0.9807 MB / 2.171 GB, free: 85.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.583e-06/8.145, allocations: 2.719 kB / 2.171 GB, free: 85.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.22/8.365, allocations: 80.97 MB / 2.25 GB, free: 81.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/8.365, allocations: 221.6 kB / 2.25 GB, free: 81.46 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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:4141:160: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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:2271:318: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4141:177: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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:2271:332: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4230:205: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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); // ths->_coo has no default value. ~~~ ^ ./Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:444: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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:4230:222: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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); // ths->_coo has no default value. ~~~ ^ ./Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:458: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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:4428:205: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_1_2_3_4_5_6_7_8_construct(threadData, ths->_coo, -55680.0, 14244.44, ths->_mLoa_flow, ths->_mSou_flow, tmp30, tmp31, 285.15, 301.15); // ths->_coo has no default value. ~~~ ^ ./Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:444: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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:4428:222: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_1_2_3_4_5_6_7_8_construct(threadData, ths->_coo, -55680.0, 14244.44, ths->_mLoa_flow, ths->_mSou_flow, tmp30, tmp31, 285.15, 301.15); // ths->_coo has no default value. ~~~ ^ ./Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:458: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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__omcQuot_48656174696E67436F6F6C696E674461746124636F6F_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 6 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