Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001577/0.001577, allocations: 177.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 92.92 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.0005238, allocations: 15.69 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9071/1.116, allocations: 142.7 MB / 1.118 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.117, allocations: 100.1 kB / 1.118 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02357/1.14, allocations: 5.332 MB / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/1.14, allocations: 0 / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.14, allocations: 3.906 kB / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00132/1.142, allocations: 0.5749 MB / 1.124 GB, free: 30.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.142, allocations: 11.86 kB / 1.124 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/1.142, allocations: 47.67 kB / 1.124 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.571e-05/1.142, allocations: 31.03 kB / 1.124 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/1.142, allocations: 301.4 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/1.142, allocations: 13.48 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/1.142, allocations: 22.62 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/1.143, allocations: 211.5 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.143, allocations: 3.938 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/1.143, allocations: 6.938 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.143, allocations: 3.844 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/1.144, allocations: 131.5 kB / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/1.145, allocations: 0.908 MB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/1.146, allocations: 238.2 kB / 1.125 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/1.146, allocations: 0 / 1.125 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/1.147, allocations: 214.7 kB / 1.126 GB, free: 28.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.505e-06/1.147, allocations: 0 / 1.126 GB, free: 28.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001359/1.148, allocations: 390.5 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/1.148, allocations: 113 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/1.148, allocations: 215.5 kB / 1.126 GB, free: 28.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/1.148, allocations: 41.75 kB / 1.126 GB, free: 28.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.148, allocations: 138.1 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/1.149, allocations: 67.19 kB / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/1.149, allocations: 6.062 kB / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.149, allocations: 338 kB / 1.127 GB, free: 28.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/1.149, allocations: 86.14 kB / 1.127 GB, free: 28.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/1.15, allocations: 262.7 kB / 1.127 GB, free: 27.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/1.15, allocations: 144.8 kB / 1.127 GB, free: 27.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.15, allocations: 3.844 kB / 1.127 GB, free: 27.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001054/1.151, allocations: 418.9 kB / 1.128 GB, free: 27.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/1.151, allocations: 35.98 kB / 1.128 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.151, allocations: 11.67 kB / 1.128 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/1.151, allocations: 11.62 kB / 1.128 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/1.152, allocations: 75.41 kB / 1.128 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.152, allocations: 14.86 kB / 1.128 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/1.152, allocations: 47.42 kB / 1.128 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/1.152, allocations: 19.16 kB / 1.128 GB, free: 27.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002293/1.152, allocations: 165.1 kB / 1.128 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/1.152, allocations: 27.19 kB / 1.128 GB, free: 27.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/1.152, allocations: 28.09 kB / 1.128 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/1.152, allocations: 7.859 kB / 1.128 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.152, allocations: 0 / 1.128 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.152, allocations: 0 / 1.128 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/1.153, allocations: 271.4 kB / 1.128 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.153, allocations: 0 / 1.128 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/1.153, allocations: 27.59 kB / 1.128 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.153, allocations: 4 kB / 1.128 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/1.153, allocations: 6.656 kB / 1.128 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.153, allocations: 3.812 kB / 1.128 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.153, allocations: 7.891 kB / 1.128 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/1.154, allocations: 478.5 kB / 1.129 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/1.155, allocations: 107 kB / 1.129 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/1.155, allocations: 11 kB / 1.129 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/1.155, allocations: 22.09 kB / 1.129 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/1.155, allocations: 22.3 kB / 1.129 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/1.155, allocations: 10.66 kB / 1.129 GB, free: 27.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001887/1.155, allocations: 167.3 kB / 1.129 GB, free: 26.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.322e-06/1.155, allocations: 4 kB / 1.129 GB, free: 26.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006112/1.156, allocations: 97.92 kB / 1.129 GB, free: 26.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/1.158, allocations: 1.212 MB / 1.131 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009493/1.159, allocations: 319.9 kB / 1.131 GB, free: 26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.159, allocations: 3.938 kB / 1.131 GB, free: 26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/1.159, allocations: 118.2 kB / 1.131 GB, free: 25.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/1.16, allocations: 48.64 kB / 1.131 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/1.164, allocations: 5.144 MB / 1.136 GB, free: 21.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.164, allocations: 0.7502 MB / 1.137 GB, free: 20.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002795/1.165, allocations: 47.58 kB / 1.137 GB, free: 20.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.165, allocations: 66.81 kB / 1.137 GB, free: 20.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.165, allocations: 0 / 1.137 GB, free: 20.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/1.192, allocations: 5.983 MB / 1.143 GB, free: 18.41 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/1.193, allocations: 224.2 kB / 1.143 GB, free: 18.17 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_includes.h:4: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/freeArray.c:13: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/externalObjectStructure.h:8:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1