Notification: Performance of FrontEnd - loaded program: time 8.101e-06/8.312e-06, allocations: 0 / 439.6 MB, free: 14.66 MB / 354.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1683, allocations: 78.97 MB / 0.5065 GB, free: 15.53 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5913/0.7597, allocations: 405.5 MB / 0.9025 GB, free: 112.1 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.7601, allocations: 102.2 kB / 0.9026 GB, free: 112.1 MB / 0.6433 GB Notification: Performance of FrontEnd: time 3.782/4.542, allocations: 0.9948 GB / 1.897 GB, free: 66.84 MB / 0.6903 GB Notification: Performance of Transformations before backend: time 0.0003219/4.542, allocations: 67.25 kB / 1.897 GB, free: 66.83 MB / 0.6903 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.007062/4.55, allocations: 2.676 MB / 1.9 GB, free: 65.71 MB / 0.6903 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/4.55, allocations: 10.72 kB / 1.9 GB, free: 65.71 MB / 0.6903 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007926/4.558, allocations: 1.104 MB / 1.901 GB, free: 65.57 MB / 0.6903 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009182/4.567, allocations: 2.973 MB / 1.904 GB, free: 65.02 MB / 0.6903 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/4.567, allocations: 59.14 kB / 1.904 GB, free: 65.01 MB / 0.6903 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005886/4.568, allocations: 119.4 kB / 1.904 GB, free: 65.01 MB / 0.6903 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002198/4.57, allocations: 0.6358 MB / 1.905 GB, free: 65 MB / 0.6903 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/4.573, allocations: 1.206 MB / 1.906 GB, free: 64.55 MB / 0.6903 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/4.573, allocations: 6.562 kB / 1.906 GB, free: 64.55 MB / 0.6903 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/4.574, allocations: 6.281 kB / 1.906 GB, free: 64.55 MB / 0.6903 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/4.574, allocations: 60.91 kB / 1.906 GB, free: 64.54 MB / 0.6903 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/4.593, allocations: 13.03 MB / 1.919 GB, free: 57.71 MB / 0.6903 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/4.595, allocations: 489.6 kB / 1.919 GB, free: 57.68 MB / 0.6903 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/4.595, allocations: 176.4 kB / 1.919 GB, free: 57.67 MB / 0.6903 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009595/4.596, allocations: 1.033 MB / 1.92 GB, free: 56.54 MB / 0.6903 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/4.597, allocations: 59.61 kB / 1.92 GB, free: 56.49 MB / 0.6903 GB Notification: Performance of pre-optimization done (n=103): time 2.654e-06/4.597, allocations: 0 / 1.92 GB, free: 56.49 MB / 0.6903 GB Notification: Performance of matching and sorting (n=111): time 0.01316/4.61, allocations: 2.801 MB / 1.923 GB, free: 55.74 MB / 0.6903 GB Notification: Performance of remove unused functions: time 0.003197/4.613, allocations: 0.6243 MB / 1.924 GB, free: 55.69 MB / 0.6903 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/4.613, allocations: 14.62 kB / 1.924 GB, free: 55.69 MB / 0.6903 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/4.614, allocations: 0.938 MB / 1.925 GB, free: 55.39 MB / 0.6903 GB Notification: Performance of collectPreVariables (initialization): time 0.0002324/4.615, allocations: 29.05 kB / 1.925 GB, free: 55.36 MB / 0.6903 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/4.615, allocations: 0.6976 MB / 1.925 GB, free: 55 MB / 0.6903 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/4.616, allocations: 225.9 kB / 1.926 GB, free: 54.88 MB / 0.6903 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/4.616, allocations: 3.656 kB / 1.926 GB, free: 54.88 MB / 0.6903 GB Notification: Performance of setup shared object (initialization): time 0.0001032/4.616, allocations: 359.5 kB / 1.926 GB, free: 54.58 MB / 0.6903 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/4.617, allocations: 208.5 kB / 1.926 GB, free: 54.57 MB / 0.6903 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/4.617, allocations: 0.4943 MB / 1.927 GB, free: 54.23 MB / 0.6903 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/4.619, allocations: 371.2 kB / 1.927 GB, free: 54.22 MB / 0.6903 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-06/4.619, allocations: 0 / 1.927 GB, free: 54.22 MB / 0.6903 GB Notification: Performance of prepare postOptimizeDAE: time 0.01594/4.635, allocations: 6.104 MB / 1.933 GB, free: 50.15 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/4.635, allocations: 7.031 kB / 1.933 GB, free: 50.15 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004188/4.639, allocations: 0.8846 MB / 1.934 GB, free: 50.12 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00433/4.644, allocations: 2.42 MB / 1.936 GB, free: 48.72 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/4.646, allocations: 363.4 kB / 1.937 GB, free: 48.72 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/4.651, allocations: 378.6 kB / 1.937 GB, free: 48.7 MB / 0.6903 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-06/4.651, allocations: 3.375 kB / 1.937 GB, free: 48.7 MB / 0.6903 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007292/4.658, allocations: 1.251 MB / 1.938 GB, free: 48.63 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/4.658, allocations: 8.188 kB / 1.938 GB, free: 48.63 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/4.662, allocations: 0.5835 MB / 1.939 GB, free: 48.61 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/4.667, allocations: 3.757 MB / 1.942 GB, free: 45.59 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/4.67, allocations: 392.4 kB / 1.943 GB, free: 45.59 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/4.674, allocations: 293 kB / 1.943 GB, free: 45.57 MB / 0.6903 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.0006476/4.675, allocations: 133.1 kB / 1.943 GB, free: 45.46 MB / 0.6903 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/4.675, allocations: 204.5 kB / 1.943 GB, free: 45.37 MB / 0.6903 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/4.686, allocations: 1.842 MB / 1.945 GB, free: 45.27 MB / 0.6903 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/4.686, allocations: 13.06 kB / 1.945 GB, free: 45.27 MB / 0.6903 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/4.686, allocations: 0 / 1.945 GB, free: 45.27 MB / 0.6903 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009175/4.695, allocations: 1.744 MB / 1.947 GB, free: 44.77 MB / 0.6903 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/4.707, allocations: 3.702 MB / 1.951 GB, free: 44.23 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/4.707, allocations: 3.031 kB / 1.951 GB, free: 44.23 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/4.709, allocations: 297.3 kB / 1.951 GB, free: 44.23 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/4.71, allocations: 390.3 kB / 1.951 GB, free: 44.22 MB / 0.6903 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/4.711, allocations: 18.47 kB / 1.951 GB, free: 44.22 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008359/4.719, allocations: 2.886 MB / 1.954 GB, free: 42.46 MB / 0.6903 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-06/4.719, allocations: 7.094 kB / 1.954 GB, free: 42.46 MB / 0.6903 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006813/4.726, allocations: 1.929 MB / 1.956 GB, free: 41.98 MB / 0.6903 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/4.728, allocations: 479.1 kB / 1.956 GB, free: 41.78 MB / 0.6903 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/4.728, allocations: 7 kB / 1.956 GB, free: 41.78 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004186/4.732, allocations: 362.5 kB / 1.957 GB, free: 41.77 MB / 0.6903 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/4.733, allocations: 73.86 kB / 1.957 GB, free: 41.76 MB / 0.6903 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.002225/4.735, allocations: 1.137 MB / 1.958 GB, free: 41.44 MB / 0.6903 GB Notification: Performance of simCode: created initialization part: time 0.004704/4.74, allocations: 1.697 MB / 1.96 GB, free: 41.18 MB / 0.6903 GB Notification: Performance of simCode: created event and clocks part: time 8.87e-06/4.74, allocations: 3.938 kB / 1.96 GB, free: 41.18 MB / 0.6903 GB Notification: Performance of simCode: created simulation system equations: time 0.002055/4.742, allocations: 0.6343 MB / 1.96 GB, free: 41.08 MB / 0.6903 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005103/4.747, allocations: 0.8414 MB / 1.961 GB, free: 41.07 MB / 0.6903 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/4.775, allocations: 5.303 MB / 1.966 GB, free: 40.18 MB / 0.6903 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/4.777, allocations: 1.862 MB / 1.968 GB, free: 39.39 MB / 0.6903 GB Notification: Performance of SimCode: time 2.095e-06/4.777, allocations: 0 / 1.968 GB, free: 39.39 MB / 0.6903 GB Notification: Performance of Templates: time 0.2646/5.042, allocations: 62.81 MB / 2.029 GB, free: 18.87 MB / 0.6903 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_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_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:372:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assumming real for uknown type! */_array tmp17; ^~~~ 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_Cooling.c:372:7: error: expected ';' after expression real /* assumming real for uknown type! */_array tmp17; ^ ; Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:372:45: error: use of undeclared identifier '_array' real /* assumming real for uknown type! */_array tmp17; ^ Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:373:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assumming real for uknown type! */_array(&tmp17, 1, 1.0 - data->localData[0]->realVars[33] /* $cse7 variable */); ^ Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:374:325: error: use of undeclared identifier 'tmp17' 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 */, tmp17); ^ Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:372:3: warning: expression result unused [-Wunused-value] real /* assumming real for uknown type! */_array tmp17; ^~~~ 1 warning and 5 errors generated. : recipe for target 'Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o' failed make: *** [Buildings_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o] Error 1