Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.344/2.344, allocations: 284.9 MB / 292.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001657, allocations: 185.2 kB / 360.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.1 MB / 0.6188 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 84.08 kB / 0.7318 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.937e-06, allocations: 0 / 0.8503 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6232, allocations: 115.2 MB / 0.9628 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.731, allocations: 420.7 MB / 1.374 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.732, allocations: 107.8 kB / 1.374 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.47/4.202, allocations: 0.5539 GB / 1.928 GB, free: 38.61 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001324/4.202, allocations: 28 kB / 1.928 GB, free: 38.58 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003302/4.205, allocations: 1.41 MB / 1.929 GB, free: 37.12 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/4.206, allocations: 12.53 kB / 1.929 GB, free: 37.11 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006621/4.206, allocations: 154.3 kB / 1.929 GB, free: 36.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004301/4.211, allocations: 1.405 MB / 1.931 GB, free: 35.51 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/4.211, allocations: 31.91 kB / 1.931 GB, free: 35.48 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/4.211, allocations: 52 kB / 1.931 GB, free: 35.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/4.212, allocations: 0.5585 MB / 1.931 GB, free: 34.87 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/4.214, allocations: 0.7412 MB / 1.932 GB, free: 34.09 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/4.214, allocations: 4 kB / 1.932 GB, free: 34.09 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/4.214, allocations: 0 / 1.932 GB, free: 34.09 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/4.214, allocations: 28 kB / 1.932 GB, free: 34.06 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007466/4.222, allocations: 4.364 MB / 1.936 GB, free: 29.45 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/4.223, allocations: 480.8 kB / 1.937 GB, free: 28.97 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/4.224, allocations: 310.1 kB / 1.937 GB, free: 28.66 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/4.225, allocations: 0.6017 MB / 1.937 GB, free: 27.93 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/4.225, allocations: 43 kB / 1.938 GB, free: 27.88 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 3.406e-06/4.225, allocations: 0 / 1.938 GB, free: 27.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.002381/4.227, allocations: 0.6274 MB / 1.938 GB, free: 27.23 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/4.227, allocations: 59.91 kB / 1.938 GB, free: 27.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/4.229, allocations: 0.6963 MB / 1.939 GB, free: 26.46 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/4.229, allocations: 25.7 kB / 1.939 GB, free: 26.43 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/4.229, allocations: 391.4 kB / 1.939 GB, free: 26.04 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/4.23, allocations: 197 kB / 1.939 GB, free: 25.85 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/4.23, allocations: 0 / 1.939 GB, free: 25.85 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/4.23, allocations: 337.9 kB / 1.94 GB, free: 25.51 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/4.23, allocations: 181.5 kB / 1.94 GB, free: 25.33 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/4.231, allocations: 380.2 kB / 1.94 GB, free: 24.89 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/4.232, allocations: 299 kB / 1.941 GB, free: 24.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/4.232, allocations: 0 / 1.941 GB, free: 24.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002788/4.235, allocations: 0.789 MB / 1.941 GB, free: 23.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002899/4.235, allocations: 1.329 MB / 1.943 GB, free: 22.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/4.235, allocations: 8 kB / 1.943 GB, free: 22.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/4.236, allocations: 111.4 kB / 1.943 GB, free: 22.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/4.237, allocations: 131.8 kB / 1.943 GB, free: 22.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/4.241, allocations: 4.659 MB / 1.947 GB, free: 17.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/4.243, allocations: 87.39 kB / 1.948 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/4.243, allocations: 35.98 kB / 1.948 GB, free: 16.95 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/4.243, allocations: 4 kB / 1.948 GB, free: 16.95 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002393/4.245, allocations: 0.6534 MB / 1.948 GB, free: 16.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/4.245, allocations: 4.438 kB / 1.948 GB, free: 16.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/4.246, allocations: 123.3 kB / 1.948 GB, free: 16.14 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/4.247, allocations: 123.8 kB / 1.948 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/4.252, allocations: 5.495 MB / 1.954 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/4.253, allocations: 91.48 kB / 1.954 GB, free: 9.977 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/4.253, allocations: 27.98 kB / 1.954 GB, free: 9.949 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002557/4.254, allocations: 124.8 kB / 1.954 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/4.254, allocations: 94.78 kB / 1.954 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/4.257, allocations: 0.7042 MB / 1.955 GB, free: 9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/4.257, allocations: 4 kB / 1.955 GB, free: 8.996 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/4.257, allocations: 8 kB / 1.955 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002653/4.259, allocations: 0.647 MB / 1.955 GB, free: 8.297 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/4.267, allocations: 1.744 MB / 1.957 GB, free: 6.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/4.267, allocations: 7.938 kB / 1.957 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/4.268, allocations: 95.95 kB / 1.957 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007761/4.269, allocations: 107.4 kB / 1.957 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/4.269, allocations: 7.984 kB / 1.957 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006277/4.276, allocations: 4.624 MB / 1.962 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-05/4.276, allocations: 0 / 1.962 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00419/4.28, allocations: 1.085 MB / 1.963 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4094/4.689, allocations: 269.1 kB / 1.963 GB, free: 261.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/4.69, allocations: 0 / 1.963 GB, free: 261.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/4.691, allocations: 55.39 kB / 1.963 GB, free: 261.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/4.691, allocations: 35.05 kB / 1.963 GB, free: 261.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/4.691, allocations: 30.2 kB / 1.963 GB, free: 261.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001127/4.692, allocations: 0.5307 MB / 1.964 GB, free: 261.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003839/4.696, allocations: 0.7435 MB / 1.965 GB, free: 261.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/4.698, allocations: 0.6615 MB / 1.965 GB, free: 261.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003127/4.701, allocations: 1.611 MB / 1.967 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/4.701, allocations: 1.219 kB / 1.967 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/4.702, allocations: 0.5515 MB / 1.967 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004559/4.707, allocations: 489.6 kB / 1.968 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/4.711, allocations: 1.519 MB / 1.969 GB, free: 259.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/4.712, allocations: 1.192 MB / 1.97 GB, free: 259.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.523e-06/4.712, allocations: 0 / 1.97 GB, free: 259.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.0656/4.778, allocations: 26.12 MB / 1.996 GB, free: 258.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)