Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001067/0.001067, allocations: 181 kB / 371.6 MB, free: 3.379 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.593/1.593, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009316/0.0009316, allocations: 93.67 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.895e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2719, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9038/1.176, allocations: 143.8 MB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.176, allocations: 92.22 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01515/1.191, allocations: 5.318 MB / 1.126 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/1.191, allocations: 0 / 1.126 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.191, allocations: 4 kB / 1.126 GB, free: 38.08 MB / 0.7448 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.0007139/1.192, allocations: 0.5317 MB / 1.126 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.192, allocations: 8.031 kB / 1.126 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/1.192, allocations: 42.45 kB / 1.126 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/1.192, allocations: 36.89 kB / 1.126 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/1.193, allocations: 292.7 kB / 1.126 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.193, allocations: 18.08 kB / 1.126 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/1.193, allocations: 19.31 kB / 1.127 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/1.193, allocations: 187.5 kB / 1.127 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.193, allocations: 0.875 kB / 1.127 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/1.193, allocations: 13.39 kB / 1.127 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.193, allocations: 0.5625 kB / 1.127 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/1.193, allocations: 74.31 kB / 1.127 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/1.194, allocations: 0.9115 MB / 1.128 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/1.194, allocations: 185.8 kB / 1.128 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/1.194, allocations: 68.92 kB / 1.128 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/1.194, allocations: 0.9375 kB / 1.128 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/1.195, allocations: 184.4 kB / 1.128 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/1.195, allocations: 8 kB / 1.128 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0004163/1.195, allocations: 252.1 kB / 1.128 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.195, allocations: 117.7 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/1.195, allocations: 220.1 kB / 1.129 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/1.195, allocations: 35.89 kB / 1.129 GB, free: 35.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/1.196, allocations: 142.2 kB / 1.129 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/1.196, allocations: 64.27 kB / 1.129 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/1.196, allocations: 3.375 kB / 1.129 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/1.196, allocations: 346.7 kB / 1.129 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.935e-05/1.196, allocations: 54.44 kB / 1.129 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/1.196, allocations: 236 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/1.196, allocations: 113.2 kB / 1.13 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.196, allocations: 8 kB / 1.13 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004245/1.197, allocations: 360 kB / 1.13 GB, free: 34.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.197, allocations: 33.7 kB / 1.13 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.197, allocations: 4 kB / 1.13 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.197, allocations: 15.95 kB / 1.13 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/1.197, allocations: 70.48 kB / 1.13 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.197, allocations: 11.94 kB / 1.13 GB, free: 34.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/1.197, allocations: 60.86 kB / 1.13 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/1.197, allocations: 19.89 kB / 1.13 GB, free: 33.95 MB / 0.7448 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 () * 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 8.96e-05/1.197, allocations: 140.7 kB / 1.13 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/1.197, allocations: 27.09 kB / 1.13 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/1.197, allocations: 26.3 kB / 1.13 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.197, allocations: 3.953 kB / 1.13 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.197, allocations: 5 kB / 1.13 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.197, allocations: 4 kB / 1.13 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/1.198, allocations: 269.5 kB / 1.131 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.198, allocations: 4 kB / 1.131 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/1.198, allocations: 22.25 kB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.198, allocations: 0 / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/1.198, allocations: 9.891 kB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.198, allocations: 5.125 kB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.198, allocations: 3.953 kB / 1.131 GB, free: 33.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/1.198, allocations: 393.2 kB / 1.131 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/1.198, allocations: 100.3 kB / 1.131 GB, free: 33.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/1.198, allocations: 14.58 kB / 1.131 GB, free: 33.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/1.199, allocations: 19.38 kB / 1.131 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/1.199, allocations: 27.19 kB / 1.131 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/1.199, allocations: 8.266 kB / 1.131 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001145/1.199, allocations: 174.7 kB / 1.131 GB, free: 32.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.199, allocations: 0 / 1.131 GB, free: 32.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003736/1.199, allocations: 89 kB / 1.131 GB, free: 32.82 MB / 0.7448 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) * 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.0009949/1.2, allocations: 1.161 MB / 1.133 GB, free: 31.76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003131/1.2, allocations: 257.2 kB / 1.133 GB, free: 31.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.2, allocations: 0 / 1.133 GB, free: 31.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/1.201, allocations: 85.64 kB / 1.133 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/1.201, allocations: 56.94 kB / 1.133 GB, free: 31.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/1.202, allocations: 0.6876 MB / 1.134 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/1.203, allocations: 0.7473 MB / 1.134 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001239/1.203, allocations: 45.48 kB / 1.134 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/1.203, allocations: 65.92 kB / 1.134 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.203, allocations: 0 / 1.134 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/1.221, allocations: 6.06 MB / 1.14 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.221, allocations: 198 kB / 1.141 GB, free: 26.47 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_8_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/initArray.c:14:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1