Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6955/0.6955, allocations: 141.8 MB / 149.1 MB, free: 4.312 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 189.3 kB / 181.9 MB, free: 15.97 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 436 MB, free: 9.172 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009351, allocations: 100.7 kB / 0.507 GB, free: 24.19 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 283.4 kB / 0.5884 GB, free: 12.16 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1682/0.1699, allocations: 89.64 MB / 0.676 GB, free: 2.434 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.5205, allocations: 82.76 MB / 0.7568 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5921/1.113, allocations: 396.8 MB / 1.144 GB, free: 15.88 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.113, allocations: 96.8 kB / 1.144 GB, free: 15.84 MB / 0.6825 GB Error: Variable tanSte.m_flow_nominal in package BuildingSystems.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 9.519/10.63, allocations: 2.866 GB / 4.011 GB, free: 25.9 MB / 0.7919 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/10.63, allocations: 9 kB / 4.011 GB, free: 25.89 MB / 0.7919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/10.64, allocations: 1.92 MB / 4.012 GB, free: 23.95 MB / 0.7919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04189/10.69, allocations: 18.96 MB / 4.031 GB, free: 5.242 MB / 0.7919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000646/10.69, allocations: 416 kB / 4.031 GB, free: 4.836 MB / 0.7919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005085/10.69, allocations: 0.7851 MB / 4.032 GB, free: 4.051 MB / 0.7919 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3567/11.05, allocations: 16.3 MB / 4.048 GB, free: 95.18 MB / 0.7919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05065/11.1, allocations: 17.21 MB / 4.065 GB, free: 93.41 MB / 0.7919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008027/11.1, allocations: 45.45 kB / 4.065 GB, free: 93.41 MB / 0.7919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004853/11.11, allocations: 23.03 kB / 4.065 GB, free: 93.41 MB / 0.7919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000414/11.11, allocations: 0.5123 MB / 4.065 GB, free: 93.38 MB / 0.7919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/11.24, allocations: 80.9 MB / 4.144 GB, free: 61.34 MB / 0.7919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/11.25, allocations: 11.8 MB / 4.156 GB, free: 61.21 MB / 0.7919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01002/11.26, allocations: 7.057 MB / 4.163 GB, free: 61.13 MB / 0.7919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04735/11.31, allocations: 25.48 MB / 4.188 GB, free: 54.66 MB / 0.7919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007788/11.32, allocations: 5.778 MB / 4.193 GB, free: 54.46 MB / 0.7919 GB Notification: Performance of pre-optimization done (n=772): time 1.007e-05/11.32, allocations: 2.188 kB / 4.193 GB, free: 54.46 MB / 0.7919 GB Notification: Performance of matching and sorting (n=772): time 0.02663/11.35, allocations: 12.67 MB / 4.206 GB, free: 53.66 MB / 0.7919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/11.35, allocations: 158.5 kB / 4.206 GB, free: 53.55 MB / 0.7919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/11.36, allocations: 10.68 MB / 4.216 GB, free: 52.95 MB / 0.7919 GB Notification: Performance of collectPreVariables (initialization): time 0.002447/11.37, allocations: 35.45 kB / 4.216 GB, free: 52.91 MB / 0.7919 GB Notification: Performance of collectInitialEqns (initialization): time 0.008374/11.37, allocations: 5.119 MB / 4.221 GB, free: 50.09 MB / 0.7919 GB Notification: Performance of collectInitialBindings (initialization): time 0.008298/11.38, allocations: 2.624 MB / 4.224 GB, free: 48.4 MB / 0.7919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002113/11.39, allocations: 2.938 kB / 4.224 GB, free: 48.4 MB / 0.7919 GB Notification: Performance of setup shared object (initialization): time 0.000936/11.39, allocations: 0.8279 MB / 4.225 GB, free: 48.07 MB / 0.7919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/11.4, allocations: 6.475 MB / 4.231 GB, free: 48.04 MB / 0.7919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0139/11.41, allocations: 9.824 MB / 4.241 GB, free: 44.23 MB / 0.7919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02589/11.44, allocations: 11.02 MB / 4.251 GB, free: 41.21 MB / 0.7919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002073/11.44, allocations: 32.12 kB / 4.251 GB, free: 41.2 MB / 0.7919 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.04733/11.48, allocations: 21.26 MB / 4.272 GB, free: 34.67 MB / 0.7919 GB Notification: Performance of prepare postOptimizeDAE: time 0.3513/11.84, allocations: 52.47 MB / 4.323 GB, free: 78.55 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004921/11.84, allocations: 102.6 kB / 4.324 GB, free: 78.55 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/11.85, allocations: 3.138 MB / 4.327 GB, free: 78.5 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/11.86, allocations: 2.726 MB / 4.329 GB, free: 78.5 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/11.87, allocations: 13.44 MB / 4.342 GB, free: 72.83 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01637/11.89, allocations: 1.479 MB / 4.344 GB, free: 72.83 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004345/11.89, allocations: 0.5656 MB / 4.344 GB, free: 72.83 MB / 0.8075 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/11.89, allocations: 3.812 kB / 4.344 GB, free: 72.83 MB / 0.8075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04991/11.94, allocations: 20.07 MB / 4.364 GB, free: 72.55 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003628/11.95, allocations: 99.84 kB / 4.364 GB, free: 72.55 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009369/11.95, allocations: 3.148 MB / 4.367 GB, free: 72.5 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/11.97, allocations: 2.722 MB / 4.37 GB, free: 72.5 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/11.98, allocations: 13.45 MB / 4.383 GB, free: 66.82 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01658/12, allocations: 1.217 MB / 4.384 GB, free: 66.82 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004522/12, allocations: 0.566 MB / 4.385 GB, free: 66.82 MB / 0.8075 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.006088/12.01, allocations: 440.2 kB / 4.385 GB, free: 66.71 MB / 0.8075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005613/12.02, allocations: 1.074 MB / 4.386 GB, free: 66.5 MB / 0.8075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03603/12.05, allocations: 14.04 MB / 4.4 GB, free: 66.09 MB / 0.8075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.149e-05/12.05, allocations: 79.8 kB / 4.4 GB, free: 66.09 MB / 0.8075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-05/12.05, allocations: 7.344 kB / 4.4 GB, free: 66.09 MB / 0.8075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02288/12.08, allocations: 11.8 MB / 4.411 GB, free: 65.72 MB / 0.8075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05652/12.13, allocations: 28.25 MB / 4.439 GB, free: 64.77 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/12.13, allocations: 6.094 kB / 4.439 GB, free: 64.77 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006369/12.14, allocations: 1.225 MB / 4.44 GB, free: 64.77 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009335/12.15, allocations: 2.88 MB / 4.443 GB, free: 64.71 MB / 0.8075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002098/12.15, allocations: 97.77 kB / 4.443 GB, free: 64.71 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/12.16, allocations: 10.53 MB / 4.453 GB, free: 61.48 MB / 0.8075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/12.16, allocations: 3.312 kB / 4.453 GB, free: 61.48 MB / 0.8075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03491/12.2, allocations: 21.53 MB / 4.474 GB, free: 59.48 MB / 0.8075 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04627/12.24, allocations: 29.64 MB / 4.503 GB, free: 57.06 MB / 0.8075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009685/12.25, allocations: 3.039 MB / 4.506 GB, free: 56.29 MB / 0.8075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004612/12.26, allocations: 36.67 kB / 4.506 GB, free: 56.29 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/12.27, allocations: 0.5444 MB / 4.507 GB, free: 56.24 MB / 0.8075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001656/12.27, allocations: 403.5 kB / 4.507 GB, free: 56.23 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001245/12.27, allocations: 320.7 kB / 4.508 GB, free: 56.23 MB / 0.8075 GB Notification: Performance of sort global known variables: time 0.01409/12.29, allocations: 7.976 MB / 4.515 GB, free: 55.95 MB / 0.8075 GB Notification: Performance of remove unused functions: time 0.0403/12.33, allocations: 8.74 MB / 4.524 GB, free: 54.72 MB / 0.8075 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.004434/12.33, allocations: 1.615 MB / 4.526 GB, free: 54.37 MB / 0.8075 GB Notification: Performance of simCode: created initialization part: time 0.03919/12.37, allocations: 23.72 MB / 4.549 GB, free: 48.87 MB / 0.8075 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/12.37, allocations: 9.844 kB / 4.549 GB, free: 48.87 MB / 0.8075 GB Notification: Performance of simCode: created simulation system equations: time 0.009564/12.38, allocations: 5.746 MB / 4.554 GB, free: 46.77 MB / 0.8075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02841/12.41, allocations: 5.151 MB / 4.559 GB, free: 45.92 MB / 0.8075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4485/12.86, allocations: 28.86 MB / 4.588 GB, free: 97.26 MB / 0.8075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02337/12.88, allocations: 11.38 MB / 4.599 GB, free: 96.22 MB / 0.8075 GB Notification: Performance of SimCode: time 1.142e-06/12.88, allocations: 0 / 4.599 GB, free: 96.22 MB / 0.8075 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics/BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_records.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_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; ^ BuildingSystems_BuildingSystems_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; ^ BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49704:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49951: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: *** [: BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics/BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.def BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.a BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.so BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_records.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o BuildingSystems_BuildingSystems_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o BuildingSystems_BuildingSystems_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