Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",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 7.0.1/package.mo): time 2.445/2.445, allocations: 248.6 MB / 255.9 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.0017, allocations: 179.6 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.1 MB / 0.5658 GB, free: 344 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 93.72 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4725/0.4738, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.687, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.587/2.274, allocations: 407.6 MB / 1.282 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004292/2.274, allocations: 118 kB / 1.282 GB, free: 260.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 13.9/16.18, allocations: 2.797 GB / 4.078 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/16.18, allocations: 9.625 kB / 4.079 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/16.19, allocations: 1.625 MB / 4.08 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07501/16.26, allocations: 18.96 MB / 4.099 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/16.26, allocations: 270.3 kB / 4.099 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004565/16.27, allocations: 0.5166 MB / 4.099 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03719/16.31, allocations: 9.866 MB / 4.109 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04639/16.35, allocations: 10.83 MB / 4.12 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008597/16.35, allocations: 28.56 kB / 4.12 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003981/16.36, allocations: 16.77 kB / 4.12 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002359/16.36, allocations: 206.8 kB / 4.12 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1419/16.5, allocations: 52.53 MB / 4.171 GB, free: 87.79 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/16.51, allocations: 4.422 MB / 4.175 GB, free: 86.24 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0116/16.52, allocations: 3.827 MB / 4.179 GB, free: 84.85 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003047/16.53, allocations: 2.184 MB / 4.181 GB, free: 82.48 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/16.53, allocations: 95.95 kB / 4.181 GB, free: 82.41 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=482): time 1.053e-05/16.53, allocations: 6.453 kB / 4.181 GB, free: 82.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=482): time 0.03145/16.56, allocations: 7.429 MB / 4.189 GB, free: 79.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/16.56, allocations: 363.3 kB / 4.189 GB, free: 79.32 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04951/16.61, allocations: 13.1 MB / 4.202 GB, free: 74.81 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001867/16.61, allocations: 33.73 kB / 4.202 GB, free: 74.78 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01339/16.62, allocations: 3.573 MB / 4.205 GB, free: 72.44 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.01662/16.64, allocations: 1.646 MB / 4.207 GB, free: 71.15 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/16.64, allocations: 0.75 kB / 4.207 GB, free: 71.15 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.001039/16.64, allocations: 0.5722 MB / 4.207 GB, free: 70.73 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01171/16.66, allocations: 3.496 MB / 4.211 GB, free: 68.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/16.67, allocations: 5.671 MB / 4.216 GB, free: 62.29 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/16.68, allocations: 4.842 MB / 4.221 GB, free: 58.37 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.843e-05/16.69, allocations: 11.39 kB / 4.221 GB, free: 58.36 MB / 0.9011 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0422/16.73, allocations: 10.65 MB / 4.232 GB, free: 49.13 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.005769/16.73, allocations: 24.17 MB / 4.255 GB, free: 23.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000513/16.73, allocations: 71.38 kB / 4.255 GB, free: 23.22 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/16.74, allocations: 0.9843 MB / 4.256 GB, free: 22.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01168/16.75, allocations: 1.407 MB / 4.258 GB, free: 21.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0359/16.79, allocations: 31.6 MB / 4.288 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01967/16.8, allocations: 1.058 MB / 4.289 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002203/16.81, allocations: 274.2 kB / 4.29 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/16.81, allocations: 4 kB / 4.29 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9376/17.74, allocations: 9.701 MB / 4.299 GB, free: 198.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004587/17.75, allocations: 66.19 kB / 4.299 GB, free: 198.7 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/17.75, allocations: 0.9915 MB / 4.3 GB, free: 198.5 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01169/17.76, allocations: 1.409 MB / 4.302 GB, free: 198.5 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03244/17.79, allocations: 31.61 MB / 4.332 GB, free: 173.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01971/17.81, allocations: 0.9559 MB / 4.333 GB, free: 173.5 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002419/17.82, allocations: 268.4 kB / 4.334 GB, free: 173.5 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003911/17.82, allocations: 277.6 kB / 4.334 GB, free: 173.4 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006055/17.83, allocations: 1.048 MB / 4.335 GB, free: 173.4 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03581/17.86, allocations: 8.339 MB / 4.343 GB, free: 173 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001713/17.86, allocations: 48.75 kB / 4.343 GB, free: 173 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-05/17.86, allocations: 16.38 kB / 4.343 GB, free: 173 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02499/17.89, allocations: 6.51 MB / 4.35 GB, free: 172.7 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09873/17.99, allocations: 43.18 MB / 4.392 GB, free: 150.3 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.803e-05/17.99, allocations: 10.41 kB / 4.392 GB, free: 150.3 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00982/18, allocations: 1.02 MB / 4.393 GB, free: 150.3 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003594/18, allocations: 0.9355 MB / 4.394 GB, free: 150.1 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001506/18, allocations: 96.81 kB / 4.394 GB, free: 150.1 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03279/18.03, allocations: 31.57 MB / 4.425 GB, free: 124.7 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/18.03, allocations: 14.12 kB / 4.425 GB, free: 124.7 MB / 0.9168 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03886/18.07, allocations: 14.94 MB / 4.439 GB, free: 120 MB / 0.9168 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05428/18.13, allocations: 19.68 MB / 4.458 GB, free: 114.9 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0175/18.14, allocations: 2.749 MB / 4.461 GB, free: 114.2 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008376/18.15, allocations: 62.59 kB / 4.461 GB, free: 114.2 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02223/18.17, allocations: 464.8 kB / 4.462 GB, free: 114.2 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002083/18.18, allocations: 279.1 kB / 4.462 GB, free: 114.2 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001565/18.18, allocations: 190.8 kB / 4.462 GB, free: 114.2 MB / 0.9168 GB Notification: Performance of sort global known variables: time 0.04359/18.22, allocations: 10.03 MB / 4.472 GB, free: 113.9 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.05063/18.27, allocations: 6.955 MB / 4.479 GB, free: 113.4 MB / 0.9168 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006119/18.28, allocations: 1.349 MB / 4.48 GB, free: 113.2 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.04684/18.33, allocations: 17.5 MB / 4.497 GB, free: 108.5 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 3.018e-05/18.33, allocations: 4.594 kB / 4.497 GB, free: 108.5 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/18.34, allocations: 5.305 MB / 4.502 GB, free: 106.5 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05643/18.39, allocations: 5.733 MB / 4.508 GB, free: 106.4 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/18.5, allocations: 25.72 MB / 4.533 GB, free: 102.1 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03926/18.54, allocations: 10.43 MB / 4.543 GB, free: 101.1 MB / 0.9168 GB Notification: Performance of SimCode: time 1.303e-06/18.54, allocations: 0 / 4.543 GB, free: 101.1 MB / 0.9168 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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); ^ Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1027:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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/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/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