Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.183/4.183, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2792/4.462, allocations: 94.99 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/4.994, allocations: 92.68 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/6.072, allocations: 418.9 MB / 0.9937 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/6.072, allocations: 91.12 kB / 0.9938 GB, free: 14.28 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 6.336/12.41, allocations: 1.206 GB / 2.2 GB, free: 64.41 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/12.41, allocations: 16 kB / 2.2 GB, free: 64.39 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/12.42, allocations: 1.11 MB / 2.201 GB, free: 63.34 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/12.43, allocations: 3.285 MB / 2.204 GB, free: 60.05 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/12.43, allocations: 60 kB / 2.204 GB, free: 60 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006507/12.44, allocations: 116 kB / 2.204 GB, free: 59.88 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006114/12.44, allocations: 1.523 MB / 2.206 GB, free: 58.36 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00611/12.45, allocations: 1.921 MB / 2.208 GB, free: 56.32 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.109e-05/12.45, allocations: 7.938 kB / 2.208 GB, free: 56.31 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/12.45, allocations: 7.938 kB / 2.208 GB, free: 56.3 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.711e-05/12.45, allocations: 52 kB / 2.208 GB, free: 56.25 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0272/12.48, allocations: 12.5 MB / 2.22 GB, free: 43.01 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/12.49, allocations: 1.44 MB / 2.221 GB, free: 41.55 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/12.49, allocations: 0.6584 MB / 2.222 GB, free: 40.89 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/12.49, allocations: 1.024 MB / 2.223 GB, free: 39.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/12.49, allocations: 43.56 kB / 2.223 GB, free: 39.61 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=109): time 4.658e-06/12.49, allocations: 0 / 2.223 GB, free: 39.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117): time 0.02844/12.52, allocations: 4.727 MB / 2.228 GB, free: 34.81 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/12.52, allocations: 222.6 kB / 2.228 GB, free: 34.55 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/12.52, allocations: 1.462 MB / 2.229 GB, free: 33.06 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004997/12.52, allocations: 25.7 kB / 2.229 GB, free: 33.03 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/12.52, allocations: 0.8108 MB / 2.23 GB, free: 32.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006642/12.53, allocations: 394.1 kB / 2.231 GB, free: 31.81 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/12.53, allocations: 0 / 2.231 GB, free: 31.81 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001313/12.53, allocations: 361.9 kB / 2.231 GB, free: 31.45 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/12.53, allocations: 0.5585 MB / 2.232 GB, free: 30.89 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/12.53, allocations: 1.032 MB / 2.233 GB, free: 29.65 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/12.53, allocations: 0.7518 MB / 2.233 GB, free: 28.89 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/12.53, allocations: 0 / 2.233 GB, free: 28.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.03821/12.57, allocations: 3.475 MB / 2.237 GB, free: 25.41 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001007/12.57, allocations: 4.515 MB / 2.241 GB, free: 20.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.123e-05/12.57, allocations: 16 kB / 2.241 GB, free: 20.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/12.58, allocations: 0.9339 MB / 2.242 GB, free: 19.47 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/12.58, allocations: 359.5 kB / 2.242 GB, free: 19.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008701/12.59, allocations: 3.009 MB / 2.245 GB, free: 16.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007004/12.6, allocations: 391.3 kB / 2.246 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005804/12.6, allocations: 80.5 kB / 2.246 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/12.6, allocations: 4 kB / 2.246 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01513/12.61, allocations: 2.088 MB / 2.248 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/12.61, allocations: 12 kB / 2.248 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00554/12.62, allocations: 0.619 MB / 2.248 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/12.62, allocations: 395.4 kB / 2.249 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/12.63, allocations: 4.18 MB / 2.253 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/12.64, allocations: 291.6 kB / 2.253 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/12.64, allocations: 79.95 kB / 2.253 GB, free: 7.68 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 3 {2 22,1 18,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006363/12.64, allocations: 140.1 kB / 2.253 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/12.64, allocations: 221.3 kB / 2.254 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/12.65, allocations: 2.274 MB / 2.256 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/12.65, allocations: 16 kB / 2.256 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/12.65, allocations: 4 kB / 2.256 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01097/12.66, allocations: 1.957 MB / 2.258 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03299/12.7, allocations: 5.023 MB / 2.263 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/12.7, allocations: 0 / 2.263 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003494/12.7, allocations: 292 kB / 2.263 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/12.7, allocations: 404.4 kB / 2.263 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002842/12.7, allocations: 23.97 kB / 2.263 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/12.72, allocations: 3.416 MB / 2.267 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/12.72, allocations: 11.44 kB / 2.267 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02222/12.74, allocations: 3.332 MB / 2.27 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02582/12.77, allocations: 4.637 MB / 2.274 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/12.77, allocations: 486 kB / 2.275 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008656/12.77, allocations: 8 kB / 2.275 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005919/12.78, allocations: 323.6 kB / 2.275 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/12.78, allocations: 76.8 kB / 2.275 GB, free: 460 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/12.78, allocations: 55.95 kB / 2.275 GB, free: 404 kB / 0.8073 GB Notification: Performance of sort global known variables: time 0.003524/12.78, allocations: 1.099 MB / 2.276 GB, free: 15.28 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01384/12.8, allocations: 1.488 MB / 2.278 GB, free: 13.79 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (hex.valCoo.vol.dynBal.medium.T,hex.valHea.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 18,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003382/12.8, allocations: 1.141 MB / 2.279 GB, free: 12.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01213/12.81, allocations: 2.677 MB / 2.282 GB, free: 10.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/12.81, allocations: 0 / 2.282 GB, free: 10.07 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005097/12.82, allocations: 0.9304 MB / 2.282 GB, free: 9.129 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009406/12.83, allocations: 0.9169 MB / 2.283 GB, free: 8.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04784/12.87, allocations: 5.213 MB / 2.288 GB, free: 3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00366/12.88, allocations: 1.873 MB / 2.29 GB, free: 1.098 MB / 0.823 GB Notification: Performance of SimCode: time 1.603e-06/12.88, allocations: 0 / 2.29 GB, free: 1.098 MB / 0.823 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating/Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmutmp/sources' clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_FMU.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_FMU.c clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.c clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_functions.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_functions.c clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_records.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_records.c clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_01exo.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_01exo.c clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:191:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assuming real for unknown type! */_array tmp0; ^~~~ read /usr/include/unistd.h:363:16: note: 'read' declared here extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur; ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:191:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp0; ^ ; Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:191:45: error: use of undeclared identifier '_array' real /* assuming real for unknown type! */_array tmp0; ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:194:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assuming real for unknown type! */_array(&tmp0, 1, 1.0 - sum_real_array(tmp1)); ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:195:337: error: use of undeclared identifier 'tmp0'; did you mean 'tmp1'? data->localData[0]->realVars[60] /* hex._TColIn._y variable */ = omc_Buildings_Experimental_DistrictHeatingCooling_Plants_LakeWaterHeatExchanger__T$hex_Medium_temperature__phX(threadData, data->localData[0]->realVars[56] /* floSou._ports[1]._p variable */, data->localData[0]->realVars[55] /* floSou._ports[1]._h_outflow variable */, tmp0); ^~~~ tmp1 Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:192:16: note: 'tmp1' declared here base_array_t tmp1; ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:191:3: warning: expression result unused [-Wunused-value] real /* assuming real for unknown type! */_array tmp0; ^~~~ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:1830:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assuming real for unknown type! */_array tmp0; ^~~~ read /usr/include/unistd.h:363:16: note: 'read' declared here extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur; ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:1830:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp0; ^ ; Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:1830:45: error: use of undeclared identifier '_array' real /* assuming real for unknown type! */_array tmp0; ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:1831:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assuming real for unknown type! */_array(&tmp0, 1, 1.0 - data->localData[0]->realVars[33] /* $cse7 variable */); ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:1832:337: error: use of undeclared identifier 'tmp0' data->localData[0]->realVars[60] /* hex._TColIn._y variable */ = omc_Buildings_Experimental_DistrictHeatingCooling_Plants_LakeWaterHeatExchanger__T$hex_Medium_temperature__phX(threadData, data->localData[0]->realVars[56] /* floSou._ports[1]._p variable */, data->localData[0]->realVars[55] /* floSou._ports[1]._h_outflow variable */, tmp0); ^ Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.c:1830:3: warning: expression result unused [-Wunused-value] real /* assuming real for unknown type! */_array tmp0; ^~~~ 2 warnings and 10 errors generated. : recipe for target 'Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.o' failed make: *** [Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating/Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... -Wl,-Bstatic -llapack -lblas -Wl,-Bdynamic checking for static pthreads... OK (static) checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.def Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.a Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.so Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_FMU.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_functions.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_records.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_01exo.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_02nls.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_03lsy.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_04set.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_05evt.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_06inz.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_07dly.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_08bnd.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_09alg.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_10asr.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_11mix.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_12jac.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_13opt.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_14lnz.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_15syn.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_16dae.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_17inl.o Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_init_fmu.o