Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation",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 7.0.1/package.mo): time 2.41/2.41, allocations: 248.6 MB / 255.9 MB, free: 7.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 184.1 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.1 MB / 0.5658 GB, free: 312 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 90.39 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4313/0.4326, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.6561, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.462/2.118, allocations: 417.7 MB / 1.291 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/2.118, allocations: 90.92 kB / 1.291 GB, free: 243.8 MB / 0.8542 GB Error: Variable tan_aTop.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Error: Variable tan_bTop.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 15.93/18.05, allocations: 3.11 GB / 4.402 GB, free: 68.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/18.05, allocations: 6.875 kB / 4.402 GB, free: 68.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02524/18.07, allocations: 2.238 MB / 4.404 GB, free: 67.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1189/18.19, allocations: 21.68 MB / 4.425 GB, free: 65.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001789/18.19, allocations: 0.4897 MB / 4.426 GB, free: 65.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01121/18.21, allocations: 0.9317 MB / 4.426 GB, free: 65.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09041/18.3, allocations: 19.15 MB / 4.445 GB, free: 65 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1032/18.4, allocations: 20.35 MB / 4.465 GB, free: 62.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001725/18.4, allocations: 53.91 kB / 4.465 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009648/18.41, allocations: 27.56 kB / 4.465 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009125/18.41, allocations: 476.9 kB / 4.466 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3263/18.74, allocations: 93.64 MB / 4.557 GB, free: 25.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05727/18.8, allocations: 13.9 MB / 4.571 GB, free: 25.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03024/18.83, allocations: 9.203 MB / 4.58 GB, free: 25.07 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09211/18.92, allocations: 27.77 MB / 4.607 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/18.92, allocations: 146.7 kB / 4.607 GB, free: 12.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=893): time 1.313e-05/18.92, allocations: 0 / 4.607 GB, free: 12.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=893): time 0.05743/18.98, allocations: 13.97 MB / 4.62 GB, free: 8.055 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/18.98, allocations: 143.4 kB / 4.621 GB, free: 7.984 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04376/19.02, allocations: 12.14 MB / 4.632 GB, free: 3.062 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003497/19.02, allocations: 33.7 kB / 4.632 GB, free: 3.023 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.02066/19.04, allocations: 5.978 MB / 4.638 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.02075/19.07, allocations: 3.026 MB / 4.641 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004555/19.07, allocations: 1.281 kB / 4.641 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.003176/19.07, allocations: 0.9043 MB / 4.642 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02494/19.1, allocations: 7.277 MB / 4.649 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04906/19.15, allocations: 12.11 MB / 4.661 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05041/19.2, allocations: 11.89 MB / 4.673 GB, free: 1.457 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003395/19.2, allocations: 32 kB / 4.673 GB, free: 1.426 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1847) (initialization): time 0.1388/19.34, allocations: 23.45 MB / 4.696 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.023/20.36, allocations: 65.89 MB / 4.76 GB, free: 102.9 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004989/20.36, allocations: 121.4 kB / 4.76 GB, free: 102.9 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003103/20.36, allocations: 0.8412 MB / 4.761 GB, free: 102.9 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02974/20.39, allocations: 3.361 MB / 4.764 GB, free: 102.9 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/20.41, allocations: 10.17 MB / 4.774 GB, free: 97.2 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02927/20.44, allocations: 1.654 MB / 4.776 GB, free: 97.2 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004838/20.44, allocations: 0.6335 MB / 4.776 GB, free: 97.2 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/20.44, allocations: 4.625 kB / 4.776 GB, free: 97.2 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08544/20.53, allocations: 21.1 MB / 4.797 GB, free: 96.93 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006708/20.53, allocations: 121.2 kB / 4.797 GB, free: 96.93 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/20.53, allocations: 0.8321 MB / 4.798 GB, free: 96.91 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0359/20.57, allocations: 3.359 MB / 4.801 GB, free: 96.91 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0258/20.59, allocations: 11.07 MB / 4.812 GB, free: 90.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02626/20.62, allocations: 1.368 MB / 4.813 GB, free: 90.48 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005431/20.63, allocations: 0.6317 MB / 4.814 GB, free: 90.48 MB / 0.9949 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: tan_aTop.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tan_aTop.m_flow_nominal "Nominal mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: tan_bTop.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tan_bTop.m_flow_nominal "Nominal mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1795): * Single equations (assignments): 1790 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.007935/20.63, allocations: 0.4899 MB / 4.814 GB, free: 90.3 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007608/20.64, allocations: 1.226 MB / 4.816 GB, free: 90.01 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0722/20.71, allocations: 15.6 MB / 4.831 GB, free: 89.59 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001612/20.71, allocations: 94.02 kB / 4.831 GB, free: 89.59 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-05/20.71, allocations: 12.31 kB / 4.831 GB, free: 89.59 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04856/20.76, allocations: 13.26 MB / 4.844 GB, free: 88.93 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1382/20.9, allocations: 32.09 MB / 4.875 GB, free: 87.9 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.138e-05/20.9, allocations: 3.656 kB / 4.875 GB, free: 87.9 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01917/20.92, allocations: 1.736 MB / 4.877 GB, free: 87.9 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/20.92, allocations: 0.6617 MB / 4.878 GB, free: 87.87 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002754/20.93, allocations: 125.8 kB / 4.878 GB, free: 87.87 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/20.94, allocations: 7.349 MB / 4.885 GB, free: 84.66 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/20.94, allocations: 3.812 kB / 4.885 GB, free: 84.66 MB / 0.9949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07759/21.02, allocations: 24.31 MB / 4.909 GB, free: 82.7 MB / 0.9949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09955/21.12, allocations: 33.96 MB / 4.942 GB, free: 80.32 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01617/21.13, allocations: 3.45 MB / 4.945 GB, free: 79.45 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007762/21.14, allocations: 52.14 kB / 4.945 GB, free: 79.45 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02064/21.16, allocations: 0.6106 MB / 4.946 GB, free: 79.4 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002902/21.17, allocations: 454.4 kB / 4.946 GB, free: 79.39 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002167/21.17, allocations: 338.4 kB / 4.947 GB, free: 79.39 MB / 0.9949 GB Notification: Performance of sort global known variables: time 0.02587/21.19, allocations: 9.095 MB / 4.955 GB, free: 79.07 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.0703/21.26, allocations: 10.21 MB / 4.965 GB, free: 77.59 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 48 (tan_aTop.vol[1].dynBal.U,tan_aTop.vol[2].dynBal.U,tan_aTop.vol[3].dynBal.U,tan_aTop.vol[4].dynBal.U,tan_aTop.vol[5].dynBal.U,tan_aTop.vol[6].dynBal.U,tan_aTop.vol[7].dynBal.U,tan_aTop.vol[8].dynBal.U,tan_aTop.vol[9].dynBal.U,tan_aTop.vol[10].dynBal.U,tan_aTop.vol[11].dynBal.U,tan_aTop.vol[12].dynBal.U,tan_aTop.indTanHex.vol[1].dynBal.U,tan_aTop.indTanHex.vol[2].dynBal.U,tan_aTop.indTanHex.vol[3].dynBal.U,tan_aTop.indTanHex.vol[4].dynBal.U,tan_aTop.indTanHex.vol[5].dynBal.U,tan_aTop.indTanHex.vol[6].dynBal.U,tan_aTop.indTanHex.cap[1].T,tan_aTop.indTanHex.cap[2].T,tan_aTop.indTanHex.cap[3].T,tan_aTop.indTanHex.cap[4].T,tan_aTop.indTanHex.cap[5].T,tan_aTop.indTanHex.cap[6].T,tan_bTop.vol[1].dynBal.U,tan_bTop.vol[2].dynBal.U,tan_bTop.vol[3].dynBal.U,tan_bTop.vol[4].dynBal.U,tan_bTop.vol[5].dynBal.U,tan_bTop.vol[6].dynBal.U,tan_bTop.vol[7].dynBal.U,tan_bTop.vol[8].dynBal.U,tan_bTop.vol[9].dynBal.U,tan_bTop.vol[10].dynBal.U,tan_bTop.vol[11].dynBal.U,tan_bTop.vol[12].dynBal.U,tan_bTop.indTanHex.vol[1].dynBal.U,tan_bTop.indTanHex.vol[2].dynBal.U,tan_bTop.indTanHex.vol[3].dynBal.U,tan_bTop.indTanHex.vol[4].dynBal.U,tan_bTop.indTanHex.vol[5].dynBal.U,tan_bTop.indTanHex.vol[6].dynBal.U,tan_bTop.indTanHex.cap[1].T,tan_bTop.indTanHex.cap[2].T,tan_bTop.indTanHex.cap[3].T,tan_bTop.indTanHex.cap[4].T,tan_bTop.indTanHex.cap[5].T,tan_bTop.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (862): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006667/21.27, allocations: 1.614 MB / 4.967 GB, free: 77.24 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.07797/21.35, allocations: 26.89 MB / 4.993 GB, free: 76.44 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/21.35, allocations: 4.562 kB / 4.993 GB, free: 76.44 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.0198/21.37, allocations: 6.685 MB / 5 GB, free: 76.05 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06256/21.43, allocations: 6.002 MB / 5.006 GB, free: 75.06 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.226/22.66, allocations: 35.27 MB / 5.04 GB, free: 162.6 MB / 0.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05398/22.71, allocations: 13.33 MB / 5.053 GB, free: 161.5 MB / 0.995 GB Notification: Performance of SimCode: time 1.944e-06/22.71, allocations: 2.953 kB / 5.053 GB, free: 161.5 MB / 0.995 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerLocation/Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.fmutmp/sources' clang -fPIC -O0 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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); ^ 2 warnings generated. clang -fPIC -O0 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.c:1: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.h:3: In file included from include/meta/meta_modelica.h:49: 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 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.c:3: In file included from include/meta/meta_modelica.h:49: 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 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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); ^ 2 warnings generated. clang -fPIC -O0 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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); ^ 2 warnings generated. clang -fPIC -O0 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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); ^ 2 warnings generated. clang -fPIC -O0 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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); ^ 2 warnings generated. clang -fPIC -O0 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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); ^ 2 warnings generated. clang -fPIC -O0 -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. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:3557:46: error: use of undeclared identifier '$Ptan_aTop$PQHex_flow_nominal' data->simulationInfo->realParameter[100] = $Ptan_aTop$PQHex_flow_nominal; ^ Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:3752:46: error: use of undeclared identifier '$Ptan_bTop$PQHex_flow_nominal' data->simulationInfo->realParameter[872] = $Ptan_bTop$PQHex_flow_nominal; ^ Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:58891:46: error: use of undeclared identifier '$Ptan_aTop$PQHex_flow_nominal' data->simulationInfo->realParameter[100] = $Ptan_aTop$PQHex_flow_nominal; ^ Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:59086:46: error: use of undeclared identifier '$Ptan_bTop$PQHex_flow_nominal' data->simulationInfo->realParameter[872] = $Ptan_bTop$PQHex_flow_nominal; ^ 2 warnings and 4 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerLocation/Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.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... 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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.def Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.a Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.so Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_functions.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_records.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_04set.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_07dly.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_08bnd.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_09alg.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_10asr.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_11mix.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_12jac.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_13opt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_14lnz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_15syn.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_16dae.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_17inl.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerLocation_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