Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.459/2.459, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001396/0.001395, allocations: 192.1 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.3 MB / 0.5662 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 92.34 kB / 0.6704 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.915e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.873/2.071, allocations: 417.7 MB / 1.292 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/2.072, allocations: 89.73 kB / 1.292 GB, free: 262.1 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 17/19.08, allocations: 3.079 GB / 4.372 GB, free: 71.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/19.08, allocations: 1.844 kB / 4.372 GB, free: 71.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.004562/19.08, allocations: 482.3 kB / 4.372 GB, free: 71.26 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.08244/19.16, allocations: 15.89 MB / 4.387 GB, free: 65.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/19.16, allocations: 9.906 kB / 4.388 GB, free: 65.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01956/19.18, allocations: 2.228 MB / 4.39 GB, free: 64.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08319/19.27, allocations: 21.45 MB / 4.411 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/19.27, allocations: 0.4902 MB / 4.411 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008842/19.28, allocations: 0.9313 MB / 4.412 GB, free: 62.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06349/19.34, allocations: 18.59 MB / 4.43 GB, free: 62.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0813/19.42, allocations: 19.92 MB / 4.45 GB, free: 60.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001498/19.42, allocations: 67.53 kB / 4.45 GB, free: 60.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007804/19.43, allocations: 26 kB / 4.45 GB, free: 60.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006359/19.43, allocations: 462.6 kB / 4.45 GB, free: 60.71 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.2344/19.67, allocations: 92.18 MB / 4.54 GB, free: 40.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04328/19.71, allocations: 14.41 MB / 4.554 GB, free: 40.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02167/19.73, allocations: 8.999 MB / 4.563 GB, free: 40.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09856/19.83, allocations: 28.79 MB / 4.591 GB, free: 34.27 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/19.83, allocations: 146.6 kB / 4.591 GB, free: 34.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01223/19.84, allocations: 0.6933 MB / 4.592 GB, free: 33.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=893): time 7.417e-05/19.84, allocations: 0 / 4.592 GB, free: 33.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=893): time 0.04906/19.89, allocations: 13.29 MB / 4.605 GB, free: 32.79 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/19.89, allocations: 142.2 kB / 4.605 GB, free: 32.72 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03482/19.93, allocations: 11.86 MB / 4.617 GB, free: 28.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.003205/19.93, allocations: 32.2 kB / 4.617 GB, free: 28.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01102/19.94, allocations: 7.924 MB / 4.624 GB, free: 22.33 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00702/19.95, allocations: 3.028 MB / 4.627 GB, free: 19.97 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004809/19.95, allocations: 0 / 4.627 GB, free: 19.97 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.002786/19.95, allocations: 0.8983 MB / 4.628 GB, free: 19.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02114/19.98, allocations: 6.962 MB / 4.635 GB, free: 16.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02362/20, allocations: 10.84 MB / 4.646 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03798/20.04, allocations: 11.22 MB / 4.657 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002613/20.04, allocations: 32.75 kB / 4.657 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1847) (initialization): time 0.0827/20.12, allocations: 21.82 MB / 4.678 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.8827/21, allocations: 65.97 MB / 4.742 GB, free: 99.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006454/21, allocations: 120.3 kB / 4.742 GB, free: 99.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/21.01, allocations: 0.829 MB / 4.743 GB, free: 99.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03013/21.04, allocations: 3.435 MB / 4.747 GB, free: 99.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/21.05, allocations: 13.33 MB / 4.76 GB, free: 90.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02809/21.08, allocations: 1.002 MB / 4.761 GB, free: 90.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005319/21.09, allocations: 0.6308 MB / 4.761 GB, free: 90.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/21.09, allocations: 5.688 kB / 4.761 GB, free: 90.73 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07656/21.17, allocations: 20.19 MB / 4.781 GB, free: 90.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005814/21.17, allocations: 119.1 kB / 4.781 GB, free: 90.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/21.17, allocations: 0.8223 MB / 4.782 GB, free: 90.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02801/21.2, allocations: 3.434 MB / 4.785 GB, free: 90.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/21.22, allocations: 14.33 MB / 4.799 GB, free: 80.81 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02545/21.24, allocations: 0.9543 MB / 4.8 GB, free: 80.81 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005143/21.25, allocations: 0.6297 MB / 4.801 GB, free: 80.81 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.008366/21.26, allocations: 0.4956 MB / 4.801 GB, free: 80.7 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04939/21.3, allocations: 13.24 MB / 4.814 GB, free: 80.45 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008138/21.31, allocations: 1.225 MB / 4.815 GB, free: 79.99 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05525/21.37, allocations: 14.68 MB / 4.83 GB, free: 79.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001678/21.37, allocations: 91.73 kB / 4.83 GB, free: 79.53 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.884e-05/21.37, allocations: 7.281 kB / 4.83 GB, free: 79.53 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04078/21.41, allocations: 12.57 MB / 4.842 GB, free: 78.85 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.1092/21.52, allocations: 31.05 MB / 4.872 GB, free: 77.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.306e-05/21.52, allocations: 7.453 kB / 4.872 GB, free: 77.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01757/21.54, allocations: 1.795 MB / 4.874 GB, free: 77.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002673/21.54, allocations: 0.6517 MB / 4.875 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002845/21.54, allocations: 123.6 kB / 4.875 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/21.55, allocations: 7.572 MB / 4.882 GB, free: 74.74 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/21.56, allocations: 0 / 4.882 GB, free: 74.74 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06597/21.62, allocations: 22.87 MB / 4.905 GB, free: 72.76 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01633/21.64, allocations: 3.282 MB / 4.908 GB, free: 72.01 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007585/21.65, allocations: 43.02 kB / 4.908 GB, free: 72.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02062/21.67, allocations: 0.7183 MB / 4.909 GB, free: 71.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003076/21.67, allocations: 0.516 MB / 4.909 GB, free: 71.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003273/21.67, allocations: 341.4 kB / 4.909 GB, free: 71.97 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0257/21.7, allocations: 8.851 MB / 4.918 GB, free: 71.65 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.02e-07/21.7, allocations: 4.219 kB / 4.918 GB, free: 71.65 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.07305/21.77, allocations: 9.689 MB / 4.928 GB, free: 70.88 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.07464/21.85, allocations: 25.08 MB / 4.952 GB, free: 68.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.06757/21.91, allocations: 25.96 MB / 4.977 GB, free: 67.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-05/21.91, allocations: 7.312 kB / 4.977 GB, free: 67.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/21.93, allocations: 6.452 MB / 4.984 GB, free: 65.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05375/21.98, allocations: 6.272 MB / 4.99 GB, free: 64.26 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1362/22.12, allocations: 39.11 MB / 5.028 GB, free: 35.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02863/22.15, allocations: 11.83 MB / 5.04 GB, free: 27.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.068/22.22, allocations: 11.85 MB / 5.051 GB, free: 19.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02293/22.24, allocations: 7.319 MB / 5.058 GB, free: 12.93 MB / 1.01 GB Notification: Performance of SimCode: time 1.694e-06/22.24, allocations: 0 / 5.058 GB, free: 12.93 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.747/23.99, allocations: 390.9 MB / 5.44 GB, free: 4.242 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/23.99, allocations: 182.6 kB / 5.44 GB, free: 4.047 MB / 1.057 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c In file included from Buildings_7_0_0_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_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c:7: In file included from ./Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c:1: In file included from ./Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.c In file included from Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c:2: In file included from ./Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c:2: In file included from ./Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c:2: In file included from ./Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c:2: In file included from ./Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c:2: In file included from ./Buildings_7_0_0_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_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_7_0_0_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. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o] Error 1