Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.25/2.25, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 199.1 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.1 MB / 0.7992 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.0009652, allocations: 102.3 kB / 0.9396 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.0005198, allocations: 16.03 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2833, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.4759, allocations: 154.9 MB / 1.381 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4762, allocations: 99.94 kB / 1.381 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.4926, allocations: 5.462 MB / 1.386 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4927, allocations: 0 / 1.386 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.4927, allocations: 4 kB / 1.386 GB, free: 4.734 MB / 0.8855 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.001404/0.4941, allocations: 0.5721 MB / 1.387 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.4942, allocations: 12.03 kB / 1.387 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.255e-05/0.4943, allocations: 42.55 kB / 1.387 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.4944, allocations: 27.67 kB / 1.387 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.495, allocations: 301.9 kB / 1.387 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.4951, allocations: 16.23 kB / 1.387 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.4951, allocations: 16 kB / 1.387 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.4956, allocations: 224.2 kB / 1.387 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4957, allocations: 7.906 kB / 1.387 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.4957, allocations: 11.98 kB / 1.387 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4957, allocations: 4 kB / 1.387 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.4961, allocations: 127.8 kB / 1.387 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.4978, allocations: 0.8996 MB / 1.388 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.4984, allocations: 239.8 kB / 1.388 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.4984, allocations: 7.969 kB / 1.388 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/0.499, allocations: 207.5 kB / 1.389 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 2.305e-06/0.499, allocations: 4 kB / 1.389 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.001051/0.5, allocations: 385.2 kB / 1.389 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.5001, allocations: 118.8 kB / 1.389 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.5004, allocations: 221.6 kB / 1.389 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.5005, allocations: 37.7 kB / 1.389 GB, free: 1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5006, allocations: 136.5 kB / 1.389 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.5007, allocations: 67.23 kB / 1.39 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.5007, allocations: 8.375 kB / 1.39 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5009, allocations: 342.8 kB / 1.39 GB, free: 456 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.5011, allocations: 80.75 kB / 1.39 GB, free: 372 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.5015, allocations: 262.8 kB / 1.39 GB, free: 32 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.5018, allocations: 153.5 kB / 1.39 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5019, allocations: 0 / 1.39 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007957/0.5027, allocations: 415.3 kB / 1.391 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.5027, allocations: 37.7 kB / 1.391 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.5027, allocations: 8 kB / 1.391 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.5028, allocations: 8 kB / 1.391 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.503, allocations: 71.83 kB / 1.391 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.503, allocations: 12.06 kB / 1.391 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.5034, allocations: 55.7 kB / 1.391 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.5034, allocations: 20 kB / 1.391 GB, free: 15.24 MB / 0.9011 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.0001934/0.5036, allocations: 160.4 kB / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.5037, allocations: 31.58 kB / 1.391 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.5037, allocations: 29.7 kB / 1.391 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5038, allocations: 8.25 kB / 1.391 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.5038, allocations: 0 / 1.391 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5038, allocations: 4 kB / 1.391 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.5041, allocations: 269.5 kB / 1.391 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5041, allocations: 0 / 1.391 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.5043, allocations: 23.92 kB / 1.391 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.5043, allocations: 7.938 kB / 1.391 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.5043, allocations: 15.94 kB / 1.391 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5043, allocations: 0 / 1.391 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5044, allocations: 4 kB / 1.391 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/0.5053, allocations: 477.2 kB / 1.392 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.5054, allocations: 100.8 kB / 1.392 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.5055, allocations: 12.03 kB / 1.392 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5056, allocations: 23.92 kB / 1.392 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.5057, allocations: 23.97 kB / 1.392 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.5058, allocations: 15.98 kB / 1.392 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001421/0.5059, allocations: 162 kB / 1.392 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5059, allocations: 4 kB / 1.392 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004711/0.5064, allocations: 95.86 kB / 1.392 GB, free: 13.69 MB / 0.9011 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.001521/0.5079, allocations: 1.215 MB / 1.394 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.5085, allocations: 305 kB / 1.394 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5086, allocations: 5.438 kB / 1.394 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.5088, allocations: 115.9 kB / 1.394 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.5092, allocations: 44.53 kB / 1.394 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.5126, allocations: 5.158 MB / 1.399 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.5129, allocations: 0.7446 MB / 1.4 GB, free: 5.855 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.513, allocations: 46.95 kB / 1.4 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5131, allocations: 63.41 kB / 1.4 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of SimCode: time 6.51e-07/0.5131, allocations: 4 kB / 1.4 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.5323, allocations: 5.989 MB / 1.406 GB, free: 4 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5753/1.108, allocations: 226.5 kB / 1.406 GB, free: 174.8 MB / 0.9011 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_latest_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 -falign-functions -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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1