Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001304/0.001304, allocations: 172.8 kB / 487.4 MB, free: 5.035 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.438/1.438, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009929/0.0009929, allocations: 91.75 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.013e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2418, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.388, allocations: 437.5 MB / 1.633 GB, free: 1.242 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/1.389, allocations: 88.77 kB / 1.633 GB, free: 1.199 MB / 1.042 GB Error: Variable tanSte.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 11.73/13.12, allocations: 2.876 GB / 4.51 GB, free: 103.3 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.194e-06/13.12, allocations: 3.656 kB / 4.51 GB, free: 103.3 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003293/13.12, allocations: 429.2 kB / 4.51 GB, free: 103.2 MB / 1.214 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.05965/13.18, allocations: 13.83 MB / 4.523 GB, free: 98.64 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/13.18, allocations: 9.562 kB / 4.523 GB, free: 98.64 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/13.2, allocations: 1.934 MB / 4.525 GB, free: 97.73 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0528/13.25, allocations: 19.29 MB / 4.544 GB, free: 96.05 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009933/13.25, allocations: 415.9 kB / 4.545 GB, free: 96.05 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00722/13.26, allocations: 0.7908 MB / 4.545 GB, free: 96.04 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04266/13.3, allocations: 15.84 MB / 4.561 GB, free: 95.98 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05851/13.36, allocations: 16.86 MB / 4.577 GB, free: 94.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001075/13.36, allocations: 42.48 kB / 4.577 GB, free: 94.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006193/13.37, allocations: 21.19 kB / 4.577 GB, free: 94.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005978/13.37, allocations: 0.5079 MB / 4.578 GB, free: 94.17 MB / 1.214 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.164/13.53, allocations: 80.74 MB / 4.657 GB, free: 61.95 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02381/13.56, allocations: 12.28 MB / 4.669 GB, free: 61.8 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0127/13.57, allocations: 6.877 MB / 4.675 GB, free: 61.72 MB / 1.214 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.07028/13.64, allocations: 26.89 MB / 4.702 GB, free: 55.01 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0142/13.65, allocations: 5.62 MB / 4.707 GB, free: 54.81 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01204/13.67, allocations: 0.627 MB / 4.708 GB, free: 54.36 MB / 1.214 GB Notification: Performance of pre-optimization done (n=772): time 5.111e-05/13.67, allocations: 3.719 kB / 4.708 GB, free: 54.36 MB / 1.214 GB Notification: Performance of matching and sorting (n=772): time 0.03629/13.7, allocations: 12.06 MB / 4.72 GB, free: 53.52 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/13.7, allocations: 163 kB / 4.72 GB, free: 53.42 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03154/13.73, allocations: 10.59 MB / 4.73 GB, free: 52.7 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003108/13.74, allocations: 32.33 kB / 4.73 GB, free: 52.67 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01298/13.75, allocations: 6.835 MB / 4.737 GB, free: 48.55 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.008635/13.76, allocations: 2.621 MB / 4.739 GB, free: 46.53 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00454/13.76, allocations: 1.312 kB / 4.739 GB, free: 46.53 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.003143/13.77, allocations: 0.8269 MB / 4.74 GB, free: 46 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0137/13.78, allocations: 6.197 MB / 4.746 GB, free: 43.61 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01718/13.8, allocations: 9.545 MB / 4.756 GB, free: 37.15 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02829/13.83, allocations: 10.4 MB / 4.766 GB, free: 33.75 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002863/13.83, allocations: 28.28 kB / 4.766 GB, free: 33.75 MB / 1.214 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.05754/13.88, allocations: 20.4 MB / 4.786 GB, free: 27.17 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0211/13.91, allocations: 53.04 MB / 4.837 GB, free: 19.46 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004835/13.91, allocations: 105.1 kB / 4.838 GB, free: 19.46 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/13.92, allocations: 3.165 MB / 4.841 GB, free: 18.77 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/13.93, allocations: 2.786 MB / 4.843 GB, free: 18.67 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/13.95, allocations: 16.2 MB / 4.859 GB, free: 6.895 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01926/13.97, allocations: 0.8848 MB / 4.86 GB, free: 6.766 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004838/13.98, allocations: 0.5606 MB / 4.861 GB, free: 6.664 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/13.98, allocations: 3.938 kB / 4.861 GB, free: 6.664 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05795/14.03, allocations: 19.21 MB / 4.879 GB, free: 0.5469 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005591/14.03, allocations: 96.44 kB / 4.879 GB, free: 0.5469 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/14.04, allocations: 3.203 MB / 4.883 GB, free: 15.88 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/14.06, allocations: 2.788 MB / 4.885 GB, free: 15.61 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/14.08, allocations: 16.2 MB / 4.901 GB, free: 0.6094 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01662/14.1, allocations: 0.8388 MB / 4.902 GB, free: 28 kB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007523/14.11, allocations: 0.7825 MB / 4.903 GB, free: 0 / 1.276 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 1.038/15.14, allocations: 433.5 kB / 4.903 GB, free: 153.8 MB / 1.276 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03966/15.18, allocations: 12.03 MB / 4.915 GB, free: 153.6 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005955/15.19, allocations: 1.087 MB / 4.916 GB, free: 153.5 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03819/15.23, allocations: 13.25 MB / 4.929 GB, free: 153.1 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001558/15.23, allocations: 77.5 kB / 4.929 GB, free: 153.1 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.699e-05/15.23, allocations: 11.06 kB / 4.929 GB, free: 153.1 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02717/15.25, allocations: 11.19 MB / 4.94 GB, free: 152.7 MB / 1.276 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.08396/15.34, allocations: 27.41 MB / 4.967 GB, free: 151.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.722e-05/15.34, allocations: 3.125 kB / 4.967 GB, free: 151.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007697/15.35, allocations: 1.258 MB / 4.968 GB, free: 151.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/15.36, allocations: 2.927 MB / 4.971 GB, free: 151.8 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002807/15.36, allocations: 94.89 kB / 4.971 GB, free: 151.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/15.37, allocations: 10.33 MB / 4.981 GB, free: 148.6 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/15.37, allocations: 4.656 kB / 4.981 GB, free: 148.6 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04368/15.42, allocations: 20.26 MB / 5.001 GB, free: 146.5 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01262/15.43, allocations: 2.908 MB / 5.003 GB, free: 145.9 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006416/15.44, allocations: 35.16 kB / 5.004 GB, free: 145.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01412/15.45, allocations: 0.6317 MB / 5.004 GB, free: 145.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002788/15.45, allocations: 458.9 kB / 5.005 GB, free: 145.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002374/15.46, allocations: 320.5 kB / 5.005 GB, free: 145.8 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02158/15.48, allocations: 7.892 MB / 5.013 GB, free: 145.5 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.112e-06/15.48, allocations: 0 / 5.013 GB, free: 145.5 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05401/15.53, allocations: 8.184 MB / 5.021 GB, free: 144.9 MB / 1.276 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.05539/15.59, allocations: 22.58 MB / 5.043 GB, free: 142 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.05115/15.64, allocations: 22.97 MB / 5.065 GB, free: 141.1 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.563e-05/15.64, allocations: 7.219 kB / 5.065 GB, free: 141.1 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01243/15.65, allocations: 5.55 MB / 5.07 GB, free: 140.9 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03448/15.68, allocations: 5.39 MB / 5.076 GB, free: 140.8 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09835/15.78, allocations: 32.25 MB / 5.107 GB, free: 135.8 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01703/15.8, allocations: 10.29 MB / 5.117 GB, free: 134.8 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03688/15.84, allocations: 9.199 MB / 5.126 GB, free: 134.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01624/15.85, allocations: 6.144 MB / 5.132 GB, free: 134.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.232e-06/15.85, allocations: 3.828 kB / 5.132 GB, free: 134.7 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.518/17.37, allocations: 366.2 MB / 5.49 GB, free: 149 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/17.37, allocations: 181.7 kB / 5.49 GB, free: 148.8 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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_9_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_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_9_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_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1