Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerLocation.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.HeatExchangerLocation,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 187.5 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4657/0.4657, allocations: 90.85 MB / 99.06 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 92.38 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1633/0.1643, allocations: 78.44 MB / 493.9 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.5324, allocations: 72.31 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5793/1.112, allocations: 388.4 MB / 0.9323 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.112, allocations: 86.3 kB / 0.9324 GB, free: 1.824 MB / 0.5886 GB Error: Variable tan_aTop.m_flow_nominal in package IBPSA.Fluid.Storage.Validation.HeatExchangerLocation is not constant. Error: Variable tan_bTop.m_flow_nominal in package IBPSA.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 11.09/12.2, allocations: 3.285 GB / 4.218 GB, free: 48.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/12.2, allocations: 11.09 kB / 4.218 GB, free: 48.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/12.22, allocations: 2.265 MB / 4.22 GB, free: 47.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06512/12.28, allocations: 22.37 MB / 4.242 GB, free: 45.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/12.28, allocations: 0.4937 MB / 4.242 GB, free: 45.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007781/12.29, allocations: 0.9301 MB / 4.243 GB, free: 45.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04684/12.34, allocations: 19.16 MB / 4.262 GB, free: 44.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06727/12.4, allocations: 20.55 MB / 4.282 GB, free: 42.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001121/12.41, allocations: 51.84 kB / 4.282 GB, free: 42.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006924/12.41, allocations: 30.41 kB / 4.282 GB, free: 42.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005552/12.41, allocations: 474.5 kB / 4.282 GB, free: 42.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1768/12.59, allocations: 93.96 MB / 4.374 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02945/12.62, allocations: 14.01 MB / 4.388 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01596/12.64, allocations: 9.199 MB / 4.397 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7302/13.37, allocations: 27.91 MB / 4.424 GB, free: 121.6 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/13.37, allocations: 151.8 kB / 4.424 GB, free: 121.6 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=893): time 1.185e-05/13.37, allocations: 0 / 4.424 GB, free: 121.6 MB / 0.7293 GB Notification: Performance of matching and sorting (n=893): time 0.03164/13.4, allocations: 14.01 MB / 4.438 GB, free: 121.4 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/13.4, allocations: 143.5 kB / 4.438 GB, free: 121.3 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02436/13.42, allocations: 12.33 MB / 4.45 GB, free: 120.8 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.003249/13.43, allocations: 35.48 kB / 4.45 GB, free: 120.7 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.00913/13.43, allocations: 6.005 MB / 4.456 GB, free: 117.9 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.01083/13.45, allocations: 3.026 MB / 4.459 GB, free: 115.9 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/13.45, allocations: 2.062 kB / 4.459 GB, free: 115.9 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 0.000876/13.45, allocations: 0.9013 MB / 4.46 GB, free: 115.6 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/13.46, allocations: 7.279 MB / 4.467 GB, free: 115.6 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01566/13.47, allocations: 11.16 MB / 4.478 GB, free: 111.1 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02513/13.5, allocations: 11.89 MB / 4.49 GB, free: 111 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/13.5, allocations: 34.78 kB / 4.49 GB, free: 111 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1847) (initialization): time 0.05171/13.55, allocations: 22.48 MB / 4.512 GB, free: 110 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.01238/13.56, allocations: 66.58 MB / 4.577 GB, free: 40.34 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005626/13.56, allocations: 126.1 kB / 4.577 GB, free: 40.33 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/13.57, allocations: 0.8449 MB / 4.577 GB, free: 40.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01627/13.58, allocations: 3.361 MB / 4.581 GB, free: 40.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009209/13.59, allocations: 10.16 MB / 4.591 GB, free: 34.45 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01926/13.61, allocations: 1.656 MB / 4.592 GB, free: 33.71 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004343/13.62, allocations: 0.6371 MB / 4.593 GB, free: 33.71 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/13.62, allocations: 6.969 kB / 4.593 GB, free: 33.71 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04649/13.66, allocations: 21.1 MB / 4.614 GB, free: 33.23 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003703/13.66, allocations: 119.9 kB / 4.614 GB, free: 33.23 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/13.66, allocations: 0.8468 MB / 4.614 GB, free: 33.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01766/13.68, allocations: 3.356 MB / 4.618 GB, free: 32.98 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/13.69, allocations: 11.06 MB / 4.629 GB, free: 26.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0174/13.71, allocations: 1.372 MB / 4.63 GB, free: 25.76 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004404/13.72, allocations: 0.64 MB / 4.631 GB, free: 25.76 MB / 0.7293 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.005996/13.72, allocations: 0.4904 MB / 4.631 GB, free: 25.36 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005438/13.73, allocations: 1.249 MB / 4.632 GB, free: 24.7 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03559/13.76, allocations: 15.61 MB / 4.647 GB, free: 24.27 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.108e-05/13.76, allocations: 87.22 kB / 4.648 GB, free: 24.27 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.646e-05/13.76, allocations: 11.16 kB / 4.648 GB, free: 24.27 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02881/13.79, allocations: 13.25 MB / 4.66 GB, free: 22.93 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07603/13.87, allocations: 32.32 MB / 4.692 GB, free: 3.207 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/13.87, allocations: 2.25 kB / 4.692 GB, free: 3.207 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009721/13.88, allocations: 1.741 MB / 4.694 GB, free: 1.75 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/13.88, allocations: 0.662 MB / 4.694 GB, free: 1.227 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001512/13.88, allocations: 121 kB / 4.695 GB, free: 1.137 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6822/14.56, allocations: 7.364 MB / 4.702 GB, free: 108.9 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/14.56, allocations: 2.656 kB / 4.702 GB, free: 108.9 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04202/14.6, allocations: 24.35 MB / 4.725 GB, free: 107.6 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05754/14.66, allocations: 34 MB / 4.759 GB, free: 105.8 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01222/14.67, allocations: 3.529 MB / 4.762 GB, free: 105.1 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006734/14.68, allocations: 51.2 kB / 4.762 GB, free: 105.1 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01485/14.7, allocations: 0.6108 MB / 4.763 GB, free: 105.1 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002175/14.7, allocations: 456.2 kB / 4.763 GB, free: 105 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002429/14.7, allocations: 375.7 kB / 4.764 GB, free: 105 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.01895/14.72, allocations: 9.25 MB / 4.773 GB, free: 104.7 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.05573/14.78, allocations: 10.24 MB / 4.783 GB, free: 103.7 MB / 0.7294 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.005298/14.78, allocations: 1.627 MB / 4.784 GB, free: 103.4 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.0509/14.83, allocations: 26.9 MB / 4.81 GB, free: 102.7 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/14.83, allocations: 8.156 kB / 4.81 GB, free: 102.7 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.01195/14.84, allocations: 6.685 MB / 4.817 GB, free: 102.4 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03346/14.88, allocations: 6.014 MB / 4.823 GB, free: 102.3 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08903/14.97, allocations: 35.52 MB / 4.858 GB, free: 96.81 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02751/14.99, allocations: 13.42 MB / 4.871 GB, free: 95.5 MB / 0.7294 GB Notification: Performance of SimCode: time 1.192e-06/14.99, allocations: 0 / 4.871 GB, free: 95.5 MB / 0.7294 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerLocation/IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_FMU.c In file included from IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.c:2: In file included from ./IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_functions.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_functions.c:1: In file included from ./IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_records.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_records.c In file included from IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_01exo.c:2: In file included from ./IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_02nls.c:2: In file included from ./IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.c:2: In file included from ./IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_04set.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_04set.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_04set.c:2: In file included from ./IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_05evt.c:2: In file included from ./IBPSA_latest_IBPSA_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 -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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:2: In file included from ./IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_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; ^ IBPSA_latest_IBPSA_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; ^ IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:59801:46: error: use of undeclared identifier '$Ptan_aTop$PQHex_flow_nominal' data->simulationInfo->realParameter[100] = $Ptan_aTop$PQHex_flow_nominal; ^ IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.c:59996: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. make: *** [: IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerLocation/IBPSA_latest_IBPSA_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... /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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.def IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.a IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.so IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_FMU.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_functions.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_records.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_01exo.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_02nls.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_03lsy.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_04set.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_05evt.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_06inz.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_07dly.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_08bnd.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_09alg.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_10asr.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_11mix.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_12jac.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_13opt.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_14lnz.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_15syn.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_16dae.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerLocation_17inl.o IBPSA_latest_IBPSA_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