Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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.HeatExchangerDynamics,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",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.391/2.391, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001515/0.001514, allocations: 184.8 kB / 360.6 MB, free: 7.266 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.119/2.119, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.00118/0.001179, allocations: 91.64 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.568e-05, allocations: 4 kB / 0.8508 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8276, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/2.136, allocations: 425.5 MB / 1.379 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/2.136, allocations: 94.98 kB / 1.379 GB, free: 143 MB / 0.8542 GB Error: Variable tanSte.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 14.68/16.82, allocations: 2.792 GB / 4.171 GB, free: 10.21 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.134e-06/16.82, allocations: 0 / 4.171 GB, free: 10.21 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.003327/16.82, allocations: 415.4 kB / 4.171 GB, free: 9.805 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: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 1.759/18.58, allocations: 13.75 MB / 4.185 GB, free: 70.45 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/18.58, allocations: 8.078 kB / 4.185 GB, free: 70.45 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/18.6, allocations: 1.912 MB / 4.187 GB, free: 69.55 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07278/18.67, allocations: 18.75 MB / 4.205 GB, free: 68.52 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009728/18.67, allocations: 419.9 kB / 4.205 GB, free: 68.52 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006967/18.68, allocations: 0.7961 MB / 4.206 GB, free: 68.52 MB / 1.011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05335/18.73, allocations: 15.84 MB / 4.222 GB, free: 68.46 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07108/18.8, allocations: 16.85 MB / 4.238 GB, free: 66.7 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001126/18.8, allocations: 42.88 kB / 4.238 GB, free: 66.7 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006312/18.81, allocations: 21.31 kB / 4.238 GB, free: 66.7 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008063/18.81, allocations: 390 kB / 4.239 GB, free: 66.7 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.2111/19.02, allocations: 80.69 MB / 4.317 GB, free: 50.51 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0311/19.05, allocations: 12.3 MB / 4.329 GB, free: 50.37 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01699/19.07, allocations: 6.868 MB / 4.336 GB, free: 50.3 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 evalFunc (simulation): time 0.09306/19.16, allocations: 26.9 MB / 4.362 GB, free: 43.62 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01689/19.18, allocations: 5.62 MB / 4.368 GB, free: 43.41 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0111/19.19, allocations: 0.6228 MB / 4.368 GB, free: 42.96 MB / 1.026 GB Notification: Performance of pre-optimization done (n=772): time 6.661e-05/19.19, allocations: 0 / 4.368 GB, free: 42.96 MB / 1.026 GB Notification: Performance of matching and sorting (n=772): time 0.04592/19.24, allocations: 12.05 MB / 4.38 GB, free: 42.13 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/19.24, allocations: 159.9 kB / 4.38 GB, free: 42.03 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03153/19.27, allocations: 10.43 MB / 4.391 GB, free: 41.32 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.003079/19.27, allocations: 35.83 kB / 4.391 GB, free: 41.29 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01168/19.28, allocations: 6.771 MB / 4.397 GB, free: 38.46 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.005695/19.29, allocations: 2.623 MB / 4.4 GB, free: 36.77 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003278/19.29, allocations: 0 / 4.4 GB, free: 36.77 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0015/19.29, allocations: 0.8257 MB / 4.401 GB, free: 36.44 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01747/19.31, allocations: 6.194 MB / 4.407 GB, free: 36.41 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02163/19.33, allocations: 9.553 MB / 4.416 GB, free: 30.86 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03769/19.37, allocations: 10.4 MB / 4.426 GB, free: 27.46 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001873/19.37, allocations: 27.22 kB / 4.426 GB, free: 27.46 MB / 1.026 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.0765/19.45, allocations: 20.38 MB / 4.446 GB, free: 20.9 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.02134/19.47, allocations: 52.56 MB / 4.497 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004593/19.47, allocations: 97.34 kB / 4.497 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01735/19.49, allocations: 3.176 MB / 4.501 GB, free: 12.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02284/19.51, allocations: 2.789 MB / 4.503 GB, free: 12.6 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02715/19.54, allocations: 16.2 MB / 4.519 GB, free: 16.86 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02413/19.56, allocations: 0.8862 MB / 4.52 GB, free: 16.77 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004409/19.57, allocations: 0.5575 MB / 4.52 GB, free: 16.67 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/19.57, allocations: 6.344 kB / 4.52 GB, free: 16.67 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07031/19.64, allocations: 19.21 MB / 4.539 GB, free: 10.72 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00047/19.64, allocations: 96.69 kB / 4.539 GB, free: 10.72 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0171/19.65, allocations: 3.197 MB / 4.542 GB, free: 10.05 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02238/19.68, allocations: 2.781 MB / 4.545 GB, free: 9.957 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03589/19.71, allocations: 16.2 MB / 4.561 GB, free: 14.14 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02191/19.73, allocations: 0.8403 MB / 4.562 GB, free: 14.08 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004646/19.74, allocations: 0.5589 MB / 4.562 GB, free: 13.98 MB / 1.104 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tanDyn.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanDyn.m_flow_nominal "Nominal mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tanSte.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanSte.m_flow_nominal "Nominal mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1454): * Single equations (assignments): 1448 * Array equations: 0 * Algorithm blocks: 1 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.007178/19.75, allocations: 443.1 kB / 4.563 GB, free: 13.6 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04664/19.79, allocations: 12.01 MB / 4.575 GB, free: 9.219 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006793/19.8, allocations: 1.071 MB / 4.576 GB, free: 8.652 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.97/20.77, allocations: 13.53 MB / 4.589 GB, free: 157.3 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001759/20.77, allocations: 78.86 kB / 4.589 GB, free: 157.3 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.568e-05/20.77, allocations: 4.781 kB / 4.589 GB, free: 157.3 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04099/20.81, allocations: 11.19 MB / 4.6 GB, free: 156.9 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.09617/20.91, allocations: 27.36 MB / 4.626 GB, free: 156 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001017/20.91, allocations: 3.969 kB / 4.627 GB, free: 156 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01215/20.92, allocations: 1.254 MB / 4.628 GB, free: 156 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01636/20.94, allocations: 2.927 MB / 4.631 GB, free: 156 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002323/20.94, allocations: 94.47 kB / 4.631 GB, free: 156 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02344/20.96, allocations: 10.33 MB / 4.641 GB, free: 152.9 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/20.96, allocations: 10.42 kB / 4.641 GB, free: 152.9 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06464/21.03, allocations: 20.23 MB / 4.661 GB, free: 151.4 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01456/21.04, allocations: 2.897 MB / 4.663 GB, free: 151 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006393/21.05, allocations: 31.75 kB / 4.663 GB, free: 151 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01884/21.07, allocations: 0.6269 MB / 4.664 GB, free: 151 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002888/21.07, allocations: 461.6 kB / 4.664 GB, free: 151 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003008/21.07, allocations: 319.3 kB / 4.665 GB, free: 151 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02442/21.1, allocations: 7.768 MB / 4.672 GB, free: 150.7 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.362e-06/21.1, allocations: 0 / 4.672 GB, free: 150.7 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.05393/21.15, allocations: 8.172 MB / 4.68 GB, free: 150.1 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 30 (tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.vol[5].dynBal.U,tanDyn.vol[6].dynBal.U,tanDyn.vol[7].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.vol[7].dynBal.U,tanDyn.indTanHex.vol[8].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDyn.indTanHex.cap[7].T,tanDyn.indTanHex.cap[8].T,tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanSte.vol[5].dynBal.U,tanSte.vol[6].dynBal.U,tanSte.vol[7].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,mHex_flow_in.T_start,mHex_flow_in.count) * Number of discrete states: 1 (mHex_flow_in.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (609): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of Backend phase and start with SimCode phase: time 0.06705/21.22, allocations: 22.57 MB / 4.702 GB, free: 147.1 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.06262/21.28, allocations: 22.96 MB / 4.725 GB, free: 146.3 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.296e-05/21.28, allocations: 7.531 kB / 4.725 GB, free: 146.3 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01586/21.3, allocations: 5.551 MB / 4.73 GB, free: 146 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04727/21.34, allocations: 5.404 MB / 4.735 GB, free: 145.9 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.116/21.46, allocations: 32.05 MB / 4.767 GB, free: 141 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0251/21.48, allocations: 10.22 MB / 4.777 GB, free: 139.9 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.05731/21.54, allocations: 9.038 MB / 4.786 GB, free: 139.6 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01925/21.56, allocations: 6.073 MB / 4.792 GB, free: 139.6 MB / 1.104 GB Notification: Performance of SimCode: time 1.623e-06/21.56, allocations: 4 kB / 4.792 GB, free: 139.6 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.728/23.29, allocations: 364.2 MB / 5.147 GB, free: 143 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003986/23.29, allocations: 181.8 kB / 5.147 GB, free: 142.8 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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_HeatExchangerDynamics_06inz.c:2880:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:3127:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[782] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 2 errors generated. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1