Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001033/0.001033, allocations: 168.9 kB / 361.4 MB, free: 6.859 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.624/1.624, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008178/0.0008178, allocations: 95.33 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.437e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6796, allocations: 115.3 MB / 0.9644 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.782, allocations: 425.6 MB / 1.38 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.782, allocations: 86.33 kB / 1.38 GB, free: 141.7 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 11.69/13.47, allocations: 2.792 GB / 4.172 GB, free: 19.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.304e-06/13.47, allocations: 4 kB / 4.172 GB, free: 19.68 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.003489/13.47, allocations: 406.9 kB / 4.173 GB, free: 19.29 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 0.05897/13.53, allocations: 13.76 MB / 4.186 GB, free: 5.441 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/13.53, allocations: 12.03 kB / 4.186 GB, free: 5.43 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/13.55, allocations: 1.909 MB / 4.188 GB, free: 3.5 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9514/14.5, allocations: 18.75 MB / 4.206 GB, free: 75.53 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001232/14.5, allocations: 418.9 kB / 4.207 GB, free: 75.53 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007645/14.51, allocations: 0.7836 MB / 4.207 GB, free: 75.53 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04332/14.55, allocations: 15.84 MB / 4.223 GB, free: 75.47 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06046/14.61, allocations: 16.85 MB / 4.239 GB, free: 73.71 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009954/14.62, allocations: 38.47 kB / 4.239 GB, free: 73.7 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006315/14.62, allocations: 24.83 kB / 4.239 GB, free: 73.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/14.62, allocations: 385.7 kB / 4.24 GB, free: 73.7 MB / 1.01 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.1877/14.81, allocations: 80.7 MB / 4.319 GB, free: 41.64 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/14.83, allocations: 12.28 MB / 4.331 GB, free: 41.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01262/14.85, allocations: 6.874 MB / 4.337 GB, free: 41.43 MB / 1.01 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.07764/14.92, allocations: 26.9 MB / 4.364 GB, free: 50.75 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01555/14.94, allocations: 5.614 MB / 4.369 GB, free: 50.55 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.012/14.95, allocations: 0.6261 MB / 4.37 GB, free: 50.1 MB / 1.026 GB Notification: Performance of pre-optimization done (n=772): time 7.556e-05/14.95, allocations: 1.594 kB / 4.37 GB, free: 50.1 MB / 1.026 GB Notification: Performance of matching and sorting (n=772): time 0.04105/14.99, allocations: 12.04 MB / 4.381 GB, free: 49.28 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/14.99, allocations: 168.5 kB / 4.382 GB, free: 49.17 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03464/15.03, allocations: 10.43 MB / 4.392 GB, free: 48.46 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.00382/15.03, allocations: 40.7 kB / 4.392 GB, free: 48.43 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01517/15.05, allocations: 6.769 MB / 4.398 GB, free: 45.6 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.006122/15.05, allocations: 2.622 MB / 4.401 GB, free: 43.91 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003896/15.06, allocations: 0 / 4.401 GB, free: 43.91 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.002212/15.06, allocations: 0.8291 MB / 4.402 GB, free: 43.58 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01371/15.07, allocations: 6.192 MB / 4.408 GB, free: 43.55 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01899/15.09, allocations: 9.549 MB / 4.417 GB, free: 39.45 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03098/15.12, allocations: 10.4 MB / 4.427 GB, free: 36.05 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004613/15.12, allocations: 26.72 kB / 4.427 GB, free: 36.05 MB / 1.026 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.06749/15.19, allocations: 20.38 MB / 4.447 GB, free: 29.49 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.02299/15.21, allocations: 52.57 MB / 4.499 GB, free: 21.95 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004951/15.21, allocations: 100.7 kB / 4.499 GB, free: 21.95 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/15.22, allocations: 3.181 MB / 4.502 GB, free: 21.28 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/15.24, allocations: 2.784 MB / 4.504 GB, free: 21.19 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/15.26, allocations: 16.19 MB / 4.52 GB, free: 9.461 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02136/15.28, allocations: 0.8818 MB / 4.521 GB, free: 9.375 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005057/15.29, allocations: 0.5648 MB / 4.522 GB, free: 9.27 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/15.29, allocations: 6.375 kB / 4.522 GB, free: 9.27 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05867/15.35, allocations: 19.21 MB / 4.54 GB, free: 3.324 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006486/15.35, allocations: 98.31 kB / 4.541 GB, free: 3.324 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/15.36, allocations: 3.194 MB / 4.544 GB, free: 2.652 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0148/15.37, allocations: 2.78 MB / 4.546 GB, free: 2.492 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/15.39, allocations: 16.22 MB / 4.562 GB, free: 6.641 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01831/15.41, allocations: 0.838 MB / 4.563 GB, free: 6.574 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005041/15.42, allocations: 0.5596 MB / 4.564 GB, free: 6.473 MB / 1.089 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.008297/15.43, allocations: 445.8 kB / 4.564 GB, free: 6.098 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04117/15.47, allocations: 12.01 MB / 4.576 GB, free: 1.715 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006895/15.47, allocations: 1.075 MB / 4.577 GB, free: 1.145 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.021/16.5, allocations: 13.57 MB / 4.59 GB, free: 143.2 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001095/16.5, allocations: 80.91 kB / 4.59 GB, free: 143.2 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.611e-05/16.5, allocations: 8.203 kB / 4.59 GB, free: 143.2 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02726/16.52, allocations: 11.18 MB / 4.601 GB, free: 142.9 MB / 1.089 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.07909/16.6, allocations: 27.36 MB / 4.628 GB, free: 142 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.693e-05/16.6, allocations: 5.094 kB / 4.628 GB, free: 142 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007556/16.61, allocations: 1.246 MB / 4.629 GB, free: 142 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/16.62, allocations: 2.933 MB / 4.632 GB, free: 141.9 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002519/16.62, allocations: 98.34 kB / 4.632 GB, free: 141.9 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/16.64, allocations: 10.33 MB / 4.642 GB, free: 138.8 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/16.64, allocations: 6.656 kB / 4.642 GB, free: 138.8 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05728/16.7, allocations: 20.23 MB / 4.662 GB, free: 137.4 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01472/16.71, allocations: 2.894 MB / 4.665 GB, free: 137 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007603/16.72, allocations: 30.64 kB / 4.665 GB, free: 137 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01531/16.74, allocations: 0.6315 MB / 4.665 GB, free: 137 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003306/16.74, allocations: 468.8 kB / 4.666 GB, free: 136.9 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003093/16.74, allocations: 312.9 kB / 4.666 GB, free: 136.9 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.02289/16.77, allocations: 7.764 MB / 4.674 GB, free: 136.7 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.173e-06/16.77, allocations: 2.5 kB / 4.674 GB, free: 136.7 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.05635/16.82, allocations: 8.176 MB / 4.682 GB, free: 136 MB / 1.089 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.06272/16.89, allocations: 22.57 MB / 4.704 GB, free: 133.1 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05991/16.95, allocations: 22.96 MB / 4.726 GB, free: 132.3 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.183e-05/16.95, allocations: 9.094 kB / 4.726 GB, free: 132.3 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/16.96, allocations: 5.546 MB / 4.731 GB, free: 132 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03585/16.99, allocations: 5.409 MB / 4.737 GB, free: 131.9 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/17.11, allocations: 32.05 MB / 4.768 GB, free: 126.9 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02308/17.13, allocations: 10.22 MB / 4.778 GB, free: 125.9 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.04237/17.17, allocations: 9.039 MB / 4.787 GB, free: 125.4 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01723/17.19, allocations: 6.079 MB / 4.793 GB, free: 125.4 MB / 1.089 GB Notification: Performance of SimCode: time 1.653e-06/17.19, allocations: 4 kB / 4.793 GB, free: 125.4 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.493/18.68, allocations: 364.2 MB / 5.148 GB, free: 130.8 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/18.68, allocations: 194.6 kB / 5.149 GB, free: 130.6 MB / 1.089 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_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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. make: *** [: Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1