Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001153/0.001153, allocations: 188.9 kB / 492.3 MB, free: 0.6133 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.46/1.46, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009395/0.0009395, allocations: 83.97 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.583e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2481, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.295, allocations: 154 MB / 1.363 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.295, allocations: 97.11 kB / 1.363 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02464/1.32, allocations: 5.442 MB / 1.368 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.367e-06/1.32, allocations: 0 / 1.368 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.421e-05/1.32, allocations: 3.844 kB / 1.368 GB, free: 34.35 MB / 0.8386 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.001249/1.321, allocations: 0.5226 MB / 1.369 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.321, allocations: 15.53 kB / 1.369 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.862e-05/1.321, allocations: 54.75 kB / 1.369 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/1.321, allocations: 35.11 kB / 1.369 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/1.322, allocations: 294.9 kB / 1.369 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/1.322, allocations: 14.86 kB / 1.369 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/1.322, allocations: 24.08 kB / 1.369 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/1.323, allocations: 186.4 kB / 1.369 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.323, allocations: 0 / 1.369 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/1.323, allocations: 7.438 kB / 1.369 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.323, allocations: 0 / 1.369 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/1.323, allocations: 79.36 kB / 1.369 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/1.325, allocations: 0.9087 MB / 1.37 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/1.325, allocations: 181.7 kB / 1.371 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/1.325, allocations: 70.55 kB / 1.371 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/1.325, allocations: 7.797 kB / 1.371 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/1.326, allocations: 176.6 kB / 1.371 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 2.805e-06/1.326, allocations: 3.969 kB / 1.371 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0007425/1.327, allocations: 262.4 kB / 1.371 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/1.327, allocations: 115.7 kB / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/1.327, allocations: 211.5 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/1.327, allocations: 42.38 kB / 1.371 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.327, allocations: 144.6 kB / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/1.327, allocations: 62.64 kB / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/1.327, allocations: 11.19 kB / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.327, allocations: 334.2 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.328, allocations: 61.91 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/1.328, allocations: 238.5 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/1.328, allocations: 114.8 kB / 1.372 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.328, allocations: 3.875 kB / 1.372 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007849/1.329, allocations: 349.7 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/1.329, allocations: 43.59 kB / 1.373 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.329, allocations: 7.688 kB / 1.373 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/1.329, allocations: 7.719 kB / 1.373 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/1.33, allocations: 72.47 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/1.33, allocations: 15.5 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/1.33, allocations: 51.45 kB / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/1.33, allocations: 15.5 kB / 1.373 GB, free: 31.4 MB / 0.8386 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 0.000149/1.33, allocations: 148.8 kB / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/1.33, allocations: 26.23 kB / 1.373 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.823e-05/1.33, allocations: 27.84 kB / 1.373 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/1.33, allocations: 3.875 kB / 1.373 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.33, allocations: 3.812 kB / 1.373 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/1.33, allocations: 3.188 kB / 1.373 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/1.331, allocations: 272.7 kB / 1.373 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.331, allocations: 0 / 1.373 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/1.331, allocations: 27.56 kB / 1.373 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.331, allocations: 3.875 kB / 1.373 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/1.331, allocations: 6.719 kB / 1.373 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.331, allocations: 3.953 kB / 1.373 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.331, allocations: 0 / 1.373 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/1.332, allocations: 397.4 kB / 1.374 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/1.332, allocations: 107.2 kB / 1.374 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/1.332, allocations: 10.61 kB / 1.374 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/1.333, allocations: 17.56 kB / 1.374 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.333, allocations: 32.19 kB / 1.374 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/1.333, allocations: 13.81 kB / 1.374 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002013/1.333, allocations: 166.8 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.21e-07/1.333, allocations: 0 / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007256/1.334, allocations: 91.3 kB / 1.374 GB, free: 30.7 MB / 0.8386 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.001651/1.335, allocations: 1.144 MB / 1.375 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005668/1.336, allocations: 250.8 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.336, allocations: 1.625 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/1.336, allocations: 94.64 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/1.337, allocations: 51.55 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/1.339, allocations: 0.6803 MB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/1.34, allocations: 0.75 MB / 1.377 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002221/1.34, allocations: 45.75 kB / 1.377 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.34, allocations: 70.94 kB / 1.377 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of SimCode: time 7.42e-07/1.34, allocations: 0 / 1.377 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/1.368, allocations: 6.053 MB / 1.383 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/1.368, allocations: 202.5 kB / 1.383 GB, free: 27.64 MB / 0.8386 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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_9_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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_9_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_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1