Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.3/4.3, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.873e-05, allocations: 3.375 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 98.73 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.456, allocations: 409.5 MB / 1.029 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/1.457, allocations: 87.08 kB / 1.029 GB, free: 7.938 MB / 0.7761 GB Error: Variable tanSte.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 16.51/17.97, allocations: 2.699 GB / 3.728 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.725e-06/17.97, allocations: 0 / 3.728 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.003624/17.97, allocations: 413.1 kB / 3.728 GB, free: 65.4 MB / 0.9011 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.07001/18.04, allocations: 13.71 MB / 3.741 GB, free: 60.69 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/18.04, allocations: 8.688 kB / 3.741 GB, free: 60.69 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/18.06, allocations: 1.902 MB / 3.743 GB, free: 59.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07127/18.13, allocations: 18.6 MB / 3.761 GB, free: 58.14 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/18.13, allocations: 422.8 kB / 3.762 GB, free: 58.14 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00799/18.14, allocations: 0.7888 MB / 3.763 GB, free: 58.13 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05568/18.2, allocations: 15.84 MB / 3.778 GB, free: 58.08 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06956/18.27, allocations: 16.54 MB / 3.794 GB, free: 56.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001209/18.27, allocations: 39.34 kB / 3.794 GB, free: 56.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006399/18.28, allocations: 23.98 kB / 3.794 GB, free: 56.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000591/18.28, allocations: 389.6 kB / 3.795 GB, free: 56.3 MB / 0.9011 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.201/18.48, allocations: 80.58 MB / 3.873 GB, free: 39.71 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0316/18.51, allocations: 12.12 MB / 3.885 GB, free: 39.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01758/18.53, allocations: 6.821 MB / 3.892 GB, free: 39.49 MB / 0.9167 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.09203/18.62, allocations: 26.18 MB / 3.917 GB, free: 33.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01669/18.63, allocations: 5.31 MB / 3.923 GB, free: 32.95 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01112/18.65, allocations: 0.6299 MB / 3.923 GB, free: 32.49 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=762): time 7.419e-05/18.65, allocations: 0 / 3.923 GB, free: 32.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=762): time 0.04679/18.69, allocations: 11.95 MB / 3.935 GB, free: 31.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/18.69, allocations: 155.2 kB / 3.935 GB, free: 31.58 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03242/18.73, allocations: 10.42 MB / 3.945 GB, free: 27.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0029/18.73, allocations: 34.2 kB / 3.945 GB, free: 27.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01249/18.74, allocations: 6.765 MB / 3.952 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005928/18.75, allocations: 2.598 MB / 3.954 GB, free: 20.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003525/18.75, allocations: 2.078 kB / 3.954 GB, free: 20.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001646/18.75, allocations: 0.8332 MB / 3.955 GB, free: 20.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01766/18.77, allocations: 6.184 MB / 3.961 GB, free: 17.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0215/18.79, allocations: 9.547 MB / 3.97 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03823/18.83, allocations: 10.39 MB / 3.981 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000196/18.83, allocations: 25.31 kB / 3.981 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.08123/18.91, allocations: 20.36 MB / 4.001 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.8895/19.8, allocations: 52.48 MB / 4.052 GB, free: 82.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005226/19.8, allocations: 95.56 kB / 4.052 GB, free: 82.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0194/19.82, allocations: 3.173 MB / 4.055 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02494/19.85, allocations: 2.784 MB / 4.058 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/19.88, allocations: 16.2 MB / 4.074 GB, free: 73.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02476/19.9, allocations: 0.8823 MB / 4.074 GB, free: 73.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004839/19.91, allocations: 0.5611 MB / 4.075 GB, free: 73.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/19.91, allocations: 3.969 kB / 4.075 GB, free: 73.46 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07423/19.98, allocations: 19.19 MB / 4.094 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005633/19.98, allocations: 97.81 kB / 4.094 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01717/20, allocations: 3.197 MB / 4.097 GB, free: 73.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02302/20.02, allocations: 2.782 MB / 4.1 GB, free: 73.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0266/20.05, allocations: 16.22 MB / 4.115 GB, free: 64.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0226/20.07, allocations: 0.8397 MB / 4.116 GB, free: 64.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004855/20.07, allocations: 0.558 MB / 4.117 GB, free: 64.33 MB / 0.948 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.007724/20.08, allocations: 439.7 kB / 4.117 GB, free: 64.22 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04638/20.13, allocations: 11.92 MB / 4.129 GB, free: 63.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006489/20.14, allocations: 1.067 MB / 4.13 GB, free: 63.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05321/20.19, allocations: 13.1 MB / 4.143 GB, free: 63.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002114/20.19, allocations: 75.19 kB / 4.143 GB, free: 63.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-05/20.19, allocations: 7.719 kB / 4.143 GB, free: 63.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0407/20.23, allocations: 11.1 MB / 4.154 GB, free: 62.71 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 postOpt removeSimpleEquations (simulation): time 0.0983/20.33, allocations: 26.72 MB / 4.18 GB, free: 61.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001156/20.33, allocations: 3.281 kB / 4.18 GB, free: 61.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01238/20.34, allocations: 1.233 MB / 4.181 GB, free: 61.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01681/20.36, allocations: 2.927 MB / 4.184 GB, free: 61.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002444/20.36, allocations: 99.36 kB / 4.184 GB, free: 61.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/20.38, allocations: 10.33 MB / 4.194 GB, free: 58.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/20.38, allocations: 4.75 kB / 4.194 GB, free: 58.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05993/20.44, allocations: 19.61 MB / 4.213 GB, free: 57.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01288/20.46, allocations: 2.748 MB / 4.216 GB, free: 56.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006308/20.46, allocations: 27.66 kB / 4.216 GB, free: 56.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01669/20.48, allocations: 0.6293 MB / 4.216 GB, free: 56.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002823/20.48, allocations: 443.8 kB / 4.217 GB, free: 56.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002354/20.48, allocations: 232 kB / 4.217 GB, free: 56.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02333/20.51, allocations: 7.749 MB / 4.225 GB, free: 56.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.132e-06/20.51, allocations: 3.031 kB / 4.225 GB, free: 56.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.05437/20.56, allocations: 8.148 MB / 4.233 GB, free: 55.43 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (597): * Single equations (assignments): 586 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.06715/20.63, allocations: 21.8 MB / 4.254 GB, free: 53.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06435/20.69, allocations: 22.88 MB / 4.276 GB, free: 52.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/20.69, allocations: 5.719 kB / 4.276 GB, free: 52.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01597/20.71, allocations: 5.476 MB / 4.282 GB, free: 51.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04564/20.76, allocations: 5.353 MB / 4.287 GB, free: 50.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1182/20.87, allocations: 31.9 MB / 4.318 GB, free: 30.03 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02717/20.9, allocations: 10.19 MB / 4.328 GB, free: 22.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.05423/20.96, allocations: 9.007 MB / 4.337 GB, free: 17.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01984/20.98, allocations: 6.056 MB / 4.343 GB, free: 11.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/20.98, allocations: 0 / 4.343 GB, free: 11.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.786/22.76, allocations: 355.9 MB / 4.69 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/22.76, allocations: 180.4 kB / 4.69 GB, free: 3.18 MB / 0.9792 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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_6_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_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2780:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:3027:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[775] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 2 errors generated. : recipe for target 'Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1