Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.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.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation",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.676/1.676, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001219/0.00122, allocations: 172.8 kB / 366.7 MB, free: 1.695 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.607/1.607, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008886/0.0008884, allocations: 97.47 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.998e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7313/0.7313, allocations: 116.3 MB / 0.9733 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.908, allocations: 425.5 MB / 1.389 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.909, allocations: 99.17 kB / 1.389 GB, free: 131.4 MB / 0.8542 GB Error: Variable tan_aTop.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Error: Variable tan_bTop.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Notification: Performance of FrontEnd - DAE generated: time 12.83/14.74, allocations: 3.158 GB / 4.547 GB, free: 54.47 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.104e-06/14.74, allocations: 0 / 4.547 GB, free: 54.47 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.003267/14.75, allocations: 475.5 kB / 4.547 GB, free: 54.04 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.06392/14.81, allocations: 15.89 MB / 4.563 GB, free: 38.16 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/14.81, allocations: 8.031 kB / 4.563 GB, free: 38.15 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01884/14.83, allocations: 2.232 MB / 4.565 GB, free: 35.9 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05907/14.89, allocations: 21.54 MB / 4.586 GB, free: 14.58 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/14.89, allocations: 0.4922 MB / 4.586 GB, free: 14.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008534/14.9, allocations: 0.9295 MB / 4.587 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05412/14.95, allocations: 18.59 MB / 4.605 GB, free: 10.55 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.819/16.77, allocations: 20.12 MB / 4.625 GB, free: 83.75 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001554/16.77, allocations: 49.88 kB / 4.625 GB, free: 83.75 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00882/16.78, allocations: 25.12 kB / 4.625 GB, free: 83.75 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/16.78, allocations: 471.1 kB / 4.626 GB, free: 83.75 MB / 1.026 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.2197/17, allocations: 92.41 MB / 4.716 GB, free: 64.72 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03661/17.04, allocations: 14.41 MB / 4.73 GB, free: 64.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01819/17.06, allocations: 8.999 MB / 4.739 GB, free: 64.43 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08442/17.14, allocations: 28.96 MB / 4.767 GB, free: 58.73 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/17.14, allocations: 153.1 kB / 4.767 GB, free: 58.68 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01302/17.15, allocations: 0.6869 MB / 4.768 GB, free: 58.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=893): time 0.0001241/17.15, allocations: 0 / 4.768 GB, free: 58.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=893): time 0.04248/17.2, allocations: 13.3 MB / 4.781 GB, free: 57.5 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/17.2, allocations: 143.4 kB / 4.781 GB, free: 57.43 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03121/17.23, allocations: 11.86 MB / 4.792 GB, free: 56.72 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003736/17.23, allocations: 33.52 kB / 4.792 GB, free: 56.69 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01244/17.24, allocations: 7.924 MB / 4.8 GB, free: 53.32 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00661/17.25, allocations: 3.028 MB / 4.803 GB, free: 51.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003698/17.26, allocations: 1.219 kB / 4.803 GB, free: 51.34 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001536/17.26, allocations: 0.8947 MB / 4.804 GB, free: 51.01 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01472/17.27, allocations: 6.961 MB / 4.811 GB, free: 50.98 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01925/17.29, allocations: 10.85 MB / 4.821 GB, free: 46.53 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02785/17.32, allocations: 11.22 MB / 4.832 GB, free: 46.39 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002888/17.32, allocations: 34.91 kB / 4.832 GB, free: 46.39 MB / 1.042 GB Notification: Performance of matching and sorting (n=1847) (initialization): time 0.06398/17.38, allocations: 21.56 MB / 4.853 GB, free: 39.78 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.03361/17.42, allocations: 65.98 MB / 4.918 GB, free: 33.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007759/17.42, allocations: 130.3 kB / 4.918 GB, free: 33.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/17.42, allocations: 0.8289 MB / 4.919 GB, free: 33.03 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01973/17.44, allocations: 3.433 MB / 4.922 GB, free: 32.91 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/17.45, allocations: 13.33 MB / 4.935 GB, free: 38.22 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02634/17.48, allocations: 1.006 MB / 4.936 GB, free: 38.11 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00552/17.49, allocations: 0.628 MB / 4.937 GB, free: 38 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/17.49, allocations: 13.58 kB / 4.937 GB, free: 37.99 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05862/17.54, allocations: 20.19 MB / 4.957 GB, free: 31.42 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005571/17.54, allocations: 121.6 kB / 4.957 GB, free: 31.42 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/17.55, allocations: 0.8187 MB / 4.957 GB, free: 31.25 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0168/17.56, allocations: 3.435 MB / 4.961 GB, free: 30.93 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/17.58, allocations: 14.32 MB / 4.975 GB, free: 19.19 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01972/17.6, allocations: 0.953 MB / 4.976 GB, free: 19.1 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005414/17.6, allocations: 0.6326 MB / 4.976 GB, free: 18.99 MB / 1.12 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tan_aTop.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tan_aTop.m_flow_nominal "Nominal mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tan_bTop.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tan_bTop.m_flow_nominal "Nominal mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1795): * Single equations (assignments): 1790 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00863/17.61, allocations: 0.4943 MB / 4.977 GB, free: 18.55 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03908/17.65, allocations: 13.25 MB / 4.99 GB, free: 13.85 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008158/17.66, allocations: 1.237 MB / 4.991 GB, free: 13.2 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04586/17.71, allocations: 14.68 MB / 5.005 GB, free: 8.047 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.673e-05/17.71, allocations: 100.7 kB / 5.005 GB, free: 8.039 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.704e-05/17.71, allocations: 11.3 kB / 5.005 GB, free: 8.035 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03145/17.74, allocations: 12.57 MB / 5.018 GB, free: 3.535 MB / 1.12 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 1.927/19.66, allocations: 31.27 MB / 5.048 GB, free: 177.1 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/19.66, allocations: 6.75 kB / 5.048 GB, free: 177.1 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01113/19.68, allocations: 1.794 MB / 5.05 GB, free: 177.1 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/19.68, allocations: 0.6494 MB / 5.051 GB, free: 177 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002905/19.68, allocations: 122.3 kB / 5.051 GB, free: 177 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009479/19.69, allocations: 7.574 MB / 5.058 GB, free: 174 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/19.69, allocations: 4.156 kB / 5.058 GB, free: 174 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06078/19.75, allocations: 22.86 MB / 5.08 GB, free: 172.7 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01595/19.77, allocations: 3.349 MB / 5.084 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008192/19.78, allocations: 51.23 kB / 5.084 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01982/19.8, allocations: 0.7175 MB / 5.084 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00368/19.8, allocations: 0.5132 MB / 5.085 GB, free: 172.3 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002429/19.8, allocations: 367.1 kB / 5.085 GB, free: 172.3 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02729/19.83, allocations: 8.858 MB / 5.094 GB, free: 171.9 MB / 1.12 GB Notification: Performance of sort global known variables: time 8.81e-07/19.83, allocations: 3.172 kB / 5.094 GB, free: 171.9 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07325/19.9, allocations: 9.711 MB / 5.103 GB, free: 171.2 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 48 (tan_aTop.vol[1].dynBal.U,tan_aTop.vol[2].dynBal.U,tan_aTop.vol[3].dynBal.U,tan_aTop.vol[4].dynBal.U,tan_aTop.vol[5].dynBal.U,tan_aTop.vol[6].dynBal.U,tan_aTop.vol[7].dynBal.U,tan_aTop.vol[8].dynBal.U,tan_aTop.vol[9].dynBal.U,tan_aTop.vol[10].dynBal.U,tan_aTop.vol[11].dynBal.U,tan_aTop.vol[12].dynBal.U,tan_aTop.indTanHex.vol[1].dynBal.U,tan_aTop.indTanHex.vol[2].dynBal.U,tan_aTop.indTanHex.vol[3].dynBal.U,tan_aTop.indTanHex.vol[4].dynBal.U,tan_aTop.indTanHex.vol[5].dynBal.U,tan_aTop.indTanHex.vol[6].dynBal.U,tan_aTop.indTanHex.cap[1].T,tan_aTop.indTanHex.cap[2].T,tan_aTop.indTanHex.cap[3].T,tan_aTop.indTanHex.cap[4].T,tan_aTop.indTanHex.cap[5].T,tan_aTop.indTanHex.cap[6].T,tan_bTop.vol[1].dynBal.U,tan_bTop.vol[2].dynBal.U,tan_bTop.vol[3].dynBal.U,tan_bTop.vol[4].dynBal.U,tan_bTop.vol[5].dynBal.U,tan_bTop.vol[6].dynBal.U,tan_bTop.vol[7].dynBal.U,tan_bTop.vol[8].dynBal.U,tan_bTop.vol[9].dynBal.U,tan_bTop.vol[10].dynBal.U,tan_bTop.vol[11].dynBal.U,tan_bTop.vol[12].dynBal.U,tan_bTop.indTanHex.vol[1].dynBal.U,tan_bTop.indTanHex.vol[2].dynBal.U,tan_bTop.indTanHex.vol[3].dynBal.U,tan_bTop.indTanHex.vol[4].dynBal.U,tan_bTop.indTanHex.vol[5].dynBal.U,tan_bTop.indTanHex.vol[6].dynBal.U,tan_bTop.indTanHex.cap[1].T,tan_bTop.indTanHex.cap[2].T,tan_bTop.indTanHex.cap[3].T,tan_bTop.indTanHex.cap[4].T,tan_bTop.indTanHex.cap[5].T,tan_bTop.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (862): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.05989/19.96, allocations: 25.11 MB / 5.128 GB, free: 168.4 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.06/20.02, allocations: 25.95 MB / 5.153 GB, free: 167.6 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.351e-05/20.02, allocations: 7.344 kB / 5.153 GB, free: 167.6 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01425/20.04, allocations: 6.457 MB / 5.16 GB, free: 167.3 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04348/20.08, allocations: 6.29 MB / 5.166 GB, free: 167.2 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1297/20.21, allocations: 39.12 MB / 5.204 GB, free: 160.7 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03072/20.24, allocations: 11.83 MB / 5.216 GB, free: 159.4 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.05646/20.3, allocations: 11.98 MB / 5.227 GB, free: 158.4 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02383/20.32, allocations: 7.333 MB / 5.234 GB, free: 158.4 MB / 1.12 GB Notification: Performance of SimCode: time 2.755e-06/20.32, allocations: 0 / 5.234 GB, free: 158.4 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.728/22.05, allocations: 393.3 MB / 5.619 GB, free: 167.6 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/22.05, allocations: 178 kB / 5.619 GB, free: 167.4 MB / 1.12 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c:7: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c:1: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c:2: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c:2: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c:2: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c:2: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c:2: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:2: In file included from ./Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:3556:46: error: use of undeclared identifier '$Ptan_aTop$PQHex_flow_nominal' data->simulationInfo->realParameter[100] = $Ptan_aTop$PQHex_flow_nominal; ^ Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:3751:46: error: use of undeclared identifier '$Ptan_bTop$PQHex_flow_nominal' data->simulationInfo->realParameter[872] = $Ptan_bTop$PQHex_flow_nominal; ^ 2 warnings and 2 errors generated. make: *** [: Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o] Error 1