Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.089e-05, allocations: 0.9844 kB / 439.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1451, allocations: 78.99 MB / 0.5065 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6528/0.7981, allocations: 404.5 MB / 0.9015 GB, free: 227.2 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.7986, allocations: 96.61 kB / 0.9016 GB, free: 227.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.099/4.897, allocations: 0.9945 GB / 1.896 GB, free: 50.06 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.000541/4.898, allocations: 71.73 kB / 1.896 GB, free: 50.06 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 461 * Number of variables: 461 Notification: Performance of Generate backend data structure: time 0.01165/4.91, allocations: 2.678 MB / 1.899 GB, free: 49.3 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/4.91, allocations: 10.16 kB / 1.899 GB, free: 49.3 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/4.923, allocations: 1.103 MB / 1.9 GB, free: 49.16 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/4.94, allocations: 2.974 MB / 1.903 GB, free: 48.61 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/4.94, allocations: 60.02 kB / 1.903 GB, free: 48.61 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/4.941, allocations: 115.8 kB / 1.903 GB, free: 48.61 MB / 0.6857 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004453/4.946, allocations: 0.6294 MB / 1.904 GB, free: 48.6 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005837/4.952, allocations: 1.218 MB / 1.905 GB, free: 48.14 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.874e-05/4.952, allocations: 6.844 kB / 1.905 GB, free: 48.14 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/4.953, allocations: 3.562 kB / 1.905 GB, free: 48.14 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/4.953, allocations: 57.59 kB / 1.905 GB, free: 48.14 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/4.972, allocations: 13.02 MB / 1.918 GB, free: 41.32 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006077/4.978, allocations: 1.034 MB / 1.919 GB, free: 41.29 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/4.979, allocations: 175.2 kB / 1.919 GB, free: 41.27 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000967/4.98, allocations: 1.027 MB / 1.92 GB, free: 40.14 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/4.98, allocations: 60.11 kB / 1.92 GB, free: 40.1 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=103): time 4.819e-06/4.98, allocations: 2.625 kB / 1.92 GB, free: 40.1 MB / 0.6857 GB Notification: Performance of matching and sorting (n=111): time 0.01414/4.994, allocations: 2.8 MB / 1.922 GB, free: 39.35 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.003349/4.998, allocations: 0.6325 MB / 1.923 GB, free: 39.3 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/4.998, allocations: 15.41 kB / 1.923 GB, free: 39.3 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/4.999, allocations: 0.9441 MB / 1.924 GB, free: 38.99 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/4.999, allocations: 25.7 kB / 1.924 GB, free: 38.96 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/5, allocations: 0.6937 MB / 1.925 GB, free: 38.61 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/5, allocations: 225.3 kB / 1.925 GB, free: 38.49 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/5, allocations: 0 / 1.925 GB, free: 38.49 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001061/5.001, allocations: 361.7 kB / 1.925 GB, free: 38.18 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/5.001, allocations: 215.7 kB / 1.926 GB, free: 38.18 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/5.002, allocations: 0.4911 MB / 1.926 GB, free: 37.84 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/5.003, allocations: 373.7 kB / 1.926 GB, free: 37.82 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.308e-06/5.003, allocations: 3.844 kB / 1.926 GB, free: 37.82 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.01694/5.02, allocations: 6.096 MB / 1.932 GB, free: 33.75 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/5.021, allocations: 10.62 kB / 1.932 GB, free: 33.75 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/5.025, allocations: 0.8801 MB / 1.933 GB, free: 33.73 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/5.029, allocations: 2.417 MB / 1.936 GB, free: 32.33 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/5.032, allocations: 359.7 kB / 1.936 GB, free: 32.33 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/5.036, allocations: 383.1 kB / 1.936 GB, free: 32.32 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-06/5.036, allocations: 0 / 1.936 GB, free: 32.32 MB / 0.6857 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007262/5.044, allocations: 1.258 MB / 1.937 GB, free: 32.25 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/5.044, allocations: 15.19 kB / 1.937 GB, free: 32.24 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/5.048, allocations: 0.5838 MB / 1.938 GB, free: 32.21 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005033/5.053, allocations: 3.761 MB / 1.942 GB, free: 29.2 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/5.055, allocations: 384 kB / 1.942 GB, free: 29.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/5.059, allocations: 288.5 kB / 1.942 GB, free: 29.19 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 133 * 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.0006423/5.06, allocations: 150.8 kB / 1.943 GB, free: 29.07 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/5.061, allocations: 195 kB / 1.943 GB, free: 28.98 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009379/5.07, allocations: 1.843 MB / 1.944 GB, free: 28.88 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/5.07, allocations: 13.81 kB / 1.945 GB, free: 28.88 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/5.07, allocations: 0 / 1.945 GB, free: 28.88 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008114/5.078, allocations: 1.743 MB / 1.946 GB, free: 28.39 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/5.092, allocations: 4.126 MB / 1.95 GB, free: 27.71 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/5.092, allocations: 0.75 kB / 1.95 GB, free: 27.71 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/5.094, allocations: 300.7 kB / 1.951 GB, free: 27.71 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/5.095, allocations: 394.4 kB / 1.951 GB, free: 27.69 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/5.096, allocations: 20.42 kB / 1.951 GB, free: 27.69 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007327/5.103, allocations: 2.845 MB / 1.954 GB, free: 25.95 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.219e-06/5.103, allocations: 9.406 kB / 1.954 GB, free: 25.95 MB / 0.6857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008106/5.111, allocations: 2.279 MB / 1.956 GB, free: 25.27 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/5.113, allocations: 478.1 kB / 1.956 GB, free: 25.07 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007078/5.114, allocations: 3.188 kB / 1.956 GB, free: 25.07 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003931/5.118, allocations: 373 kB / 1.957 GB, free: 25.05 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/5.118, allocations: 75.81 kB / 1.957 GB, free: 25.05 MB / 0.6857 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 (106): * Single equations (assignments): 96 * 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.002106/5.12, allocations: 1.139 MB / 1.958 GB, free: 24.73 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.004822/5.125, allocations: 1.706 MB / 1.96 GB, free: 24.48 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 7.892e-06/5.125, allocations: 3.094 kB / 1.96 GB, free: 24.48 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/5.127, allocations: 0.6408 MB / 1.96 GB, free: 24.38 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/5.133, allocations: 0.8413 MB / 1.961 GB, free: 24.37 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/5.16, allocations: 5.105 MB / 1.966 GB, free: 23.41 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/5.163, allocations: 1.883 MB / 1.968 GB, free: 22.59 MB / 0.6857 GB Notification: Performance of SimCode: time 2.375e-06/5.163, allocations: 0 / 1.968 GB, free: 22.59 MB / 0.6857 GB Notification: Performance of Templates: time 0.1797/5.342, allocations: 62.81 MB / 2.029 GB, free: 21.27 MB / 0.6857 GB Error: Error building simulator. Build log: 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_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_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:84:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assumming real for uknown type! */_array tmp1; ^~~~ read /usr/include/unistd.h:363:16: note: 'read' declared here extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur; ^ Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:84:7: error: expected ';' after expression real /* assumming real for uknown type! */_array tmp1; ^ ; Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:84:45: error: use of undeclared identifier '_array' real /* assumming real for uknown type! */_array tmp1; ^ Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:85:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assumming real for uknown type! */_array(&tmp1, 1, 1.0 - data->localData[0]->realVars[33] /* $cse7 variable */); ^ Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:86:325: error: use of undeclared identifier 'tmp1' data->localData[0]->realVars[59] /* hex._TWarIn._y variable */ = omc_Buildings_Experimental_DistrictHeatingCooling_Plants_LakeWaterHeatExchanger__T$hex_Medium_temperature__phX(threadData, data->simulationInfo->realParameter[12] /* bou._p PARAM */, data->localData[0]->realVars[44] /* bou._ports[1]._h_outflow variable */, tmp1); ^ Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:84:3: warning: expression result unused [-Wunused-value] real /* assumming real for uknown type! */_array tmp1; ^~~~ 1 warning and 5 errors generated. : recipe for target 'Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o' failed make: *** [Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o] Error 1