Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IDEAS_dev_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.004806/0.004806, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.721/1.721, allocations: 221.3 MB / 395 MB, free: 10.16 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.001576/0.001576, allocations: 98.56 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5546/0.5563, allocations: 88.43 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.7975, allocations: 82.29 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.466/2.264, allocations: 399.3 MB / 1.023 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/2.264, allocations: 88.64 kB / 1.023 GB, free: 199.9 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.83/14.09, allocations: 2.874 GB / 3.897 GB, free: 55.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/14.09, allocations: 9.438 kB / 3.897 GB, free: 55.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/14.11, allocations: 1.931 MB / 3.899 GB, free: 54.61 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06675/14.18, allocations: 19.49 MB / 3.918 GB, free: 42.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/14.18, allocations: 416 kB / 3.918 GB, free: 42.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008295/14.19, allocations: 0.8005 MB / 3.919 GB, free: 41.32 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04424/14.23, allocations: 16.29 MB / 3.935 GB, free: 25.01 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06494/14.3, allocations: 17.22 MB / 3.952 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008941/14.3, allocations: 39.66 kB / 3.952 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007792/14.31, allocations: 20 kB / 3.952 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004078/14.31, allocations: 0.5085 MB / 3.952 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.187/15.49, allocations: 80.96 MB / 4.031 GB, free: 78.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02357/15.52, allocations: 11.8 MB / 4.043 GB, free: 78.11 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01557/15.53, allocations: 7.054 MB / 4.05 GB, free: 78.03 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06644/15.6, allocations: 25.44 MB / 4.075 GB, free: 71.56 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0119/15.61, allocations: 5.781 MB / 4.08 GB, free: 71.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=772): time 1.433e-05/15.61, allocations: 0 / 4.08 GB, free: 71.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=772): time 0.03389/15.65, allocations: 12.68 MB / 4.093 GB, free: 70.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/15.65, allocations: 165.3 kB / 4.093 GB, free: 70.45 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.029/15.68, allocations: 10.83 MB / 4.103 GB, free: 69.85 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.003301/15.68, allocations: 36.11 kB / 4.103 GB, free: 69.82 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01197/15.69, allocations: 5.139 MB / 4.108 GB, free: 67.31 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.009515/15.7, allocations: 2.626 MB / 4.111 GB, free: 65.62 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003007/15.7, allocations: 0 / 4.111 GB, free: 65.62 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.001398/15.71, allocations: 0.828 MB / 4.112 GB, free: 65.29 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01484/15.72, allocations: 6.478 MB / 4.118 GB, free: 65.26 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02114/15.74, allocations: 9.822 MB / 4.128 GB, free: 61.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03119/15.77, allocations: 11.03 MB / 4.138 GB, free: 58.99 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003076/15.77, allocations: 30.16 kB / 4.138 GB, free: 58.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.06876/15.84, allocations: 21.27 MB / 4.159 GB, free: 52.44 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.6398/16.48, allocations: 52.95 MB / 4.211 GB, free: 133.1 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006356/16.48, allocations: 102.9 kB / 4.211 GB, free: 133.1 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/16.49, allocations: 3.129 MB / 4.214 GB, free: 133.1 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01385/16.51, allocations: 2.726 MB / 4.217 GB, free: 133.1 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/16.52, allocations: 13.45 MB / 4.23 GB, free: 127.4 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0213/16.54, allocations: 1.482 MB / 4.231 GB, free: 127.4 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005449/16.55, allocations: 0.5665 MB / 4.232 GB, free: 127.4 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/16.55, allocations: 3.875 kB / 4.232 GB, free: 127.4 MB / 0.7918 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06117/16.61, allocations: 20.06 MB / 4.251 GB, free: 127.1 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004725/16.61, allocations: 99.72 kB / 4.252 GB, free: 127.1 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/16.62, allocations: 3.152 MB / 4.255 GB, free: 127.1 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0154/16.64, allocations: 2.725 MB / 4.257 GB, free: 127.1 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/16.66, allocations: 13.46 MB / 4.27 GB, free: 121.4 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02169/16.68, allocations: 1.215 MB / 4.272 GB, free: 121.4 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005309/16.68, allocations: 0.567 MB / 4.272 GB, free: 121.4 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.007293/16.69, allocations: 437 kB / 4.273 GB, free: 121.3 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006931/16.7, allocations: 1.091 MB / 4.274 GB, free: 120.9 MB / 0.7918 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04506/16.74, allocations: 14.04 MB / 4.287 GB, free: 120.5 MB / 0.7918 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001569/16.74, allocations: 79.08 kB / 4.287 GB, free: 120.5 MB / 0.7918 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/16.74, allocations: 5.344 kB / 4.287 GB, free: 120.5 MB / 0.7918 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03208/16.77, allocations: 11.81 MB / 4.299 GB, free: 120.1 MB / 0.7918 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09983/16.87, allocations: 28.31 MB / 4.327 GB, free: 119.1 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.28e-05/16.87, allocations: 2.031 kB / 4.327 GB, free: 119.1 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007742/16.88, allocations: 1.224 MB / 4.328 GB, free: 119 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01088/16.89, allocations: 2.881 MB / 4.331 GB, free: 118.9 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002678/16.9, allocations: 99.27 kB / 4.331 GB, free: 118.9 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/16.91, allocations: 10.52 MB / 4.341 GB, free: 115.7 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/16.91, allocations: 7.906 kB / 4.341 GB, free: 115.7 MB / 0.7918 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05616/16.97, allocations: 21.55 MB / 4.362 GB, free: 113.7 MB / 0.7918 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07164/17.04, allocations: 29.67 MB / 4.391 GB, free: 107.1 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01417/17.05, allocations: 3.047 MB / 4.394 GB, free: 105.4 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00859/17.06, allocations: 43.17 kB / 4.394 GB, free: 105.4 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01614/17.08, allocations: 0.5423 MB / 4.395 GB, free: 105.4 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003079/17.08, allocations: 409 kB / 4.395 GB, free: 105.3 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00351/17.09, allocations: 319.8 kB / 4.395 GB, free: 105.2 MB / 0.7918 GB Notification: Performance of sort global known variables: time 0.02367/17.11, allocations: 8.101 MB / 4.403 GB, free: 102.3 MB / 0.7918 GB Notification: Performance of remove unused functions: time 0.06336/17.17, allocations: 8.744 MB / 4.412 GB, free: 100.4 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.008324/17.18, allocations: 1.61 MB / 4.413 GB, free: 99.95 MB / 0.7918 GB Notification: Performance of simCode: created initialization part: time 0.06338/17.24, allocations: 23.74 MB / 4.436 GB, free: 89.32 MB / 0.7918 GB Notification: Performance of simCode: created event and clocks part: time 3.033e-05/17.24, allocations: 9.938 kB / 4.436 GB, free: 89.31 MB / 0.7918 GB Notification: Performance of simCode: created simulation system equations: time 0.0148/17.26, allocations: 5.749 MB / 4.442 GB, free: 84.2 MB / 0.7918 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0374/17.3, allocations: 5.148 MB / 4.447 GB, free: 80.68 MB / 0.7918 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7272/18.02, allocations: 29.84 MB / 4.476 GB, free: 118.5 MB / 0.7918 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02805/18.05, allocations: 11.44 MB / 4.487 GB, free: 117.4 MB / 0.7918 GB Notification: Performance of SimCode: time 1.964e-06/18.05, allocations: 3.281 kB / 4.487 GB, free: 117.4 MB / 0.7918 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics/IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics/IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.def IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.a IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.so IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o IDEAS_dev_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