Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.557/2.557, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001488/0.001488, allocations: 180.8 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001051/0.001049, allocations: 98.44 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.788e-05, allocations: 4 kB / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8242, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.299/2.123, allocations: 424.4 MB / 1.378 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/2.124, allocations: 87.58 kB / 1.378 GB, free: 144.2 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 17.4/19.53, allocations: 3.158 GB / 4.536 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.607e-06/19.53, allocations: 3.938 kB / 4.536 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004278/19.53, allocations: 486.4 kB / 4.536 GB, free: 404 kB / 0.9948 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.07932/19.61, allocations: 15.89 MB / 4.552 GB, free: 428 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/19.61, allocations: 12.03 kB / 4.552 GB, free: 416 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.728/21.34, allocations: 2.233 MB / 4.554 GB, free: 80.48 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08403/21.42, allocations: 21.53 MB / 4.575 GB, free: 79.34 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/21.42, allocations: 0.4973 MB / 4.575 GB, free: 79.34 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008149/21.43, allocations: 0.9279 MB / 4.576 GB, free: 79.33 MB / 1.011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06169/21.49, allocations: 18.59 MB / 4.594 GB, free: 79.27 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08453/21.58, allocations: 20.12 MB / 4.614 GB, free: 77.17 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001499/21.58, allocations: 60.59 kB / 4.614 GB, free: 77.16 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007519/21.59, allocations: 26.62 kB / 4.614 GB, free: 77.16 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009098/21.59, allocations: 453.7 kB / 4.614 GB, free: 77.16 MB / 1.011 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.2389/21.83, allocations: 92.43 MB / 4.705 GB, free: 57.04 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03675/21.87, allocations: 14.4 MB / 4.719 GB, free: 56.86 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02207/21.89, allocations: 8.992 MB / 4.728 GB, free: 56.74 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1074/21.99, allocations: 28.96 MB / 4.756 GB, free: 50.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/21.99, allocations: 152 kB / 4.756 GB, free: 50.76 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01755/22.01, allocations: 0.6872 MB / 4.757 GB, free: 50.25 MB / 1.026 GB Notification: Performance of pre-optimization done (n=893): time 0.0001392/22.01, allocations: 2.078 kB / 4.757 GB, free: 50.25 MB / 1.026 GB Notification: Performance of matching and sorting (n=893): time 0.04927/22.06, allocations: 13.29 MB / 4.77 GB, free: 49.34 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/22.06, allocations: 150.2 kB / 4.77 GB, free: 49.27 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03478/22.1, allocations: 11.86 MB / 4.781 GB, free: 46.27 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.003431/22.1, allocations: 34.02 kB / 4.781 GB, free: 46.24 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01132/22.11, allocations: 7.919 MB / 4.789 GB, free: 40.17 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.006611/22.12, allocations: 3.033 MB / 4.792 GB, free: 37.81 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003703/22.12, allocations: 0 / 4.792 GB, free: 37.81 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.00175/22.12, allocations: 0.8958 MB / 4.793 GB, free: 37.25 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01982/22.14, allocations: 6.961 MB / 4.8 GB, free: 34.61 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02424/22.17, allocations: 10.84 MB / 4.81 GB, free: 27.22 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03924/22.21, allocations: 11.22 MB / 4.821 GB, free: 23.55 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002315/22.21, allocations: 34.81 kB / 4.821 GB, free: 23.55 MB / 1.026 GB Notification: Performance of matching and sorting (n=1847) (initialization): time 0.0784/22.29, allocations: 21.56 MB / 4.842 GB, free: 16.74 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.02975/22.32, allocations: 65.98 MB / 4.907 GB, free: 10.14 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006051/22.32, allocations: 120.1 kB / 4.907 GB, free: 10.13 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003282/22.32, allocations: 0.8304 MB / 4.908 GB, free: 9.969 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0283/22.35, allocations: 3.435 MB / 4.911 GB, free: 9.855 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/22.37, allocations: 13.33 MB / 4.924 GB, free: 15.16 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0278/22.4, allocations: 1.005 MB / 4.925 GB, free: 15.05 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00521/22.4, allocations: 0.6295 MB / 4.926 GB, free: 14.94 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/22.4, allocations: 7.859 kB / 4.926 GB, free: 14.93 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07806/22.48, allocations: 20.2 MB / 4.945 GB, free: 7.422 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006875/22.48, allocations: 119.1 kB / 4.946 GB, free: 7.309 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/22.48, allocations: 0.8235 MB / 4.946 GB, free: 6.625 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02996/22.51, allocations: 3.437 MB / 4.95 GB, free: 3.699 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845/24.36, allocations: 14.31 MB / 4.964 GB, free: 152.5 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02434/24.38, allocations: 0.9602 MB / 4.965 GB, free: 152.5 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004899/24.39, allocations: 0.6322 MB / 4.965 GB, free: 152.5 MB / 1.104 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.007612/24.4, allocations: 497.8 kB / 4.966 GB, free: 152.4 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04905/24.44, allocations: 13.25 MB / 4.979 GB, free: 152.2 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007246/24.45, allocations: 1.234 MB / 4.98 GB, free: 152 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05441/24.51, allocations: 14.69 MB / 4.994 GB, free: 151.5 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001307/24.51, allocations: 90 kB / 4.994 GB, free: 151.5 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.707e-05/24.51, allocations: 9.656 kB / 4.994 GB, free: 151.5 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04352/24.55, allocations: 12.57 MB / 5.007 GB, free: 150.8 MB / 1.104 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.1158/24.67, allocations: 31.21 MB / 5.037 GB, free: 150 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.35e-05/24.67, allocations: 10.08 kB / 5.037 GB, free: 150 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01765/24.68, allocations: 1.784 MB / 5.039 GB, free: 150 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/24.69, allocations: 0.6555 MB / 5.04 GB, free: 149.9 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002651/24.69, allocations: 127.6 kB / 5.04 GB, free: 149.9 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/24.7, allocations: 7.571 MB / 5.047 GB, free: 146.7 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/24.7, allocations: 6.406 kB / 5.047 GB, free: 146.7 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.069/24.77, allocations: 22.86 MB / 5.069 GB, free: 144.8 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0168/24.79, allocations: 3.351 MB / 5.073 GB, free: 144 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007118/24.8, allocations: 49.45 kB / 5.073 GB, free: 144 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02097/24.82, allocations: 0.7204 MB / 5.073 GB, free: 144 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003146/24.82, allocations: 0.5117 MB / 5.074 GB, free: 144 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003101/24.82, allocations: 372.5 kB / 5.074 GB, free: 144 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02782/24.85, allocations: 8.854 MB / 5.083 GB, free: 143.7 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.102e-06/24.85, allocations: 3.562 kB / 5.083 GB, free: 143.7 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.07104/24.92, allocations: 9.707 MB / 5.092 GB, free: 142.8 MB / 1.104 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.07344/25, allocations: 25.1 MB / 5.117 GB, free: 140 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.06847/25.06, allocations: 25.95 MB / 5.142 GB, free: 139.2 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.672e-05/25.06, allocations: 9.688 kB / 5.142 GB, free: 139.2 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01847/25.08, allocations: 6.454 MB / 5.149 GB, free: 138.9 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05397/25.14, allocations: 6.292 MB / 5.155 GB, free: 138.8 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1356/25.27, allocations: 39.12 MB / 5.193 GB, free: 132.3 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0286/25.3, allocations: 11.83 MB / 5.204 GB, free: 129.1 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0709/25.37, allocations: 11.98 MB / 5.216 GB, free: 128.1 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02354/25.4, allocations: 7.331 MB / 5.223 GB, free: 121.8 MB / 1.104 GB Notification: Performance of SimCode: time 1.643e-06/25.4, allocations: 4 kB / 5.223 GB, free: 121.8 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.843/27.24, allocations: 393.2 MB / 5.607 GB, free: 109.1 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/27.24, allocations: 186.5 kB / 5.607 GB, free: 108.9 MB / 1.104 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c In file included from Buildings_8_0_0_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_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c:7: In file included from ./Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c:1: In file included from ./Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.c In file included from Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c:2: In file included from ./Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c:2: In file included from ./Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c:2: In file included from ./Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c:2: In file included from ./Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c:2: In file included from ./Buildings_8_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:2: In file included from ./Buildings_8_0_0_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_0_0_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_0_0_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. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o] Error 1