Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics",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.004076/0.004076, allocations: 181.4 kB / 7.459 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8278/0.8278, allocations: 133.5 MB / 141.4 MB, free: 15.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 102.9 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5235/0.5249, allocations: 88.42 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.7602, allocations: 82.29 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.485/2.246, allocations: 399.3 MB / 1.023 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/2.246, allocations: 94.33 kB / 1.023 GB, free: 200.2 MB / 0.6823 GB Error: Variable tanSte.m_flow_nominal in package IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 11.37/13.62, allocations: 2.874 GB / 3.897 GB, free: 52.76 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/13.62, allocations: 9.375 kB / 3.897 GB, free: 52.76 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/13.64, allocations: 1.936 MB / 3.899 GB, free: 51.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06916/13.71, allocations: 19.5 MB / 3.918 GB, free: 40.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/13.71, allocations: 416 kB / 3.918 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008475/13.72, allocations: 0.7967 MB / 3.919 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04813/13.77, allocations: 16.29 MB / 3.935 GB, free: 23.01 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07725/13.84, allocations: 17.21 MB / 3.952 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00132/13.84, allocations: 35.66 kB / 3.952 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007867/13.85, allocations: 24 kB / 3.952 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006669/13.85, allocations: 0.5163 MB / 3.952 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.294/15.15, allocations: 80.96 MB / 4.031 GB, free: 79.35 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03019/15.18, allocations: 11.79 MB / 4.043 GB, free: 79.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01603/15.19, allocations: 7.055 MB / 4.05 GB, free: 79.15 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08153/15.27, allocations: 25.45 MB / 4.075 GB, free: 72.68 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0162/15.29, allocations: 5.778 MB / 4.08 GB, free: 72.48 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=772): time 3.23e-05/15.29, allocations: 0 / 4.08 GB, free: 72.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=772): time 0.03959/15.33, allocations: 12.68 MB / 4.093 GB, free: 71.67 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/15.33, allocations: 157.3 kB / 4.093 GB, free: 71.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03057/15.36, allocations: 10.84 MB / 4.103 GB, free: 70.97 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.003776/15.37, allocations: 33.61 kB / 4.103 GB, free: 70.94 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01203/15.38, allocations: 5.139 MB / 4.108 GB, free: 68.45 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0101/15.39, allocations: 2.626 MB / 4.111 GB, free: 66.76 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003716/15.39, allocations: 1.875 kB / 4.111 GB, free: 66.76 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.002283/15.39, allocations: 0.8285 MB / 4.112 GB, free: 66.43 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.017/15.41, allocations: 6.469 MB / 4.118 GB, free: 66.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02387/15.43, allocations: 9.825 MB / 4.128 GB, free: 62.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03042/15.46, allocations: 11.02 MB / 4.138 GB, free: 59.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000282/15.47, allocations: 35.03 kB / 4.138 GB, free: 59.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.06193/15.53, allocations: 21.27 MB / 4.159 GB, free: 52.86 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.01912/15.55, allocations: 52.95 MB / 4.211 GB, free: 29.36 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007264/15.55, allocations: 104.5 kB / 4.211 GB, free: 29.36 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/15.56, allocations: 3.127 MB / 4.214 GB, free: 28.7 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/15.57, allocations: 2.725 MB / 4.217 GB, free: 28.43 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6139/16.19, allocations: 13.46 MB / 4.23 GB, free: 130.7 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0218/16.21, allocations: 1.484 MB / 4.231 GB, free: 130.7 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00487/16.21, allocations: 0.559 MB / 4.232 GB, free: 130.7 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/16.21, allocations: 6.625 kB / 4.232 GB, free: 130.7 MB / 0.7918 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0561/16.27, allocations: 20.07 MB / 4.251 GB, free: 130.5 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004868/16.27, allocations: 95.22 kB / 4.252 GB, free: 130.5 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/16.28, allocations: 3.147 MB / 4.255 GB, free: 130.4 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01582/16.3, allocations: 2.73 MB / 4.257 GB, free: 130.4 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/16.32, allocations: 13.45 MB / 4.27 GB, free: 124.7 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/16.34, allocations: 1.22 MB / 4.272 GB, free: 124.7 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00554/16.35, allocations: 0.5615 MB / 4.272 GB, free: 124.7 MB / 0.7918 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: tanDyn.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanDyn.m_flow_nominal "Nominal mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: tanSte.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanSte.m_flow_nominal "Nominal mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1454): * Single equations (assignments): 1448 * Array equations: 0 * Algorithm blocks: 1 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.008457/16.35, allocations: 438.2 kB / 4.273 GB, free: 124.6 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008067/16.36, allocations: 1.095 MB / 4.274 GB, free: 124.2 MB / 0.7918 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03999/16.4, allocations: 14.04 MB / 4.287 GB, free: 123.8 MB / 0.7918 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001287/16.4, allocations: 75.31 kB / 4.287 GB, free: 123.8 MB / 0.7918 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-05/16.4, allocations: 10.94 kB / 4.287 GB, free: 123.8 MB / 0.7918 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03038/16.43, allocations: 11.81 MB / 4.299 GB, free: 123.4 MB / 0.7918 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08277/16.52, allocations: 28.31 MB / 4.327 GB, free: 122.4 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/16.52, allocations: 7.5 kB / 4.327 GB, free: 122.4 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007581/16.52, allocations: 1.223 MB / 4.328 GB, free: 122.4 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01054/16.53, allocations: 2.88 MB / 4.331 GB, free: 122.3 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002739/16.54, allocations: 96.72 kB / 4.331 GB, free: 122.3 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/16.55, allocations: 10.51 MB / 4.341 GB, free: 119.1 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/16.55, allocations: 5.344 kB / 4.341 GB, free: 119.1 MB / 0.7918 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04021/16.59, allocations: 21.56 MB / 4.362 GB, free: 117.1 MB / 0.7918 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05382/16.65, allocations: 29.66 MB / 4.391 GB, free: 111.5 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01358/16.66, allocations: 3.049 MB / 4.394 GB, free: 109.8 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006932/16.67, allocations: 32.98 kB / 4.394 GB, free: 109.8 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01484/16.68, allocations: 0.552 MB / 4.395 GB, free: 109.8 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002531/16.68, allocations: 406.2 kB / 4.395 GB, free: 109.7 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00264/16.69, allocations: 321.5 kB / 4.395 GB, free: 109.6 MB / 0.7918 GB Notification: Performance of sort global known variables: time 0.02125/16.71, allocations: 8.097 MB / 4.403 GB, free: 106.7 MB / 0.7918 GB Notification: Performance of remove unused functions: time 0.04898/16.76, allocations: 8.751 MB / 4.412 GB, free: 104.8 MB / 0.7918 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 30 (tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.vol[5].dynBal.U,tanDyn.vol[6].dynBal.U,tanDyn.vol[7].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.vol[7].dynBal.U,tanDyn.indTanHex.vol[8].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDyn.indTanHex.cap[7].T,tanDyn.indTanHex.cap[8].T,tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanSte.vol[5].dynBal.U,tanSte.vol[6].dynBal.U,tanSte.vol[7].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,mHex_flow_in.T_start,mHex_flow_in.count) * Number of discrete states: 1 (mHex_flow_in.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (609): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of Backend phase and start with SimCode phase: time 0.005795/16.76, allocations: 1.606 MB / 4.413 GB, free: 104.4 MB / 0.7918 GB Notification: Performance of simCode: created initialization part: time 0.04664/16.81, allocations: 23.73 MB / 4.436 GB, free: 96.1 MB / 0.7918 GB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/16.81, allocations: 5.562 kB / 4.436 GB, free: 96.1 MB / 0.7918 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/16.82, allocations: 5.747 MB / 4.442 GB, free: 91.54 MB / 0.7918 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03598/16.86, allocations: 5.159 MB / 4.447 GB, free: 88.01 MB / 0.7918 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7051/17.56, allocations: 29.06 MB / 4.476 GB, free: 119.6 MB / 0.7918 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03261/17.6, allocations: 11.45 MB / 4.487 GB, free: 118.5 MB / 0.7918 GB Notification: Performance of SimCode: time 1.643e-06/17.6, allocations: 0 / 4.487 GB, free: 118.5 MB / 0.7918 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics/IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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=IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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); ^ IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2881:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:3128:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[782] = $PtanSte$PQHex_flow_nominal; ^ IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:50458:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:50705:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[782] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 4 errors generated. make: *** [: IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics/IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.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 IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.def IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.a IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.so IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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