[: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 3.186/3.186, allocations: 404 MB / 410.9 MB, free: 2.121 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 5.876e-06/5.917e-06, allocations: 0 / 0.4941 GB, free: 4.43 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3792, allocations: 92.74 MB / 0.5846 GB, free: 1.941 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7421/1.121, allocations: 419.3 MB / 0.9941 GB, free: 11.49 MB / 0.6803 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.122, allocations: 88.64 kB / 0.9942 GB, free: 11.45 MB / 0.6803 GB Notification: Performance of FrontEnd: time 4.624/5.746, allocations: 1.204 GB / 2.198 GB, free: 58.78 MB / 0.7897 GB Notification: Performance of Transformations before backend: time 0.0003277/5.746, allocations: 78.97 kB / 2.198 GB, free: 58.71 MB / 0.7897 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 0.006525/5.753, allocations: 2.746 MB / 2.201 GB, free: 55.93 MB / 0.7897 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/5.753, allocations: 12.03 kB / 2.201 GB, free: 55.92 MB / 0.7897 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007328/5.76, allocations: 1.115 MB / 2.202 GB, free: 54.8 MB / 0.7897 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009582/5.77, allocations: 3.294 MB / 2.205 GB, free: 51.51 MB / 0.7897 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/5.77, allocations: 60 kB / 2.205 GB, free: 51.45 MB / 0.7897 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/5.771, allocations: 118.1 kB / 2.205 GB, free: 51.34 MB / 0.7897 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004351/5.775, allocations: 1.519 MB / 2.207 GB, free: 49.82 MB / 0.7897 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/5.78, allocations: 1.926 MB / 2.208 GB, free: 47.77 MB / 0.7897 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-05/5.78, allocations: 3.938 kB / 2.208 GB, free: 47.76 MB / 0.7897 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/5.78, allocations: 4 kB / 2.208 GB, free: 47.76 MB / 0.7897 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/5.78, allocations: 52 kB / 2.209 GB, free: 47.71 MB / 0.7897 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/5.798, allocations: 12.51 MB / 2.221 GB, free: 34.46 MB / 0.7897 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/5.8, allocations: 0.9015 MB / 2.222 GB, free: 33.55 MB / 0.7897 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/5.802, allocations: 0.6591 MB / 2.222 GB, free: 32.88 MB / 0.7897 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009873/5.803, allocations: 1.018 MB / 2.223 GB, free: 31.65 MB / 0.7897 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/5.803, allocations: 55.56 kB / 2.223 GB, free: 31.59 MB / 0.7897 GB Notification: Performance of pre-optimization done (n=109): time 6.049e-06/5.803, allocations: 0 / 2.223 GB, free: 31.59 MB / 0.7897 GB Notification: Performance of matching and sorting (n=117): time 0.01807/5.821, allocations: 4.726 MB / 2.228 GB, free: 26.8 MB / 0.7897 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/5.821, allocations: 218.6 kB / 2.228 GB, free: 26.53 MB / 0.7897 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/5.824, allocations: 1.454 MB / 2.23 GB, free: 25.05 MB / 0.7897 GB Notification: Performance of collectPreVariables (initialization): time 0.0003451/5.824, allocations: 33.7 kB / 2.23 GB, free: 25.01 MB / 0.7897 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/5.825, allocations: 0.8156 MB / 2.23 GB, free: 24.18 MB / 0.7897 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/5.826, allocations: 394 kB / 2.231 GB, free: 23.79 MB / 0.7897 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/5.826, allocations: 0 / 2.231 GB, free: 23.79 MB / 0.7897 GB Notification: Performance of setup shared object (initialization): time 0.0001216/5.826, allocations: 361.9 kB / 2.231 GB, free: 23.43 MB / 0.7897 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/5.827, allocations: 0.5507 MB / 2.232 GB, free: 22.88 MB / 0.7897 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/5.829, allocations: 1.036 MB / 2.233 GB, free: 21.64 MB / 0.7897 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/5.832, allocations: 0.7479 MB / 2.233 GB, free: 20.89 MB / 0.7897 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/5.832, allocations: 5.203 kB / 2.233 GB, free: 20.88 MB / 0.7897 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.02041/5.852, allocations: 3.479 MB / 2.237 GB, free: 17.39 MB / 0.7897 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008698/5.853, allocations: 4.516 MB / 2.241 GB, free: 12.4 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/5.853, allocations: 12 kB / 2.241 GB, free: 12.39 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/5.857, allocations: 0.9328 MB / 2.242 GB, free: 11.46 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/5.86, allocations: 367.5 kB / 2.242 GB, free: 11.11 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/5.865, allocations: 3.007 MB / 2.245 GB, free: 8.023 MB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/5.869, allocations: 375.5 kB / 2.246 GB, free: 7.656 MB / 0.7897 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004443/5.87, allocations: 87.89 kB / 2.246 GB, free: 7.57 MB / 0.7897 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/5.87, allocations: 4 kB / 2.246 GB, free: 7.566 MB / 0.7897 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008942/5.879, allocations: 2.076 MB / 2.248 GB, free: 5.488 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/5.879, allocations: 12 kB / 2.248 GB, free: 5.477 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/5.882, allocations: 0.6298 MB / 2.248 GB, free: 4.852 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/5.884, allocations: 391.4 kB / 2.249 GB, free: 4.469 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/5.89, allocations: 4.184 MB / 2.253 GB, free: 40 kB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/5.893, allocations: 287.5 kB / 2.253 GB, free: 15.75 MB / 0.8053 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/5.894, allocations: 79.95 kB / 2.253 GB, free: 15.68 MB / 0.8053 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.0005341/5.894, allocations: 143.5 kB / 2.253 GB, free: 15.53 MB / 0.8053 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007149/5.895, allocations: 217.2 kB / 2.254 GB, free: 15.32 MB / 0.8053 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009211/5.904, allocations: 2.215 MB / 2.256 GB, free: 13.09 MB / 0.8053 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-05/5.904, allocations: 15.98 kB / 2.256 GB, free: 13.07 MB / 0.8053 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.198e-06/5.904, allocations: 0 / 2.256 GB, free: 13.07 MB / 0.8053 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007496/5.912, allocations: 1.988 MB / 2.258 GB, free: 11 MB / 0.8053 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02035/5.932, allocations: 4.965 MB / 2.263 GB, free: 5.977 MB / 0.8053 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/5.932, allocations: 0 / 2.263 GB, free: 5.977 MB / 0.8053 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/5.934, allocations: 291.8 kB / 2.263 GB, free: 5.691 MB / 0.8053 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/5.936, allocations: 403.8 kB / 2.263 GB, free: 5.301 MB / 0.8053 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/5.936, allocations: 19.97 kB / 2.263 GB, free: 5.281 MB / 0.8053 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/5.946, allocations: 3.393 MB / 2.267 GB, free: 1.758 MB / 0.8053 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/5.946, allocations: 4 kB / 2.267 GB, free: 1.754 MB / 0.8053 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01613/5.962, allocations: 3.527 MB / 2.27 GB, free: 14.12 MB / 0.8209 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/5.964, allocations: 482 kB / 2.271 GB, free: 13.63 MB / 0.8209 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000589/5.965, allocations: 4 kB / 2.271 GB, free: 13.63 MB / 0.8209 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00354/5.968, allocations: 323.6 kB / 2.271 GB, free: 13.31 MB / 0.8209 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/5.969, allocations: 76.88 kB / 2.271 GB, free: 13.24 MB / 0.8209 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/5.969, allocations: 55.97 kB / 2.271 GB, free: 13.18 MB / 0.8209 GB Notification: Performance of sort global known variables: time 0.002707/5.972, allocations: 1.089 MB / 2.272 GB, free: 12.08 MB / 0.8209 GB Notification: Performance of remove unused functions: time 0.007457/5.979, allocations: 1.144 MB / 2.273 GB, free: 10.93 MB / 0.8209 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (111): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.002384/5.982, allocations: 1.132 MB / 2.274 GB, free: 9.922 MB / 0.8209 GB Notification: Performance of simCode: created initialization part: time 0.008035/5.99, allocations: 2.694 MB / 2.277 GB, free: 7.215 MB / 0.8209 GB Notification: Performance of simCode: created event and clocks part: time 7.191e-06/5.99, allocations: 3.938 kB / 2.277 GB, free: 7.211 MB / 0.8209 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/5.993, allocations: 0.9422 MB / 2.278 GB, free: 6.258 MB / 0.8209 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005831/5.999, allocations: 0.9047 MB / 2.279 GB, free: 5.395 MB / 0.8209 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3418/6.341, allocations: 5.436 MB / 2.284 GB, free: 167.1 MB / 0.8209 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003394/6.344, allocations: 1.869 MB / 2.286 GB, free: 166.4 MB / 0.8209 GB Notification: Performance of SimCode: time 1.169e-06/6.344, allocations: 0 / 2.286 GB, free: 166.4 MB / 0.8209 GB Notification: Performance of Templates: time 0.1388/6.483, allocations: 60.88 MB / 2.345 GB, free: 165.1 MB / 0.8209 GB make -j1 -f Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile clang -fPIC -O0 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling -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_Cooling.o Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:414:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assuming real for unknown type! */_array tmp19; ^~~~ 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_Cooling.c:414:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp19; ^ ; Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:414:45: error: use of undeclared identifier '_array' real /* assuming real for unknown type! */_array tmp19; ^ Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:415:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assuming real for unknown type! */_array(&tmp19, 1, 1.0 - data->localData[0]->realVars[33] /* $cse7 variable */); ^ Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:416:306: error: use of undeclared identifier 'tmp19' data->localData[0]->realVars[61] /* hex._TWarIn._y variable */ = omc_Buildings_Experimental_DistrictHeatingCooling_Plants_LakeWaterHeatExchanger__T$hex_Medium_temperature__phX(threadData, data->simulationInfo->realParameter[12], data->localData[0]->realVars[45] /* bou._ports[1]._h_outflow variable */, tmp19); ^ Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:414:3: warning: expression result unused [-Wunused-value] real /* assuming real for unknown type! */_array tmp19; ^~~~ 1 warning and 5 errors generated. : recipe for target 'Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o' failed make: *** [Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o] Error 1