Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerLocation.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.HeatExchangerLocation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation",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.7336/0.7336, allocations: 127.4 MB / 134.9 MB, free: 3.746 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.001225/0.001226, allocations: 172.9 kB / 164.7 MB, free: 6.531 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.872/1.872, allocations: 205.2 MB / 399.5 MB, free: 5.863 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.001351/0.001352, allocations: 83.73 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.657e-05, allocations: 0 / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1756, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.379, allocations: 387.4 MB / 0.9999 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.38, allocations: 94 kB / 1 GB, free: 133.1 MB / 0.6355 GB Error: Variable tan_aTop.m_flow_nominal in package BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Error: Variable tan_bTop.m_flow_nominal in package BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Notification: Performance of FrontEnd - DAE generated: time 11.76/13.14, allocations: 3.041 GB / 4.041 GB, free: 38.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/13.14, allocations: 0 / 4.041 GB, free: 38.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003503/13.14, allocations: 471.4 kB / 4.042 GB, free: 38.41 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: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.06588/13.21, allocations: 15.82 MB / 4.057 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/13.21, allocations: 9.469 kB / 4.057 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/13.22, allocations: 2.21 MB / 4.059 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08133/13.31, allocations: 24.31 MB / 4.083 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00136/13.31, allocations: 0.4917 MB / 4.084 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008826/13.32, allocations: 0.9303 MB / 4.085 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05058/13.37, allocations: 18.37 MB / 4.103 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07196/13.44, allocations: 19.72 MB / 4.122 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001473/13.44, allocations: 50.78 kB / 4.122 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007539/13.45, allocations: 28.97 kB / 4.122 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000608/13.45, allocations: 464 kB / 4.122 GB, free: 27.68 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.1828/13.63, allocations: 93.36 MB / 4.213 GB, free: 20.75 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02739/13.66, allocations: 13.91 MB / 4.227 GB, free: 19.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01607/13.67, allocations: 8.791 MB / 4.236 GB, free: 16.61 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07549/13.75, allocations: 27.16 MB / 4.262 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/13.75, allocations: 133 kB / 4.262 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01193/13.76, allocations: 0.6716 MB / 4.263 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=876): time 7.828e-05/13.76, allocations: 0 / 4.263 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of matching and sorting (n=876): time 0.04795/13.81, allocations: 13.55 MB / 4.276 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/13.81, allocations: 142.3 kB / 4.276 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03402/13.84, allocations: 11.57 MB / 4.288 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.003254/13.85, allocations: 33.64 kB / 4.288 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.6757/14.52, allocations: 7.984 MB / 4.295 GB, free: 80.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.006374/14.53, allocations: 2.973 MB / 4.298 GB, free: 79.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002259/14.53, allocations: 0 / 4.298 GB, free: 79.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00144/14.53, allocations: 0.8986 MB / 4.299 GB, free: 78.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01495/14.55, allocations: 6.762 MB / 4.306 GB, free: 78.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02521/14.57, allocations: 10.84 MB / 4.316 GB, free: 73.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02737/14.6, allocations: 11.05 MB / 4.327 GB, free: 73.83 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003239/14.6, allocations: 35.97 kB / 4.327 GB, free: 73.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.06745/14.67, allocations: 21.37 MB / 4.348 GB, free: 72.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.02344/14.69, allocations: 70.18 MB / 4.417 GB, free: 16.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00088/14.69, allocations: 128.4 kB / 4.417 GB, free: 16.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/14.7, allocations: 0.8482 MB / 4.418 GB, free: 16.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01755/14.71, allocations: 3.418 MB / 4.421 GB, free: 16.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/14.73, allocations: 13.4 MB / 4.434 GB, free: 23.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02656/14.75, allocations: 0.8653 MB / 4.435 GB, free: 23.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005446/14.76, allocations: 0.6388 MB / 4.436 GB, free: 23.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/14.76, allocations: 5.281 kB / 4.436 GB, free: 23.79 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0612/14.82, allocations: 19.84 MB / 4.455 GB, free: 23.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007509/14.82, allocations: 130.1 kB / 4.455 GB, free: 23.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/14.82, allocations: 0.794 MB / 4.456 GB, free: 23.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01706/14.84, allocations: 3.416 MB / 4.459 GB, free: 23.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/14.86, allocations: 14.3 MB / 4.473 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02052/14.88, allocations: 0.8153 MB / 4.474 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005205/14.88, allocations: 0.6435 MB / 4.475 GB, free: 13.54 MB / 0.8073 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tan_aTop.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tan_aTop.m_flow_nominal "Nominal mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tan_bTop.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tan_bTop.m_flow_nominal "Nominal mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 573 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1793): * Single equations (assignments): 1788 * Array equations: 0 * Algorithm blocks: 0 * 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%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.007314/14.89, allocations: 0.5051 MB / 4.475 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03229/14.92, allocations: 13.03 MB / 4.488 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006208/14.93, allocations: 1.207 MB / 4.489 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0403/14.97, allocations: 14.33 MB / 4.503 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.06e-05/14.97, allocations: 84.78 kB / 4.503 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.876e-05/14.97, allocations: 6.719 kB / 4.503 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03074/15, allocations: 12.32 MB / 4.515 GB, free: 10.44 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.08287/15.08, allocations: 28.72 MB / 4.543 GB, free: 25.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.464e-05/15.08, allocations: 0 / 4.543 GB, free: 25.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009453/15.09, allocations: 1.685 MB / 4.545 GB, free: 25.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/15.09, allocations: 0.6611 MB / 4.545 GB, free: 25.51 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002559/15.1, allocations: 118.9 kB / 4.545 GB, free: 25.51 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/15.11, allocations: 9.148 MB / 4.554 GB, free: 21.47 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/15.11, allocations: 0 / 4.554 GB, free: 21.47 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04635/15.16, allocations: 21.66 MB / 4.576 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01299/15.17, allocations: 3.156 MB / 4.579 GB, free: 14.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007033/15.18, allocations: 43.14 kB / 4.579 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01333/15.19, allocations: 0.6333 MB / 4.579 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002674/15.19, allocations: 0.5044 MB / 4.58 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0024/15.2, allocations: 285.8 kB / 4.58 GB, free: 13.89 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.02074/15.22, allocations: 8.638 MB / 4.588 GB, free: 9.473 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/15.22, allocations: 0 / 4.588 GB, free: 9.473 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.06842/15.28, allocations: 9.575 MB / 4.598 GB, free: 0 / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 48 (tan_aTop.vol[1].dynBal.U,tan_aTop.vol[2].dynBal.U,tan_aTop.vol[3].dynBal.U,tan_aTop.vol[4].dynBal.U,tan_aTop.vol[5].dynBal.U,tan_aTop.vol[6].dynBal.U,tan_aTop.vol[7].dynBal.U,tan_aTop.vol[8].dynBal.U,tan_aTop.vol[9].dynBal.U,tan_aTop.vol[10].dynBal.U,tan_aTop.vol[11].dynBal.U,tan_aTop.vol[12].dynBal.U,tan_aTop.indTanHex.vol[1].dynBal.U,tan_aTop.indTanHex.vol[2].dynBal.U,tan_aTop.indTanHex.vol[3].dynBal.U,tan_aTop.indTanHex.vol[4].dynBal.U,tan_aTop.indTanHex.vol[5].dynBal.U,tan_aTop.indTanHex.vol[6].dynBal.U,tan_aTop.indTanHex.cap[1].T,tan_aTop.indTanHex.cap[2].T,tan_aTop.indTanHex.cap[3].T,tan_aTop.indTanHex.cap[4].T,tan_aTop.indTanHex.cap[5].T,tan_aTop.indTanHex.cap[6].T,tan_bTop.vol[1].dynBal.U,tan_bTop.vol[2].dynBal.U,tan_bTop.vol[3].dynBal.U,tan_bTop.vol[4].dynBal.U,tan_bTop.vol[5].dynBal.U,tan_bTop.vol[6].dynBal.U,tan_bTop.vol[7].dynBal.U,tan_bTop.vol[8].dynBal.U,tan_bTop.vol[9].dynBal.U,tan_bTop.vol[10].dynBal.U,tan_bTop.vol[11].dynBal.U,tan_bTop.vol[12].dynBal.U,tan_bTop.indTanHex.vol[1].dynBal.U,tan_bTop.indTanHex.vol[2].dynBal.U,tan_bTop.indTanHex.vol[3].dynBal.U,tan_bTop.indTanHex.vol[4].dynBal.U,tan_bTop.indTanHex.vol[5].dynBal.U,tan_bTop.indTanHex.vol[6].dynBal.U,tan_bTop.indTanHex.cap[1].T,tan_bTop.indTanHex.cap[2].T,tan_bTop.indTanHex.cap[3].T,tan_bTop.indTanHex.cap[4].T,tan_bTop.indTanHex.cap[5].T,tan_bTop.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (839): * Single equations (assignments): 833 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.7421/16.03, allocations: 23.83 MB / 4.621 GB, free: 116.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.05379/16.08, allocations: 25.34 MB / 4.646 GB, free: 115.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/16.08, allocations: 1.781 kB / 4.646 GB, free: 115.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01337/16.09, allocations: 6.347 MB / 4.652 GB, free: 115.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03821/16.13, allocations: 6.175 MB / 4.658 GB, free: 115.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1177/16.25, allocations: 38.7 MB / 4.696 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02001/16.27, allocations: 11.78 MB / 4.707 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.04245/16.31, allocations: 11.7 MB / 4.719 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02001/16.33, allocations: 7.293 MB / 4.726 GB, free: 106.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.653e-06/16.33, allocations: 0 / 4.726 GB, free: 106.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.343/17.68, allocations: 384.5 MB / 5.101 GB, free: 61.82 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/17.68, allocations: 188.1 kB / 5.102 GB, free: 61.63 MB / 0.823 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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_records.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_records.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_04set.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_04set.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_04set.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_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_HeatExchangerLocation_06inz.c:2925:46: error: use of undeclared identifier '$Ptan_aTop$PQHex_flow_nominal' data->simulationInfo->realParameter[100] = $Ptan_aTop$PQHex_flow_nominal; ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:3120:46: error: use of undeclared identifier '$Ptan_bTop$PQHex_flow_nominal' data->simulationInfo->realParameter[860] = $Ptan_bTop$PQHex_flow_nominal; ^ 2 warnings and 2 errors generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o] Error 1