Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 179.7 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009262/0.000926, allocations: 89.39 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.469e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.456/1.655, allocations: 417.9 MB / 1.293 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.655, allocations: 89.89 kB / 1.294 GB, free: 260.5 MB / 0.8698 GB Error: Variable tan_aTop.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Error: Variable tan_bTop.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Notification: Performance of FrontEnd - DAE generated: time 11.78/13.44, allocations: 3.079 GB / 4.373 GB, free: 70.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/13.44, allocations: 2.188 kB / 4.373 GB, free: 70.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.005584/13.44, allocations: 475.7 kB / 4.373 GB, free: 70.75 MB / 0.948 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.07135/13.51, allocations: 15.88 MB / 4.389 GB, free: 65.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/13.51, allocations: 9.281 kB / 4.389 GB, free: 65.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/13.53, allocations: 2.23 MB / 4.391 GB, free: 64.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06289/13.6, allocations: 21.45 MB / 4.412 GB, free: 62.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001302/13.6, allocations: 0.4904 MB / 4.413 GB, free: 62.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009153/13.61, allocations: 0.9319 MB / 4.413 GB, free: 62.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05526/13.66, allocations: 18.59 MB / 4.432 GB, free: 62.31 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08156/13.74, allocations: 19.94 MB / 4.451 GB, free: 60.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001666/13.75, allocations: 55.53 kB / 4.451 GB, free: 60.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008968/13.75, allocations: 24.03 kB / 4.451 GB, free: 60.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007122/13.76, allocations: 469.6 kB / 4.452 GB, free: 60.2 MB / 0.948 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.2008/13.96, allocations: 92.19 MB / 4.542 GB, free: 40.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0295/13.99, allocations: 14.4 MB / 4.556 GB, free: 39.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01754/14, allocations: 9.002 MB / 4.564 GB, free: 39.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08143/14.08, allocations: 28.8 MB / 4.593 GB, free: 33.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005761/14.09, allocations: 150.4 kB / 4.593 GB, free: 33.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01516/14.1, allocations: 0.6823 MB / 4.593 GB, free: 33.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=893): time 8.939e-05/14.1, allocations: 2.625 kB / 4.593 GB, free: 33.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=893): time 0.04109/14.14, allocations: 13.29 MB / 4.606 GB, free: 30.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/14.14, allocations: 145.8 kB / 4.606 GB, free: 30.54 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03064/14.17, allocations: 11.85 MB / 4.618 GB, free: 26.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.003599/14.18, allocations: 33.05 kB / 4.618 GB, free: 26.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01079/14.19, allocations: 7.926 MB / 4.626 GB, free: 20.07 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.006669/14.19, allocations: 3.033 MB / 4.629 GB, free: 17.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002998/14.2, allocations: 0 / 4.629 GB, free: 17.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.001448/14.2, allocations: 0.8959 MB / 4.63 GB, free: 17.14 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0138/14.21, allocations: 6.961 MB / 4.636 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01773/14.23, allocations: 10.84 MB / 4.647 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02482/14.25, allocations: 11.22 MB / 4.658 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001849/14.26, allocations: 32.91 kB / 4.658 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1847) (initialization): time 0.05541/14.31, allocations: 21.58 MB / 4.679 GB, free: 9.516 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.863/15.17, allocations: 65.97 MB / 4.744 GB, free: 93.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006537/15.17, allocations: 119.7 kB / 4.744 GB, free: 93.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002446/15.18, allocations: 0.83 MB / 4.744 GB, free: 93.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01865/15.2, allocations: 3.429 MB / 4.748 GB, free: 93.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/15.21, allocations: 13.34 MB / 4.761 GB, free: 84.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0216/15.23, allocations: 1.002 MB / 4.762 GB, free: 84.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005243/15.23, allocations: 0.6356 MB / 4.762 GB, free: 84.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/15.23, allocations: 4.656 kB / 4.762 GB, free: 84.3 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06048/15.29, allocations: 20.19 MB / 4.782 GB, free: 83.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004644/15.29, allocations: 118.1 kB / 4.782 GB, free: 83.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/15.3, allocations: 0.8205 MB / 4.783 GB, free: 83.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/15.31, allocations: 3.433 MB / 4.786 GB, free: 83.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/15.33, allocations: 14.33 MB / 4.8 GB, free: 74.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02062/15.35, allocations: 0.9519 MB / 4.801 GB, free: 74.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005143/15.35, allocations: 0.6343 MB / 4.802 GB, free: 74.39 MB / 1.01 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: 537 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1795): * Single equations (assignments): 1790 * 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.008069/15.36, allocations: 0.4908 MB / 4.802 GB, free: 74.29 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03215/15.39, allocations: 13.24 MB / 4.815 GB, free: 74.03 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008588/15.4, allocations: 1.227 MB / 4.817 GB, free: 73.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03766/15.44, allocations: 14.69 MB / 4.831 GB, free: 73.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-05/15.44, allocations: 92.41 kB / 4.831 GB, free: 73.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/15.44, allocations: 7.969 kB / 4.831 GB, free: 73.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02866/15.47, allocations: 12.58 MB / 4.843 GB, free: 72.43 MB / 1.01 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.09712/15.56, allocations: 31.06 MB / 4.874 GB, free: 71.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-05/15.56, allocations: 1.156 kB / 4.874 GB, free: 71.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01033/15.57, allocations: 1.793 MB / 4.875 GB, free: 71.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/15.58, allocations: 0.6519 MB / 4.876 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002901/15.58, allocations: 121.5 kB / 4.876 GB, free: 71.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008897/15.59, allocations: 7.578 MB / 4.884 GB, free: 68.32 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/15.59, allocations: 4.719 kB / 4.884 GB, free: 68.32 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05245/15.64, allocations: 22.86 MB / 4.906 GB, free: 66.34 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01544/15.66, allocations: 3.273 MB / 4.909 GB, free: 65.59 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009136/15.67, allocations: 51.78 kB / 4.909 GB, free: 65.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01745/15.68, allocations: 0.7144 MB / 4.91 GB, free: 65.57 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003452/15.69, allocations: 0.5167 MB / 4.91 GB, free: 65.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003412/15.69, allocations: 342 kB / 4.911 GB, free: 65.55 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02497/15.71, allocations: 8.852 MB / 4.919 GB, free: 65.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.31e-07/15.71, allocations: 0.8438 kB / 4.919 GB, free: 65.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.07275/15.79, allocations: 9.692 MB / 4.929 GB, free: 64.46 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (862): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0558/15.84, allocations: 25.09 MB / 4.953 GB, free: 61.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.05541/15.9, allocations: 25.96 MB / 4.979 GB, free: 60.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.44e-05/15.9, allocations: 4.344 kB / 4.979 GB, free: 60.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01325/15.91, allocations: 6.447 MB / 4.985 GB, free: 58.88 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04086/15.95, allocations: 6.271 MB / 4.991 GB, free: 57.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.111/16.06, allocations: 39.12 MB / 5.029 GB, free: 29.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02123/16.09, allocations: 11.83 MB / 5.041 GB, free: 20.94 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04895/16.13, allocations: 11.85 MB / 5.052 GB, free: 13.49 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01912/16.15, allocations: 7.325 MB / 5.06 GB, free: 6.684 MB / 1.01 GB Notification: Performance of SimCode: time 1.412e-06/16.15, allocations: 0 / 5.06 GB, free: 6.684 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.535/17.69, allocations: 391.1 MB / 5.441 GB, free: 14.08 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/17.69, allocations: 202.7 kB / 5.442 GB, free: 13.88 MB / 1.073 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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c In file included from Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c:1: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.c In file included from Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_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); ^ Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:3556:46: error: use of undeclared identifier '$Ptan_aTop$PQHex_flow_nominal' data->simulationInfo->realParameter[100] = $Ptan_aTop$PQHex_flow_nominal; ^ Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:3751:46: error: use of undeclared identifier '$Ptan_bTop$PQHex_flow_nominal' data->simulationInfo->realParameter[872] = $Ptan_bTop$PQHex_flow_nominal; ^ 2 warnings and 2 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o] Error 1