Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000968/0.000968, allocations: 176.9 kB / 316.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.3 MB / 0.5671 GB, free: 15.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008136/0.0008138, allocations: 110.3 kB / 0.6715 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.152e-05, allocations: 3.984 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/1.65, allocations: 419 MB / 1.294 GB, free: 323.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.65, allocations: 90.66 kB / 1.295 GB, free: 323.4 MB / 0.8698 GB Error: Variable tanSte.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 10.53/12.18, allocations: 2.722 GB / 4.016 GB, free: 67.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/12.18, allocations: 0.875 kB / 4.016 GB, free: 67.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003169/12.18, allocations: 413.1 kB / 4.017 GB, free: 67.16 MB / 0.948 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.06166/12.24, allocations: 13.73 MB / 4.03 GB, free: 63.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/12.24, allocations: 10.64 kB / 4.03 GB, free: 63.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/12.26, allocations: 1.906 MB / 4.032 GB, free: 62.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05394/12.31, allocations: 18.68 MB / 4.05 GB, free: 60.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009069/12.31, allocations: 421.2 kB / 4.051 GB, free: 60.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006498/12.32, allocations: 0.795 MB / 4.051 GB, free: 60.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03785/12.36, allocations: 15.84 MB / 4.067 GB, free: 60.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05385/12.41, allocations: 16.7 MB / 4.083 GB, free: 58.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007728/12.41, allocations: 41.69 kB / 4.083 GB, free: 58.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004806/12.42, allocations: 20.66 kB / 4.083 GB, free: 58.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003386/12.42, allocations: 385.2 kB / 4.084 GB, free: 58.82 MB / 0.948 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.1412/12.56, allocations: 80.5 MB / 4.162 GB, free: 42.61 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02163/12.58, allocations: 12.29 MB / 4.174 GB, free: 42.46 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01067/12.59, allocations: 6.874 MB / 4.181 GB, free: 42.38 MB / 0.9636 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.06247/12.65, allocations: 26.77 MB / 4.207 GB, free: 35.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01019/12.66, allocations: 5.486 MB / 4.212 GB, free: 35.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008684/12.67, allocations: 0.6243 MB / 4.213 GB, free: 35.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=772): time 2.874e-05/12.67, allocations: 2.25 kB / 4.213 GB, free: 35.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=772): time 0.02832/12.7, allocations: 12.04 MB / 4.225 GB, free: 34.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/12.7, allocations: 157.2 kB / 4.225 GB, free: 34.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02093/12.72, allocations: 10.44 MB / 4.235 GB, free: 33.38 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.00269/12.72, allocations: 31.92 kB / 4.235 GB, free: 33.35 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.008606/12.73, allocations: 6.769 MB / 4.242 GB, free: 30.53 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.004336/12.74, allocations: 2.623 MB / 4.244 GB, free: 28.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/12.74, allocations: 0 / 4.244 GB, free: 28.84 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0009896/12.74, allocations: 0.8299 MB / 4.245 GB, free: 28.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01166/12.75, allocations: 6.192 MB / 4.251 GB, free: 28.47 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/12.77, allocations: 9.553 MB / 4.26 GB, free: 22.98 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02365/12.79, allocations: 10.38 MB / 4.271 GB, free: 19.58 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002024/12.79, allocations: 30.25 kB / 4.271 GB, free: 19.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.05804/12.85, allocations: 20.39 MB / 4.291 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.02243/12.87, allocations: 52.56 MB / 4.342 GB, free: 5.473 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004666/12.87, allocations: 101.4 kB / 4.342 GB, free: 5.473 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/12.88, allocations: 3.184 MB / 4.345 GB, free: 4.812 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01386/12.9, allocations: 2.783 MB / 4.348 GB, free: 4.723 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/12.91, allocations: 16.2 MB / 4.364 GB, free: 8.977 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01886/12.93, allocations: 0.8803 MB / 4.364 GB, free: 8.895 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004611/12.94, allocations: 0.566 MB / 4.365 GB, free: 8.793 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/12.94, allocations: 3.844 kB / 4.365 GB, free: 8.793 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05546/12.99, allocations: 19.21 MB / 4.384 GB, free: 2.824 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005944/12.99, allocations: 101 kB / 4.384 GB, free: 2.824 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/13.01, allocations: 3.188 MB / 4.387 GB, free: 1.609 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.8102/13.82, allocations: 3.069 MB / 4.39 GB, free: 133.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/13.83, allocations: 16.19 MB / 4.406 GB, free: 124.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0178/13.85, allocations: 0.8386 MB / 4.407 GB, free: 124.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00444/13.86, allocations: 0.567 MB / 4.407 GB, free: 124.8 MB / 1.026 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.004884/13.86, allocations: 438 kB / 4.408 GB, free: 124.7 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03281/13.89, allocations: 12.01 MB / 4.419 GB, free: 124.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006265/13.9, allocations: 1.063 MB / 4.42 GB, free: 124.2 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03763/13.94, allocations: 13.22 MB / 4.433 GB, free: 123.8 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.219e-05/13.94, allocations: 78.69 kB / 4.433 GB, free: 123.8 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.321e-05/13.94, allocations: 7 kB / 4.433 GB, free: 123.8 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02544/13.96, allocations: 11.19 MB / 4.444 GB, free: 123.4 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 postOpt removeSimpleEquations (simulation): time 0.08498/14.05, allocations: 27.23 MB / 4.471 GB, free: 122.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-05/14.05, allocations: 3.812 kB / 4.471 GB, free: 122.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007478/14.06, allocations: 1.251 MB / 4.472 GB, free: 122.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009759/14.07, allocations: 2.927 MB / 4.475 GB, free: 122.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002542/14.07, allocations: 96.38 kB / 4.475 GB, free: 122.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/14.09, allocations: 10.34 MB / 4.485 GB, free: 119.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/14.09, allocations: 4.562 kB / 4.485 GB, free: 119.2 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04479/14.13, allocations: 20.22 MB / 4.505 GB, free: 117.2 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01178/14.14, allocations: 2.832 MB / 4.508 GB, free: 116.5 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006473/14.15, allocations: 34.67 kB / 4.508 GB, free: 116.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0139/14.16, allocations: 0.6306 MB / 4.508 GB, free: 116.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003291/14.17, allocations: 458.6 kB / 4.509 GB, free: 116.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00313/14.17, allocations: 294 kB / 4.509 GB, free: 116.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02643/14.2, allocations: 7.766 MB / 4.517 GB, free: 116.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.303e-06/14.2, allocations: 0 / 4.517 GB, free: 116.2 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0582/14.25, allocations: 8.172 MB / 4.525 GB, free: 115.6 MB / 1.026 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.05575/14.31, allocations: 22.55 MB / 4.547 GB, free: 112.6 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.05574/14.37, allocations: 22.95 MB / 4.569 GB, free: 111.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.228e-05/14.37, allocations: 8.844 kB / 4.569 GB, free: 111.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/14.38, allocations: 5.551 MB / 4.574 GB, free: 111.5 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03454/14.41, allocations: 5.398 MB / 4.58 GB, free: 111.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09944/14.51, allocations: 32.04 MB / 4.611 GB, free: 106.5 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02137/14.53, allocations: 10.22 MB / 4.621 GB, free: 105.5 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03902/14.57, allocations: 8.993 MB / 4.63 GB, free: 104.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01681/14.59, allocations: 6.07 MB / 4.636 GB, free: 104.8 MB / 1.026 GB Notification: Performance of SimCode: time 2.014e-06/14.59, allocations: 0 / 4.636 GB, free: 104.8 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/15.95, allocations: 362.2 MB / 4.989 GB, free: 102.4 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/15.95, allocations: 186.8 kB / 4.99 GB, free: 102.2 MB / 1.026 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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_maint_7_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_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_maint_7_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_7_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_7_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_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1