Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.306/2.306, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001515/0.001514, allocations: 183.5 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 94.52 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.277e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1994, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.878/2.078, allocations: 418.8 MB / 1.293 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/2.078, allocations: 88.55 kB / 1.293 GB, free: 262.3 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 14.84/16.92, allocations: 2.722 GB / 4.015 GB, free: 70.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/16.92, allocations: 0 / 4.015 GB, free: 70.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003831/16.93, allocations: 411.2 kB / 4.015 GB, free: 70.86 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.06884/16.99, allocations: 13.73 MB / 4.029 GB, free: 66.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/16.99, allocations: 11.61 kB / 4.029 GB, free: 66.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/17.01, allocations: 1.907 MB / 4.031 GB, free: 65.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06957/17.08, allocations: 18.67 MB / 4.049 GB, free: 63.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009887/17.08, allocations: 420.6 kB / 4.049 GB, free: 63.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007188/17.09, allocations: 0.7976 MB / 4.05 GB, free: 63.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05258/17.14, allocations: 15.83 MB / 4.065 GB, free: 63.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06429/17.2, allocations: 16.69 MB / 4.082 GB, free: 61.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00105/17.21, allocations: 43.86 kB / 4.082 GB, free: 61.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00584/17.21, allocations: 19.62 kB / 4.082 GB, free: 61.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005418/17.21, allocations: 391.2 kB / 4.082 GB, free: 61.78 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.1962/17.41, allocations: 80.5 MB / 4.161 GB, free: 45.56 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03056/17.44, allocations: 12.29 MB / 4.173 GB, free: 45.42 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01699/17.46, allocations: 6.875 MB / 4.179 GB, free: 45.33 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.09056/17.55, allocations: 26.77 MB / 4.206 GB, free: 38.62 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01662/17.56, allocations: 5.492 MB / 4.211 GB, free: 38.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01094/17.57, allocations: 0.6203 MB / 4.212 GB, free: 37.97 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=772): time 6.451e-05/17.57, allocations: 3.141 kB / 4.212 GB, free: 37.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=772): time 0.04401/17.62, allocations: 12.04 MB / 4.223 GB, free: 37.14 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/17.62, allocations: 162.3 kB / 4.224 GB, free: 37.04 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03067/17.65, allocations: 10.44 MB / 4.234 GB, free: 36.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002815/17.65, allocations: 32.11 kB / 4.234 GB, free: 36.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01143/17.66, allocations: 6.774 MB / 4.24 GB, free: 32.69 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.005553/17.67, allocations: 2.626 MB / 4.243 GB, free: 30.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003037/17.67, allocations: 0 / 4.243 GB, free: 30.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.001516/17.67, allocations: 0.8289 MB / 4.244 GB, free: 30.12 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01686/17.69, allocations: 6.195 MB / 4.25 GB, free: 27.73 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02043/17.71, allocations: 9.545 MB / 4.259 GB, free: 21.28 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03641/17.75, allocations: 10.39 MB / 4.269 GB, free: 17.88 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/17.75, allocations: 28.94 kB / 4.269 GB, free: 17.88 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.07418/17.82, allocations: 20.38 MB / 4.289 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.02572/17.85, allocations: 52.57 MB / 4.341 GB, free: 3.414 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004346/17.85, allocations: 98.41 kB / 4.341 GB, free: 3.414 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01752/17.87, allocations: 3.178 MB / 4.344 GB, free: 2.715 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02221/17.89, allocations: 2.786 MB / 4.346 GB, free: 2.617 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8958/18.78, allocations: 16.19 MB / 4.362 GB, free: 116.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02414/18.81, allocations: 0.8829 MB / 4.363 GB, free: 116.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004439/18.81, allocations: 0.5655 MB / 4.364 GB, free: 116.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/18.81, allocations: 7.375 kB / 4.364 GB, free: 116.4 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07522/18.89, allocations: 19.21 MB / 4.382 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004174/18.89, allocations: 96.44 kB / 4.383 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0167/18.91, allocations: 3.195 MB / 4.386 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02195/18.93, allocations: 2.782 MB / 4.388 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02454/18.95, allocations: 16.2 MB / 4.404 GB, free: 107.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02162/18.97, allocations: 0.8407 MB / 4.405 GB, free: 107.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004244/18.98, allocations: 0.5619 MB / 4.406 GB, free: 107.3 MB / 1.01 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.00654/18.98, allocations: 440.7 kB / 4.406 GB, free: 107.2 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04329/19.03, allocations: 12 MB / 4.418 GB, free: 107 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006422/19.03, allocations: 1.067 MB / 4.419 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04991/19.08, allocations: 13.22 MB / 4.432 GB, free: 106.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001698/19.08, allocations: 83.28 kB / 4.432 GB, free: 106.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-05/19.08, allocations: 7.875 kB / 4.432 GB, free: 106.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03809/19.12, allocations: 11.19 MB / 4.443 GB, free: 105.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 postOpt removeSimpleEquations (simulation): time 0.09424/19.22, allocations: 27.22 MB / 4.469 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.735e-05/19.22, allocations: 4.625 kB / 4.469 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01199/19.23, allocations: 1.254 MB / 4.47 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01644/19.25, allocations: 2.926 MB / 4.473 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002266/19.25, allocations: 96.56 kB / 4.473 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/19.27, allocations: 10.33 MB / 4.483 GB, free: 101.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/19.27, allocations: 7.281 kB / 4.483 GB, free: 101.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05952/19.33, allocations: 20.22 MB / 4.503 GB, free: 99.48 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01406/19.34, allocations: 2.84 MB / 4.506 GB, free: 98.81 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006384/19.35, allocations: 34.5 kB / 4.506 GB, free: 98.81 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0178/19.37, allocations: 0.628 MB / 4.507 GB, free: 98.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002697/19.37, allocations: 458 kB / 4.507 GB, free: 98.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002554/19.37, allocations: 292.6 kB / 4.507 GB, free: 98.78 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02354/19.4, allocations: 7.766 MB / 4.515 GB, free: 98.49 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.41e-07/19.4, allocations: 0 / 4.515 GB, free: 98.49 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05436/19.45, allocations: 8.163 MB / 4.523 GB, free: 97.86 MB / 1.01 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.06496/19.52, allocations: 22.55 MB / 4.545 GB, free: 94.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.06158/19.58, allocations: 22.96 MB / 4.567 GB, free: 94.06 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.051e-05/19.58, allocations: 7.094 kB / 4.567 GB, free: 94.06 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.017/19.6, allocations: 5.548 MB / 4.573 GB, free: 93.78 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0473/19.64, allocations: 5.398 MB / 4.578 GB, free: 93.68 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1154/19.76, allocations: 32.05 MB / 4.609 GB, free: 82.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02464/19.78, allocations: 10.21 MB / 4.619 GB, free: 75.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.05408/19.84, allocations: 8.998 MB / 4.628 GB, free: 70.26 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02003/19.86, allocations: 6.069 MB / 4.634 GB, free: 64.62 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/19.86, allocations: 4.453 kB / 4.634 GB, free: 64.62 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.706/21.56, allocations: 362.2 MB / 4.988 GB, free: 41.93 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/21.56, allocations: 182.6 kB / 4.988 GB, free: 41.74 MB / 1.01 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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_7_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_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_7_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_7_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_7_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1