Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.348/2.348, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 185.2 kB / 360.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 92.22 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2783/0.2795, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8334/1.113, allocations: 115.2 MB / 0.9627 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/2.18, allocations: 425.4 MB / 1.378 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/2.18, allocations: 88.14 kB / 1.378 GB, free: 143.2 MB / 0.8542 GB Error: Variable tanSte.m_flow_nominal in package Buildings.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 14.26/16.44, allocations: 2.819 GB / 4.197 GB, free: 71.51 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/16.44, allocations: 8.062 kB / 4.197 GB, free: 71.51 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02256/16.46, allocations: 1.917 MB / 4.199 GB, free: 70.62 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07678/16.54, allocations: 18.96 MB / 4.218 GB, free: 68.96 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009919/16.54, allocations: 418.6 kB / 4.218 GB, free: 68.96 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0073/16.55, allocations: 0.7979 MB / 4.219 GB, free: 68.95 MB / 1.011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05616/16.6, allocations: 16.3 MB / 4.235 GB, free: 68.89 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06596/16.67, allocations: 17.2 MB / 4.252 GB, free: 67.13 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009843/16.67, allocations: 45.53 kB / 4.252 GB, free: 67.12 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005271/16.67, allocations: 19.5 kB / 4.252 GB, free: 67.12 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004563/16.68, allocations: 397.8 kB / 4.252 GB, free: 67.12 MB / 1.011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/16.87, allocations: 80.9 MB / 4.331 GB, free: 50.07 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03423/16.9, allocations: 11.8 MB / 4.343 GB, free: 49.93 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01886/16.92, allocations: 7.067 MB / 4.35 GB, free: 49.85 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08089/17, allocations: 25.45 MB / 4.374 GB, free: 43.14 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01698/17.02, allocations: 5.78 MB / 4.38 GB, free: 42.94 MB / 1.026 GB Notification: Performance of pre-optimization done (n=772): time 1.592e-05/17.02, allocations: 3.375 kB / 4.38 GB, free: 42.94 MB / 1.026 GB Notification: Performance of matching and sorting (n=772): time 0.04899/17.07, allocations: 12.67 MB / 4.392 GB, free: 42.13 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/17.07, allocations: 161.9 kB / 4.393 GB, free: 42.03 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03268/17.1, allocations: 10.67 MB / 4.403 GB, free: 41.32 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002961/17.1, allocations: 36.55 kB / 4.403 GB, free: 41.29 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01254/17.12, allocations: 5.127 MB / 4.408 GB, free: 38.46 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.01167/17.13, allocations: 2.621 MB / 4.411 GB, free: 36.77 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003216/17.13, allocations: 3 kB / 4.411 GB, free: 36.77 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.00167/17.13, allocations: 0.8293 MB / 4.411 GB, free: 36.43 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.019/17.15, allocations: 6.469 MB / 4.418 GB, free: 36.4 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02246/17.18, allocations: 9.824 MB / 4.427 GB, free: 32.6 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04757/17.22, allocations: 11.02 MB / 4.438 GB, free: 29.9 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003131/17.22, allocations: 30.88 kB / 4.438 GB, free: 29.9 MB / 1.026 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.1064/17.33, allocations: 21.26 MB / 4.459 GB, free: 23.36 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0229/17.35, allocations: 52.47 MB / 4.51 GB, free: 15.86 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005029/17.35, allocations: 97.12 kB / 4.51 GB, free: 15.86 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01862/17.37, allocations: 3.124 MB / 4.513 GB, free: 15.21 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02405/17.4, allocations: 2.73 MB / 4.516 GB, free: 15.12 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03556/17.43, allocations: 13.45 MB / 4.529 GB, free: 6.52 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03703/17.47, allocations: 1.483 MB / 4.53 GB, free: 5.852 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005705/17.47, allocations: 0.5637 MB / 4.531 GB, free: 5.75 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/17.47, allocations: 2.969 kB / 4.531 GB, free: 5.75 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09096/17.57, allocations: 20.08 MB / 4.551 GB, free: 15.84 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000817/17.57, allocations: 98.75 kB / 4.551 GB, free: 15.84 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02205/17.59, allocations: 3.155 MB / 4.554 GB, free: 15.16 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02414/17.61, allocations: 2.728 MB / 4.556 GB, free: 14.99 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03128/17.64, allocations: 13.46 MB / 4.57 GB, free: 3.48 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02364/17.67, allocations: 1.214 MB / 4.571 GB, free: 2.484 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004638/17.67, allocations: 0.5647 MB / 4.571 GB, free: 1.953 MB / 1.089 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.00769/17.68, allocations: 440.8 kB / 4.572 GB, free: 1.52 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00687/17.69, allocations: 1.073 MB / 4.573 GB, free: 444 kB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6184/18.31, allocations: 14.34 MB / 4.587 GB, free: 226.8 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001947/18.31, allocations: 85.92 kB / 4.587 GB, free: 226.8 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-05/18.31, allocations: 3.812 kB / 4.587 GB, free: 226.8 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04379/18.35, allocations: 11.8 MB / 4.598 GB, free: 226.5 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1118/18.46, allocations: 28.26 MB / 4.626 GB, free: 225.7 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001089/18.46, allocations: 7.25 kB / 4.626 GB, free: 225.7 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01284/18.47, allocations: 1.226 MB / 4.627 GB, free: 225.7 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01795/18.49, allocations: 2.875 MB / 4.63 GB, free: 225.6 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002713/18.5, allocations: 101.6 kB / 4.63 GB, free: 225.6 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/18.52, allocations: 10.53 MB / 4.64 GB, free: 222.6 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/18.52, allocations: 5 kB / 4.64 GB, free: 222.6 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06786/18.59, allocations: 21.52 MB / 4.661 GB, free: 221.2 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08824/18.68, allocations: 29.63 MB / 4.69 GB, free: 219.1 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0139/18.69, allocations: 3.044 MB / 4.693 GB, free: 218.5 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006939/18.7, allocations: 38.42 kB / 4.693 GB, free: 218.5 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01899/18.72, allocations: 0.542 MB / 4.694 GB, free: 218.4 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002626/18.72, allocations: 402.3 kB / 4.694 GB, free: 218.4 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002647/18.72, allocations: 326.6 kB / 4.695 GB, free: 218.4 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.02319/18.75, allocations: 7.968 MB / 4.702 GB, free: 218.1 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.05921/18.81, allocations: 8.734 MB / 4.711 GB, free: 217.5 MB / 1.089 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.006019/18.81, allocations: 1.603 MB / 4.713 GB, free: 217.2 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.07223/18.88, allocations: 23.72 MB / 4.736 GB, free: 216.5 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-05/18.88, allocations: 8.438 kB / 4.736 GB, free: 216.5 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01714/18.9, allocations: 5.748 MB / 4.741 GB, free: 216.2 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05103/18.95, allocations: 5.168 MB / 4.746 GB, free: 216.1 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/19.06, allocations: 28.86 MB / 4.775 GB, free: 211.8 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0489/19.11, allocations: 11.37 MB / 4.786 GB, free: 210.7 MB / 1.089 GB Notification: Performance of SimCode: time 1.683e-06/19.11, allocations: 3.938 kB / 4.786 GB, free: 210.7 MB / 1.089 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.fmutmp/sources' clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_8_0_0_Buildings_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_8_0_0_Buildings_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); ^ Buildings_8_0_0_Buildings_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; ^ Buildings_8_0_0_Buildings_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; ^ Buildings_8_0_0_Buildings_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; ^ Buildings_8_0_0_Buildings_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. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_8_0_0_Buildings_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... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.def Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.a Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.so Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o Buildings_8_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o Buildings_8_0_0_Buildings_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