Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8081/0.8081, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 180.9 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 100 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 270.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.848e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4048, allocations: 82.77 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8619/1.267, allocations: 396.9 MB / 1.145 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.267, allocations: 87.27 kB / 1.145 GB, free: 0.6211 MB / 0.6823 GB Error: Variable tanSte.m_flow_nominal in package BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 11.44/12.71, allocations: 2.839 GB / 3.984 GB, free: 43.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.134e-06/12.71, allocations: 0 / 3.984 GB, free: 43.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.003411/12.71, allocations: 406.6 kB / 3.984 GB, free: 43.89 MB / 0.7761 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.06109/12.77, allocations: 13.77 MB / 3.998 GB, free: 39.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/12.77, allocations: 14.89 kB / 3.998 GB, free: 39.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/12.79, allocations: 1.91 MB / 4 GB, free: 38.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05361/12.84, allocations: 18.76 MB / 4.018 GB, free: 36.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/12.85, allocations: 419 kB / 4.019 GB, free: 36.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007762/12.85, allocations: 0.7908 MB / 4.019 GB, free: 36.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04354/12.9, allocations: 15.83 MB / 4.035 GB, free: 36.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0616/12.96, allocations: 16.86 MB / 4.051 GB, free: 34.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001442/12.96, allocations: 42.36 kB / 4.051 GB, free: 34.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007534/12.97, allocations: 23.69 kB / 4.051 GB, free: 34.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007295/12.97, allocations: 0.4981 MB / 4.052 GB, free: 34.66 MB / 0.7761 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.1586/13.13, allocations: 80.69 MB / 4.131 GB, free: 18.44 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02151/13.15, allocations: 12.29 MB / 4.143 GB, free: 18.27 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/13.16, allocations: 6.879 MB / 4.149 GB, free: 18.17 MB / 0.7917 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.06576/13.23, allocations: 26.93 MB / 4.176 GB, free: 27.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01128/13.24, allocations: 5.622 MB / 4.181 GB, free: 26.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008876/13.25, allocations: 0.6261 MB / 4.182 GB, free: 26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=772): time 6.707e-05/13.25, allocations: 4 kB / 4.182 GB, free: 25.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=772): time 0.03231/13.28, allocations: 12.04 MB / 4.193 GB, free: 21.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/13.28, allocations: 164.8 kB / 4.194 GB, free: 21.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02658/13.31, allocations: 10.43 MB / 4.204 GB, free: 17.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.003091/13.31, allocations: 37.14 kB / 4.204 GB, free: 17.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01168/13.32, allocations: 6.77 MB / 4.21 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.006046/13.33, allocations: 2.619 MB / 4.213 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002679/13.33, allocations: 7.969 kB / 4.213 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00131/13.33, allocations: 0.8254 MB / 4.214 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01253/13.34, allocations: 6.197 MB / 4.22 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01723/13.36, allocations: 9.54 MB / 4.229 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03133/13.39, allocations: 10.82 MB / 4.24 GB, free: 15.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001626/13.39, allocations: 28.75 kB / 4.24 GB, free: 15.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.05798/13.45, allocations: 20.38 MB / 4.26 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6616/14.11, allocations: 52.56 MB / 4.311 GB, free: 29.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005733/14.11, allocations: 98.44 kB / 4.311 GB, free: 29.69 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01233/14.13, allocations: 3.175 MB / 4.314 GB, free: 29.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01313/14.14, allocations: 2.786 MB / 4.317 GB, free: 29.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/14.16, allocations: 16.2 MB / 4.333 GB, free: 36.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/14.17, allocations: 0.8831 MB / 4.334 GB, free: 36.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004381/14.18, allocations: 0.5639 MB / 4.334 GB, free: 36.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/14.18, allocations: 5.062 kB / 4.334 GB, free: 36.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05079/14.23, allocations: 19.21 MB / 4.353 GB, free: 36.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004263/14.23, allocations: 96.31 kB / 4.353 GB, free: 36.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009094/14.24, allocations: 3.189 MB / 4.356 GB, free: 36.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/14.25, allocations: 2.786 MB / 4.359 GB, free: 36.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/14.27, allocations: 16.21 MB / 4.375 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/14.29, allocations: 0.8412 MB / 4.376 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/14.29, allocations: 0.5609 MB / 4.376 GB, free: 27.75 MB / 0.8386 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.005071/14.3, allocations: 443.1 kB / 4.376 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02897/14.32, allocations: 12.01 MB / 4.388 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005146/14.33, allocations: 1.076 MB / 4.389 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03493/14.36, allocations: 13.23 MB / 4.402 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/14.36, allocations: 80.92 kB / 4.402 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-05/14.36, allocations: 8 kB / 4.402 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02643/14.39, allocations: 11.18 MB / 4.413 GB, free: 26.11 MB / 0.8386 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.07766/14.47, allocations: 27.36 MB / 4.44 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-05/14.47, allocations: 5.844 kB / 4.44 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007335/14.48, allocations: 1.258 MB / 4.441 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009826/14.49, allocations: 2.921 MB / 4.444 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002354/14.49, allocations: 94.69 kB / 4.444 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/14.5, allocations: 10.33 MB / 4.454 GB, free: 21.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/14.5, allocations: 5.094 kB / 4.454 GB, free: 21.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04512/14.55, allocations: 20.23 MB / 4.474 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01239/14.56, allocations: 2.888 MB / 4.477 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00813/14.57, allocations: 38.2 kB / 4.477 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01644/14.59, allocations: 0.6316 MB / 4.477 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002946/14.59, allocations: 452.8 kB / 4.478 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003394/14.59, allocations: 320.1 kB / 4.478 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.02038/14.61, allocations: 7.765 MB / 4.486 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.283e-06/14.61, allocations: 0 / 4.486 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.04949/14.66, allocations: 8.185 MB / 4.494 GB, free: 18.28 MB / 0.8386 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.05161/14.71, allocations: 22.58 MB / 4.516 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0497/14.76, allocations: 22.96 MB / 4.538 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.627e-05/14.76, allocations: 4.781 kB / 4.538 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/14.78, allocations: 5.578 MB / 4.544 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03403/14.81, allocations: 5.406 MB / 4.549 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7283/15.54, allocations: 32.05 MB / 4.58 GB, free: 96.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02559/15.56, allocations: 10.22 MB / 4.59 GB, free: 95.29 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.04063/15.61, allocations: 9.074 MB / 4.599 GB, free: 95.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01537/15.62, allocations: 6.078 MB / 4.605 GB, free: 95.13 MB / 0.8542 GB Notification: Performance of SimCode: time 1.573e-06/15.62, allocations: 0 / 4.605 GB, free: 95.13 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.214/16.83, allocations: 364.3 MB / 4.961 GB, free: 91.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/16.83, allocations: 189 kB / 4.961 GB, free: 91.3 MB / 0.8855 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_records.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_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; ^ BuildingSystems_BuildingSystems_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: *** [: BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1