Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.122/2.122, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 176.9 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.000937, allocations: 87.59 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.837e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2425, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.255, allocations: 438.3 MB / 1.64 GB, free: 8.574 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.255, allocations: 88.55 kB / 1.64 GB, free: 8.531 MB / 1.057 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.7/11.96, allocations: 2.876 GB / 4.517 GB, free: 108.9 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.403e-06/11.96, allocations: 2.625 kB / 4.517 GB, free: 108.9 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003095/11.96, allocations: 434.5 kB / 4.517 GB, free: 108.9 MB / 1.229 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.04293/12, allocations: 13.82 MB / 4.531 GB, free: 104.3 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/12, allocations: 10.47 kB / 4.531 GB, free: 104.3 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/12.01, allocations: 1.933 MB / 4.533 GB, free: 103.4 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04044/12.05, allocations: 19.29 MB / 4.551 GB, free: 101.7 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006846/12.05, allocations: 418.6 kB / 4.552 GB, free: 101.7 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004805/12.06, allocations: 0.7926 MB / 4.553 GB, free: 101.7 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03231/12.09, allocations: 15.83 MB / 4.568 GB, free: 101.7 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04872/12.14, allocations: 16.86 MB / 4.584 GB, free: 99.89 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006/12.14, allocations: 46.44 kB / 4.584 GB, free: 99.89 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003644/12.14, allocations: 18.53 kB / 4.585 GB, free: 99.89 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/12.14, allocations: 0.5044 MB / 4.585 GB, free: 99.86 MB / 1.229 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.1264/12.27, allocations: 80.72 MB / 4.664 GB, free: 67.64 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/12.29, allocations: 12.29 MB / 4.676 GB, free: 67.49 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01004/12.3, allocations: 6.887 MB / 4.683 GB, free: 67.4 MB / 1.229 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.05834/12.36, allocations: 26.9 MB / 4.709 GB, free: 60.69 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01299/12.37, allocations: 5.615 MB / 4.714 GB, free: 60.49 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008442/12.38, allocations: 0.6371 MB / 4.715 GB, free: 60.03 MB / 1.229 GB Notification: Performance of pre-optimization done (n=772): time 3.344e-05/12.38, allocations: 0 / 4.715 GB, free: 60.03 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 0.0287/12.41, allocations: 12.06 MB / 4.727 GB, free: 59.2 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/12.41, allocations: 159.8 kB / 4.727 GB, free: 59.1 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02299/12.43, allocations: 10.59 MB / 4.737 GB, free: 58.38 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.002284/12.43, allocations: 34.95 kB / 4.737 GB, free: 58.35 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.007932/12.44, allocations: 6.834 MB / 4.744 GB, free: 55.54 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.003677/12.45, allocations: 2.623 MB / 4.746 GB, free: 53.84 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/12.45, allocations: 0 / 4.746 GB, free: 53.84 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001113/12.45, allocations: 0.832 MB / 4.747 GB, free: 53.39 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/12.46, allocations: 6.196 MB / 4.753 GB, free: 51 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/12.47, allocations: 9.553 MB / 4.763 GB, free: 44.54 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/12.49, allocations: 10.39 MB / 4.773 GB, free: 41.13 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/12.5, allocations: 25.59 kB / 4.773 GB, free: 41.13 MB / 1.229 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.05034/12.55, allocations: 20.4 MB / 4.793 GB, free: 34.57 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01659/12.56, allocations: 53.04 MB / 4.845 GB, free: 10.93 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004598/12.56, allocations: 98.97 kB / 4.845 GB, free: 10.93 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/12.57, allocations: 3.176 MB / 4.848 GB, free: 10.24 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01274/12.59, allocations: 2.787 MB / 4.85 GB, free: 10.14 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/12.6, allocations: 16.2 MB / 4.866 GB, free: 14.36 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01958/12.62, allocations: 0.8806 MB / 4.867 GB, free: 14.24 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005111/12.63, allocations: 0.562 MB / 4.868 GB, free: 14.14 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/12.63, allocations: 7.219 kB / 4.868 GB, free: 14.13 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05063/12.68, allocations: 19.21 MB / 4.886 GB, free: 8.051 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005017/12.68, allocations: 97.47 kB / 4.887 GB, free: 8.051 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009421/12.69, allocations: 3.195 MB / 4.89 GB, free: 7.344 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01273/12.7, allocations: 2.785 MB / 4.892 GB, free: 7.066 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/12.72, allocations: 16.21 MB / 4.908 GB, free: 10.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01697/12.74, allocations: 0.8414 MB / 4.909 GB, free: 9.91 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005505/12.75, allocations: 0.5627 MB / 4.91 GB, free: 9.379 MB / 1.292 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.007237/12.75, allocations: 437.9 kB / 4.91 GB, free: 8.949 MB / 1.292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.9278/13.68, allocations: 12.03 MB / 4.922 GB, free: 156.4 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005453/13.69, allocations: 1.089 MB / 4.923 GB, free: 156.4 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03358/13.72, allocations: 13.24 MB / 4.936 GB, free: 156 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/13.72, allocations: 78.56 kB / 4.936 GB, free: 156 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.454e-05/13.72, allocations: 5.156 kB / 4.936 GB, free: 156 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03206/13.75, allocations: 11.19 MB / 4.947 GB, free: 155.6 MB / 1.292 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.07691/13.83, allocations: 27.41 MB / 4.974 GB, free: 154.8 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/13.83, allocations: 3.562 kB / 4.974 GB, free: 154.8 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0066/13.84, allocations: 1.252 MB / 4.975 GB, free: 154.8 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009349/13.85, allocations: 2.932 MB / 4.978 GB, free: 154.7 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001756/13.85, allocations: 93.66 kB / 4.978 GB, free: 154.7 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/13.86, allocations: 10.33 MB / 4.988 GB, free: 151.6 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/13.86, allocations: 5.5 kB / 4.988 GB, free: 151.6 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03926/13.9, allocations: 20.25 MB / 5.008 GB, free: 149.8 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00957/13.91, allocations: 2.907 MB / 5.01 GB, free: 149.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004796/13.92, allocations: 33.73 kB / 5.01 GB, free: 149.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01202/13.93, allocations: 0.6321 MB / 5.011 GB, free: 149.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00267/13.93, allocations: 456.9 kB / 5.011 GB, free: 149.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002717/13.93, allocations: 319.4 kB / 5.012 GB, free: 149.1 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02006/13.95, allocations: 7.894 MB / 5.02 GB, free: 148.8 MB / 1.292 GB Notification: Performance of sort global known variables: time 7.01e-07/13.95, allocations: 1.875 kB / 5.02 GB, free: 148.8 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.04535/14, allocations: 8.185 MB / 5.028 GB, free: 148.2 MB / 1.292 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.05397/14.05, allocations: 22.59 MB / 5.05 GB, free: 145.2 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.04812/14.1, allocations: 22.97 MB / 5.072 GB, free: 144.4 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/14.1, allocations: 6.938 kB / 5.072 GB, free: 144.4 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.0111/14.11, allocations: 5.548 MB / 5.077 GB, free: 144.1 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03554/14.15, allocations: 5.396 MB / 5.083 GB, free: 144 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09649/14.24, allocations: 32.26 MB / 5.114 GB, free: 139.1 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02251/14.27, allocations: 10.28 MB / 5.124 GB, free: 138 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04281/14.31, allocations: 9.197 MB / 5.133 GB, free: 137.9 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01818/14.33, allocations: 6.139 MB / 5.139 GB, free: 137.9 MB / 1.292 GB Notification: Performance of SimCode: time 1.303e-06/14.33, allocations: 0 / 5.139 GB, free: 137.9 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.438/15.77, allocations: 366.1 MB / 5.497 GB, free: 127.3 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/15.77, allocations: 183.8 kB / 5.497 GB, free: 127.1 MB / 1.292 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_latest_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_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_latest_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_latest_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_latest_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_latest_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1