Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.633/1.633, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 80.61 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.345e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.222, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.636/1.858, allocations: 466.6 MB / 1.348 GB, free: 272.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.858, allocations: 95.83 kB / 1.348 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.282/6.141, allocations: 0.9719 GB / 2.32 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.332e-06/6.141, allocations: 1.25 kB / 2.32 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003429/6.141, allocations: 69.08 kB / 2.32 GB, free: 106.6 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.01006/6.151, allocations: 2.748 MB / 2.322 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/6.151, allocations: 10.34 kB / 2.322 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007346/6.152, allocations: 231.8 kB / 2.323 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/6.156, allocations: 0.6426 MB / 2.323 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008651/6.164, allocations: 2.956 MB / 2.326 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000928/6.165, allocations: 346.3 kB / 2.326 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006241/6.166, allocations: 168.5 kB / 2.327 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/6.17, allocations: 1.918 MB / 2.328 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/6.17, allocations: 7.297 kB / 2.328 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/6.17, allocations: 65.47 kB / 2.328 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.235e-05/6.17, allocations: 47.16 kB / 2.329 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/6.173, allocations: 1.604 MB / 2.33 GB, free: 104.6 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.01453/6.188, allocations: 9.44 MB / 2.339 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/6.189, allocations: 0.9682 MB / 2.34 GB, free: 100 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009509/6.19, allocations: 0.618 MB / 2.341 GB, free: 100 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.007962/6.198, allocations: 4.274 MB / 2.345 GB, free: 98.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/6.199, allocations: 0.7292 MB / 2.346 GB, free: 97.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001487/6.201, allocations: 184.5 kB / 2.346 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 5.019e-06/6.201, allocations: 0 / 2.346 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.002186/6.203, allocations: 1.259 MB / 2.347 GB, free: 97.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/6.203, allocations: 153.2 kB / 2.347 GB, free: 97.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/6.206, allocations: 1.922 MB / 2.349 GB, free: 97.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/6.206, allocations: 56.67 kB / 2.349 GB, free: 97.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/6.207, allocations: 1.148 MB / 2.35 GB, free: 96.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/6.207, allocations: 344.3 kB / 2.351 GB, free: 96.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/6.208, allocations: 31.8 kB / 2.351 GB, free: 96.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001039/6.208, allocations: 360.4 kB / 2.351 GB, free: 96.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008495/6.208, allocations: 0.5379 MB / 2.352 GB, free: 96.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/6.21, allocations: 1.012 MB / 2.353 GB, free: 95.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009265/6.211, allocations: 0.6145 MB / 2.353 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/6.211, allocations: 3.75 kB / 2.353 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002896/6.214, allocations: 1.693 MB / 2.355 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009752/6.215, allocations: 4.222 MB / 2.359 GB, free: 91.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/6.215, allocations: 11.59 kB / 2.359 GB, free: 91.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/6.215, allocations: 19.38 kB / 2.359 GB, free: 91.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/6.216, allocations: 419.3 kB / 2.359 GB, free: 91.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/6.216, allocations: 24.16 kB / 2.359 GB, free: 91.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/6.219, allocations: 285.4 kB / 2.36 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/6.219, allocations: 71.77 kB / 2.36 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/6.219, allocations: 3.75 kB / 2.36 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002393/6.222, allocations: 1.454 MB / 2.361 GB, free: 91.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/6.222, allocations: 12.47 kB / 2.361 GB, free: 91.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/6.222, allocations: 18.84 kB / 2.361 GB, free: 91.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/6.223, allocations: 411.6 kB / 2.362 GB, free: 91.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/6.223, allocations: 24.28 kB / 2.362 GB, free: 91.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/6.226, allocations: 262.9 kB / 2.362 GB, free: 91.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/6.227, allocations: 67.81 kB / 2.362 GB, free: 91.2 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.0005415/6.227, allocations: 210.8 kB / 2.362 GB, free: 91.08 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/6.228, allocations: 234.3 kB / 2.362 GB, free: 90.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/6.231, allocations: 1.623 MB / 2.364 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/6.231, allocations: 20.55 kB / 2.364 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/6.231, allocations: 3.031 kB / 2.364 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001628/6.233, allocations: 1.209 MB / 2.365 GB, free: 90.66 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.006769/6.239, allocations: 3.767 MB / 2.369 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/6.239, allocations: 6.031 kB / 2.369 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/6.241, allocations: 279 kB / 2.369 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/6.241, allocations: 10.97 kB / 2.369 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/6.241, allocations: 31.08 kB / 2.369 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/6.241, allocations: 11.09 kB / 2.369 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/6.241, allocations: 3.031 kB / 2.369 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/6.245, allocations: 2.464 MB / 2.372 GB, free: 89.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/6.246, allocations: 0.4916 MB / 2.372 GB, free: 89.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/6.247, allocations: 32.05 kB / 2.372 GB, free: 89.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/6.249, allocations: 234.7 kB / 2.372 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/6.249, allocations: 119.2 kB / 2.372 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/6.249, allocations: 56.38 kB / 2.372 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002412/6.251, allocations: 1.477 MB / 2.374 GB, free: 89.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/6.251, allocations: 0 / 2.374 GB, free: 89.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005272/6.257, allocations: 1.429 MB / 2.375 GB, free: 88.92 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.007247/6.264, allocations: 4.981 MB / 2.38 GB, free: 87.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004397/6.268, allocations: 2.301 MB / 2.382 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/6.268, allocations: 2.969 kB / 2.382 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/6.27, allocations: 0.7082 MB / 2.383 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006802/6.276, allocations: 1.054 MB / 2.384 GB, free: 86.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009862/6.286, allocations: 3.815 MB / 2.388 GB, free: 85.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/6.288, allocations: 1.694 MB / 2.389 GB, free: 85.17 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004017/6.292, allocations: 0.8189 MB / 2.39 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/6.293, allocations: 0.9833 MB / 2.391 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of SimCode: time 1.683e-06/6.293, allocations: 0 / 2.391 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/6.442, allocations: 81.01 MB / 2.47 GB, free: 81.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/6.442, allocations: 224.5 kB / 2.471 GB, free: 80.93 MB / 0.8855 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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.o Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.c:7: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.o Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:1448:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2209:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2479:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.c:2485:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 2))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_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_maint_7_0_x_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 -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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c In file included from Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4141:132: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2271:262: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4141:149: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct(threadData, ths->_coo, ths->_mLoa_flow, ths->_mSou_flow); // ths->_coo has no default value. ~~~ ^ ./Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2271:276: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct(td, ths , in_mLoa_flow, in_mSou_flow) Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Generic_D_HeatingCoolingData24coo_3_4_construct_p(td, &ths , in_mLoa_flow, in_mSou_flow) ^~~~~~~~~~~~ Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4230:177: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:388: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4230:194: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:402: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4428:177: error: no member named '_mLoa_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:388: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.c:4428:194: error: no member named '_mSou_flow' in 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240' Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_functions.h:2312:402: note: expanded from macro 'Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_D_HeatingCoolingData24coo_1_2_3_4_5_6_7_8_construct' #define Buildings_Fluid_HeatPumps_Data_EquationFitReversible_Trane__Axiom__EXW240_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_Trane__Axiom__EXW240_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_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_records.o] Error 1