Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.591/1.591, allocations: 289.8 MB / 297.1 MB, free: 9.008 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.001065/0.001064, allocations: 173.3 kB / 366.3 MB, free: 11.33 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.47/1.47, allocations: 205.1 MB / 0.6256 GB, free: 11.42 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.001029/0.001029, allocations: 103.6 kB / 0.7396 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.145e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 116.3 MB / 0.9726 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6673/0.9035, allocations: 141.2 MB / 1.111 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.9037, allocations: 93.73 kB / 1.111 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.01349/0.9172, allocations: 3.073 MB / 1.114 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.9173, allocations: 0 / 1.114 GB, free: 15.73 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000293/0.9176, allocations: 354.6 kB / 1.114 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.9177, allocations: 8.344 kB / 1.114 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.9177, allocations: 85.41 kB / 1.114 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.918, allocations: 271.7 kB / 1.114 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.918, allocations: 151.6 kB / 1.114 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.918, allocations: 150.6 kB / 1.115 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.174e-05/0.9181, allocations: 155.5 kB / 1.115 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.981e-05/0.9181, allocations: 108.4 kB / 1.115 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.9181, allocations: 79.28 kB / 1.115 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.9182, allocations: 152.1 kB / 1.115 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.9182, allocations: 151.4 kB / 1.115 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.9184, allocations: 446.2 kB / 1.116 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/0.9185, allocations: 171.1 kB / 1.116 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.9185, allocations: 81.3 kB / 1.116 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.9185, allocations: 75.28 kB / 1.116 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.9186, allocations: 114.7 kB / 1.116 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.9186, allocations: 0 / 1.116 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.398e-05/0.9187, allocations: 32.98 kB / 1.116 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.9187, allocations: 53.05 kB / 1.116 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.9188, allocations: 122 kB / 1.116 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.9188, allocations: 26.7 kB / 1.116 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.9188, allocations: 87.36 kB / 1.116 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.9188, allocations: 0 / 1.116 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.9188, allocations: 0 / 1.116 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.9189, allocations: 326.6 kB / 1.117 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.9189, allocations: 3.031 kB / 1.117 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.919, allocations: 2.219 kB / 1.117 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.9191, allocations: 28.81 kB / 1.117 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9191, allocations: 0 / 1.117 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002121/0.9193, allocations: 64.28 kB / 1.117 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.9194, allocations: 11 kB / 1.117 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.9194, allocations: 2.062 kB / 1.117 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.9194, allocations: 1.031 kB / 1.117 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.9194, allocations: 4.062 kB / 1.117 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.9194, allocations: 0 / 1.117 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.9195, allocations: 4.094 kB / 1.117 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.9195, allocations: 2.609 kB / 1.117 GB, free: 12.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.9195, allocations: 177.5 kB / 1.117 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.9196, allocations: 107 kB / 1.117 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.9196, allocations: 116.8 kB / 1.117 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.9196, allocations: 189.1 kB / 1.117 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/0.9197, allocations: 182.6 kB / 1.118 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/0.9197, allocations: 182 kB / 1.118 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.9199, allocations: 390.2 kB / 1.118 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.9199, allocations: 102.2 kB / 1.118 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.9199, allocations: 107.3 kB / 1.118 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.677e-05/0.9199, allocations: 189.2 kB / 1.118 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.92, allocations: 178.6 kB / 1.119 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.768e-05/0.92, allocations: 184.9 kB / 1.119 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-05/0.9201, allocations: 177.8 kB / 1.119 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001218/0.9202, allocations: 315.5 kB / 1.119 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.9203, allocations: 185.2 kB / 1.119 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.9204, allocations: 183 kB / 1.12 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.9204, allocations: 106 kB / 1.12 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.9205, allocations: 178.8 kB / 1.12 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.9205, allocations: 104.9 kB / 1.12 GB, free: 25.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001173/0.9207, allocations: 103 kB / 1.12 GB, free: 24.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002992/0.921, allocations: 41.56 kB / 1.12 GB, free: 24.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003429/0.9213, allocations: 231.2 kB / 1.12 GB, free: 24.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.9214, allocations: 43.38 kB / 1.12 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9214, allocations: 0 / 1.12 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.9214, allocations: 1.188 kB / 1.12 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.9218, allocations: 0.5251 MB / 1.121 GB, free: 24.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.922, allocations: 144.1 kB / 1.121 GB, free: 24.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.9223, allocations: 0.6989 MB / 1.122 GB, free: 23.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.9223, allocations: 0 / 1.122 GB, free: 23.4 MB / 0.698 GB Notification: Performance of Templates: time 0.004183/0.9265, allocations: 1.44 MB / 1.123 GB, free: 23.28 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)