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.865/1.865, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.00107/0.001071, allocations: 179.7 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0008144/0.0008147, allocations: 94.59 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.534e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2591, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.962/2.221, allocations: 475.8 MB / 1.445 GB, free: 292.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/2.222, allocations: 93.97 kB / 1.445 GB, free: 292.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.962/6.184, allocations: 1.002 GB / 2.446 GB, free: 24.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/6.184, allocations: 3.938 kB / 2.446 GB, free: 24.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005745/6.185, allocations: 63.98 kB / 2.447 GB, free: 24.57 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.01121/6.196, allocations: 2.832 MB / 2.449 GB, free: 21.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/6.196, allocations: 12.03 kB / 2.449 GB, free: 21.64 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009949/6.197, allocations: 223.7 kB / 2.45 GB, free: 21.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/6.202, allocations: 0.6561 MB / 2.45 GB, free: 20.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/6.214, allocations: 3.03 MB / 2.453 GB, free: 17.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009769/6.215, allocations: 342.3 kB / 2.453 GB, free: 17.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/6.216, allocations: 176 kB / 2.454 GB, free: 17.13 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/6.222, allocations: 1.884 MB / 2.455 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.07e-05/6.222, allocations: 7.844 kB / 2.455 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/6.222, allocations: 68 kB / 2.456 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/6.222, allocations: 47.98 kB / 2.456 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/6.226, allocations: 1.511 MB / 2.457 GB, free: 13.5 MB / 0.948 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.01646/6.242, allocations: 9.445 MB / 2.466 GB, free: 3.562 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/6.244, allocations: 0.9321 MB / 2.467 GB, free: 2.617 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/6.244, allocations: 0.6205 MB / 2.468 GB, free: 1.992 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008008/6.252, allocations: 4.244 MB / 2.472 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/6.254, allocations: 0.7271 MB / 2.473 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001575/6.255, allocations: 198.7 kB / 2.473 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=99): time 5.791e-06/6.255, allocations: 0 / 2.473 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99): time 0.002763/6.258, allocations: 1.272 MB / 2.474 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/6.258, allocations: 149.5 kB / 2.474 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/6.262, allocations: 2.05 MB / 2.476 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/6.262, allocations: 57.7 kB / 2.476 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/6.264, allocations: 1.17 MB / 2.477 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/6.264, allocations: 335.2 kB / 2.478 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/6.264, allocations: 32 kB / 2.478 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001709/6.264, allocations: 353.9 kB / 2.478 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/6.266, allocations: 0.6125 MB / 2.479 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/6.267, allocations: 1.147 MB / 2.48 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/6.269, allocations: 0.8065 MB / 2.481 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/6.269, allocations: 0 / 2.481 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004203/6.273, allocations: 2.052 MB / 2.483 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.8327/7.106, allocations: 5.311 MB / 2.488 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.716e-05/7.106, allocations: 13.16 kB / 2.488 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.379e-05/7.106, allocations: 22.34 kB / 2.488 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/7.109, allocations: 354.8 kB / 2.488 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.5e-05/7.109, allocations: 24.53 kB / 2.488 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/7.114, allocations: 366.8 kB / 2.489 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/7.114, allocations: 89.47 kB / 2.489 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/7.114, allocations: 6.344 kB / 2.489 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005445/7.12, allocations: 1.839 MB / 2.49 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.675e-05/7.12, allocations: 21.25 kB / 2.49 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.019e-05/7.12, allocations: 19.62 kB / 2.49 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/7.122, allocations: 349.2 kB / 2.491 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.973e-05/7.122, allocations: 28.25 kB / 2.491 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/7.127, allocations: 345.3 kB / 2.491 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/7.128, allocations: 87.02 kB / 2.491 GB, free: 109.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 152 * 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.000767/7.129, allocations: 209.7 kB / 2.491 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009116/7.129, allocations: 249.4 kB / 2.492 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005324/7.135, allocations: 1.629 MB / 2.493 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/7.135, allocations: 11.61 kB / 2.493 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/7.135, allocations: 0 / 2.493 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003309/7.138, allocations: 1.207 MB / 2.494 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/7.151, allocations: 3.714 MB / 2.498 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/7.151, allocations: 3.094 kB / 2.498 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/7.153, allocations: 240.5 kB / 2.498 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.879e-05/7.153, allocations: 6.344 kB / 2.498 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/7.153, allocations: 33.72 kB / 2.498 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-05/7.153, allocations: 6.156 kB / 2.498 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.656e-05/7.154, allocations: 10.61 kB / 2.498 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008386/7.162, allocations: 2.447 MB / 2.501 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/7.165, allocations: 0.5187 MB / 2.501 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006516/7.166, allocations: 23.55 kB / 2.501 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/7.168, allocations: 179.4 kB / 2.501 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/7.169, allocations: 82.64 kB / 2.502 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/7.169, allocations: 56.19 kB / 2.502 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004529/7.174, allocations: 1.581 MB / 2.503 GB, free: 108 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.81e-07/7.174, allocations: 0.9375 kB / 2.503 GB, free: 108 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008314/7.182, allocations: 1.492 MB / 2.505 GB, free: 108 MB / 0.9636 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 ($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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 96 * 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.009796/7.192, allocations: 4.936 MB / 2.509 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006592/7.198, allocations: 3.056 MB / 2.512 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/7.198, allocations: 3.391 kB / 2.512 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/7.2, allocations: 0.6436 MB / 2.513 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008847/7.209, allocations: 1.143 MB / 2.514 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/7.223, allocations: 3.906 MB / 2.518 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/7.225, allocations: 1.714 MB / 2.52 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00725/7.232, allocations: 0.856 MB / 2.52 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/7.234, allocations: 0.9843 MB / 2.521 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.153e-06/7.234, allocations: 0 / 2.521 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2151/7.449, allocations: 87.21 MB / 2.607 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/7.45, allocations: 219.9 kB / 2.607 GB, free: 100 MB / 0.9636 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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: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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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: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_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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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: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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4015:136: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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:2221:270: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4015:153: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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:2221:284: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4104:168: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:370: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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:4104:185: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:384: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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:4302:168: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:370: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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:4302:185: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2257:384: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_BaseClasses_D_HeatingCoolingData24coo_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_D_HeatingCoolingData24coo_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. make: *** [: Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1