Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2/2, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 185.3 kB / 487 MB, free: 5.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009802, allocations: 103.6 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5174/0.5184, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.7463, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9258/1.672, allocations: 444.8 MB / 1.64 GB, free: 10.99 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.672, allocations: 90.03 kB / 1.64 GB, free: 10.95 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 3.74/5.413, allocations: 1.309 GB / 2.949 GB, free: 61.02 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/5.413, allocations: 8 kB / 2.949 GB, free: 61.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/5.419, allocations: 1.112 MB / 2.95 GB, free: 59.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007098/5.426, allocations: 2.962 MB / 2.953 GB, free: 56.94 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/5.426, allocations: 60 kB / 2.953 GB, free: 56.88 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/5.426, allocations: 116 kB / 2.953 GB, free: 56.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002729/5.429, allocations: 1.573 MB / 2.955 GB, free: 55.19 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/5.431, allocations: 1.872 MB / 2.957 GB, free: 53.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/5.432, allocations: 4 kB / 2.957 GB, free: 53.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/5.432, allocations: 7.906 kB / 2.957 GB, free: 53.22 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/5.432, allocations: 51.55 kB / 2.957 GB, free: 53.17 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/5.445, allocations: 12.32 MB / 2.969 GB, free: 40.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/5.448, allocations: 1.171 MB / 2.97 GB, free: 39.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/5.449, allocations: 0.6631 MB / 2.97 GB, free: 38.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009048/5.45, allocations: 1.369 MB / 2.972 GB, free: 36.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/5.45, allocations: 43.56 kB / 2.972 GB, free: 36.65 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 2.776e-06/5.45, allocations: 0 / 2.972 GB, free: 36.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=111): time 0.008537/5.459, allocations: 3.506 MB / 2.975 GB, free: 33.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/5.459, allocations: 163.2 kB / 2.975 GB, free: 32.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/5.461, allocations: 1.58 MB / 2.977 GB, free: 31.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/5.461, allocations: 25.7 kB / 2.977 GB, free: 31.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/5.462, allocations: 0.8039 MB / 2.978 GB, free: 30.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/5.462, allocations: 366.5 kB / 2.978 GB, free: 30.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/5.462, allocations: 4 kB / 2.978 GB, free: 30.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/5.462, allocations: 357.9 kB / 2.978 GB, free: 29.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/5.463, allocations: 0.539 MB / 2.979 GB, free: 29.18 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009919/5.464, allocations: 1 MB / 2.98 GB, free: 27.99 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/5.465, allocations: 0.7271 MB / 2.981 GB, free: 27.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/5.465, allocations: 3.906 kB / 2.981 GB, free: 27.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007018/5.472, allocations: 2.423 MB / 2.983 GB, free: 24.83 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006002/5.473, allocations: 3.704 MB / 2.987 GB, free: 20.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/5.473, allocations: 8 kB / 2.987 GB, free: 20.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/5.476, allocations: 0.8761 MB / 2.987 GB, free: 19.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/5.478, allocations: 383.4 kB / 2.988 GB, free: 19.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008352/5.486, allocations: 5.146 MB / 2.993 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/5.49, allocations: 407.5 kB / 2.993 GB, free: 13.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/5.49, allocations: 75.95 kB / 2.993 GB, free: 13.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/5.49, allocations: 4 kB / 2.993 GB, free: 13.71 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006376/5.496, allocations: 2.056 MB / 2.995 GB, free: 11.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/5.496, allocations: 8 kB / 2.995 GB, free: 11.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/5.499, allocations: 0.5977 MB / 2.996 GB, free: 11.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/5.5, allocations: 415.4 kB / 2.996 GB, free: 10.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009429/5.51, allocations: 6.671 MB / 3.003 GB, free: 3.641 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/5.513, allocations: 343.5 kB / 3.003 GB, free: 3.305 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/5.513, allocations: 75.95 kB / 3.003 GB, free: 3.23 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003923/5.514, allocations: 136.6 kB / 3.003 GB, free: 3.09 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/5.514, allocations: 225.2 kB / 3.004 GB, free: 2.867 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/5.518, allocations: 1.919 MB / 3.005 GB, free: 0.9375 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/5.518, allocations: 12 kB / 3.005 GB, free: 0.9258 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/5.518, allocations: 3.984 kB / 3.005 GB, free: 0.9219 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002511/5.52, allocations: 1.682 MB / 3.007 GB, free: 15.16 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/5.528, allocations: 4.008 MB / 3.011 GB, free: 11.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/5.528, allocations: 0 / 3.011 GB, free: 11.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/5.53, allocations: 319.1 kB / 3.011 GB, free: 10.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/5.532, allocations: 411 kB / 3.012 GB, free: 10.39 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/5.532, allocations: 23.97 kB / 3.012 GB, free: 10.37 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/5.533, allocations: 1.55 MB / 3.013 GB, free: 8.766 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/5.533, allocations: 3.906 kB / 3.013 GB, free: 8.762 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004984/5.538, allocations: 2.538 MB / 3.016 GB, free: 6.168 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006983/5.545, allocations: 3.838 MB / 3.019 GB, free: 2.281 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/5.548, allocations: 0.5097 MB / 3.02 GB, free: 1.75 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009257/5.549, allocations: 4 kB / 3.02 GB, free: 1.746 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/5.552, allocations: 331.4 kB / 3.02 GB, free: 1.422 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/5.552, allocations: 68.89 kB / 3.02 GB, free: 1.355 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/5.552, allocations: 51.95 kB / 3.02 GB, free: 1.305 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.003013/5.555, allocations: 1.178 MB / 3.022 GB, free: 116 kB / 1.167 GB Notification: Performance of remove unused functions: time 0.01029/5.566, allocations: 1.601 MB / 3.023 GB, free: 14.51 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002936/5.568, allocations: 1.145 MB / 3.024 GB, free: 13.45 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006299/5.575, allocations: 2.789 MB / 3.027 GB, free: 10.62 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/5.575, allocations: 8.062 kB / 3.027 GB, free: 10.61 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/5.576, allocations: 0.678 MB / 3.028 GB, free: 9.934 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/5.582, allocations: 0.9908 MB / 3.029 GB, free: 8.969 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/5.6, allocations: 4.428 MB / 3.033 GB, free: 4.473 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/5.602, allocations: 1.9 MB / 3.035 GB, free: 2.543 MB / 1.182 GB Notification: Performance of SimCode: time 1.012e-06/5.602, allocations: 0 / 3.035 GB, free: 2.543 MB / 1.182 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling/Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Obsolete_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_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_FMU.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_FMU.c In file included from Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Obsolete_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_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c In file included from Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c:2: In file included from ./Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c:366:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assuming real for unknown type! */_array tmp1451; ^~~~ read /usr/include/unistd.h:360:16: note: 'read' declared here extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur; ^ Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c:366:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp1451; ^ ; Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c:366:3: warning: expression result unused [-Wunused-value] real /* assuming real for unknown type! */_array tmp1451; ^~~~ Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c:366:45: error: use of undeclared identifier '_array' real /* assuming real for unknown type! */_array tmp1451; ^ Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c:367:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assuming real for unknown type! */_array(&tmp1451, 1, 1.0 - data->localData[0]->realVars[17] /* $cse19 variable */); ^ Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.c:368:302: error: use of undeclared identifier 'tmp1451' data->localData[0]->realVars[46] /* hex._TWarIn._y variable */ = omc_Buildings_Obsolete_DistrictHeatingCooling_Plants_LakeWaterHeatExchanger__T$hex_Medium_temperature__phX(threadData, data->simulationInfo->realParameter[12], data->localData[0]->realVars[36] /* bou._ports[1]._h_outflow variable */, tmp1451); ^ 3 warnings and 5 errors generated. make: *** [: Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling/Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.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... /usr/bin/grep checking for egrep... /usr/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... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.def Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.a Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.so Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_FMU.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_functions.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_records.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_01exo.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_02nls.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_03lsy.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_04set.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_05evt.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_06inz.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_07dly.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_08bnd.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_09alg.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_10asr.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_11mix.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_12jac.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_13opt.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_14lnz.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_15syn.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_16dae.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_17inl.o Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o