Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.727/0.727, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 172.9 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 399.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009246/0.0009244, allocations: 90.41 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.06e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.278, allocations: 388.6 MB / 1.001 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.279, allocations: 98.94 kB / 1.001 GB, free: 132.1 MB / 0.6355 GB Error: Variable tanSte.m_flow_nominal in package BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 10.11/11.39, allocations: 2.69 GB / 3.691 GB, free: 50.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/11.39, allocations: 0 / 3.691 GB, free: 50.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.00274/11.39, allocations: 405.1 kB / 3.691 GB, free: 49.91 MB / 0.7292 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.0499/11.44, allocations: 13.68 MB / 3.705 GB, free: 36.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/11.44, allocations: 12.03 kB / 3.705 GB, free: 36.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/11.46, allocations: 1.897 MB / 3.706 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05184/11.51, allocations: 21.33 MB / 3.727 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008081/11.51, allocations: 420.3 kB / 3.728 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006186/11.51, allocations: 0.7851 MB / 3.728 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6514/12.17, allocations: 15.6 MB / 3.744 GB, free: 55.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06303/12.23, allocations: 16.49 MB / 3.76 GB, free: 54.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000916/12.23, allocations: 43.88 kB / 3.76 GB, free: 54.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004953/12.23, allocations: 18.19 kB / 3.76 GB, free: 54.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005515/12.24, allocations: 386 kB / 3.76 GB, free: 54.21 MB / 0.7292 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.1555/12.39, allocations: 80.86 MB / 3.839 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02262/12.41, allocations: 11.97 MB / 3.851 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01239/12.43, allocations: 6.696 MB / 3.857 GB, free: 37.3 MB / 0.7448 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.06963/12.5, allocations: 25.15 MB / 3.882 GB, free: 47.59 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01316/12.51, allocations: 4.879 MB / 3.887 GB, free: 47.43 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01023/12.52, allocations: 0.607 MB / 3.887 GB, free: 47.11 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=756): time 5.791e-05/12.52, allocations: 0 / 3.887 GB, free: 47.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=756): time 0.02966/12.55, allocations: 11.72 MB / 3.899 GB, free: 46.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/12.55, allocations: 139.1 kB / 3.899 GB, free: 46.23 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02151/12.57, allocations: 10.22 MB / 3.909 GB, free: 44.92 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.002919/12.57, allocations: 30.08 kB / 3.909 GB, free: 44.89 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.009857/12.58, allocations: 6.819 MB / 3.915 GB, free: 39.73 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.005046/12.59, allocations: 2.569 MB / 3.918 GB, free: 37.75 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/12.59, allocations: 1.156 kB / 3.918 GB, free: 37.75 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.001214/12.59, allocations: 0.8307 MB / 3.919 GB, free: 37.21 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01155/12.6, allocations: 5.98 MB / 3.925 GB, free: 34.9 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0148/12.62, allocations: 9.456 MB / 3.934 GB, free: 28.35 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02369/12.64, allocations: 10.2 MB / 3.944 GB, free: 25.03 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002018/12.64, allocations: 36.41 kB / 3.944 GB, free: 25.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.04865/12.69, allocations: 19.96 MB / 3.963 GB, free: 18.63 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.02339/12.71, allocations: 55.06 MB / 4.017 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004523/12.71, allocations: 103 kB / 4.017 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008215/12.72, allocations: 2.77 MB / 4.02 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/12.74, allocations: 2.771 MB / 4.023 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6924/13.43, allocations: 16.05 MB / 4.038 GB, free: 127 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01735/13.45, allocations: 0.7629 MB / 4.039 GB, free: 127 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004615/13.45, allocations: 0.569 MB / 4.04 GB, free: 127 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/13.45, allocations: 7.969 kB / 4.04 GB, free: 127 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05824/13.51, allocations: 18.76 MB / 4.058 GB, free: 126.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004809/13.51, allocations: 108.1 kB / 4.058 GB, free: 126.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007373/13.52, allocations: 2.781 MB / 4.061 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01325/13.53, allocations: 2.759 MB / 4.063 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/13.55, allocations: 16.05 MB / 4.079 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0162/13.56, allocations: 0.7249 MB / 4.08 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004067/13.57, allocations: 0.5687 MB / 4.08 GB, free: 117.9 MB / 0.8073 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: 470 * 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 (1452): * Single equations (assignments): 1446 * 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.00658/13.57, allocations: 445.9 kB / 4.081 GB, free: 117.8 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02739/13.6, allocations: 11.66 MB / 4.092 GB, free: 117.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004833/13.61, allocations: 1.054 MB / 4.093 GB, free: 117.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03149/13.64, allocations: 12.77 MB / 4.106 GB, free: 116.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001229/13.64, allocations: 79.58 kB / 4.106 GB, free: 116.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/13.64, allocations: 3.938 kB / 4.106 GB, free: 116.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02603/13.66, allocations: 10.85 MB / 4.116 GB, free: 116.3 MB / 0.8073 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.07383/13.74, allocations: 25.38 MB / 4.141 GB, free: 115.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/13.74, allocations: 0 / 4.141 GB, free: 115.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007104/13.75, allocations: 1.189 MB / 4.142 GB, free: 115.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008218/13.75, allocations: 2.51 MB / 4.145 GB, free: 115.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002256/13.76, allocations: 94.53 kB / 4.145 GB, free: 115.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/13.77, allocations: 10.18 MB / 4.155 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/13.77, allocations: 3.281 kB / 4.155 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03974/13.81, allocations: 18.78 MB / 4.173 GB, free: 111.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01102/13.82, allocations: 2.736 MB / 4.176 GB, free: 110.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005952/13.83, allocations: 29.2 kB / 4.176 GB, free: 110.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0124/13.84, allocations: 0.5542 MB / 4.176 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002653/13.84, allocations: 440.6 kB / 4.177 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002216/13.85, allocations: 255.8 kB / 4.177 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.02038/13.87, allocations: 7.596 MB / 4.184 GB, free: 110.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.213e-06/13.87, allocations: 1.594 kB / 4.184 GB, free: 110.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.05057/13.92, allocations: 8.01 MB / 4.192 GB, free: 109.4 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (589): * Single equations (assignments): 580 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.04965/13.97, allocations: 20.96 MB / 4.213 GB, free: 103.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.04609/14.01, allocations: 22.33 MB / 4.235 GB, free: 90.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/14.01, allocations: 4 kB / 4.235 GB, free: 90.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01058/14.02, allocations: 5.325 MB / 4.24 GB, free: 85.56 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03196/14.06, allocations: 5.319 MB / 4.245 GB, free: 81.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1032/14.16, allocations: 31.72 MB / 4.276 GB, free: 55.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02091/14.18, allocations: 10.18 MB / 4.286 GB, free: 47.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.04035/14.22, allocations: 9.088 MB / 4.295 GB, free: 42.22 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01702/14.24, allocations: 6.038 MB / 4.301 GB, free: 36.62 MB / 0.8073 GB Notification: Performance of SimCode: time 1.423e-06/14.24, allocations: 4 kB / 4.301 GB, free: 36.61 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.894/16.13, allocations: 356 MB / 4.648 GB, free: 99.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/16.13, allocations: 188.4 kB / 4.649 GB, free: 98.89 MB / 0.8386 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2481:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2728:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[775] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 2 errors generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1