Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [: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/BuildSysPro 3.5.0/package.mo): time 0.6966/0.6966, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.1 MB / 399.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009281/0.000928, allocations: 85.16 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.634e-06, allocations: 0 / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 76.75 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.626, allocations: 113.2 MB / 0.7315 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.6264, allocations: 115.9 kB / 0.7316 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.06676/0.6932, allocations: 22.21 MB / 0.7533 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.887e-05/0.6932, allocations: 12 kB / 0.7533 GB, free: 8.789 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001386/0.6946, allocations: 0.767 MB / 0.754 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6947, allocations: 12.03 kB / 0.754 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.6949, allocations: 71.16 kB / 0.7541 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.6956, allocations: 436.8 kB / 0.7545 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.6956, allocations: 12 kB / 0.7545 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.6957, allocations: 35.84 kB / 0.7546 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006266/0.6964, allocations: 306 kB / 0.7549 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.697, allocations: 332.6 kB / 0.7552 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.697, allocations: 0 / 0.7552 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.6971, allocations: 3.938 kB / 0.7552 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.6971, allocations: 12 kB / 0.7552 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.6993, allocations: 1.44 MB / 0.7566 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.6997, allocations: 246.2 kB / 0.7568 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.7001, allocations: 281.6 kB / 0.7571 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.7001, allocations: 8.625 kB / 0.7571 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.7001, allocations: 34.56 kB / 0.7571 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.7001, allocations: 0 / 0.7571 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0005592/0.7007, allocations: 316.4 kB / 0.7574 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.7008, allocations: 55.41 kB / 0.7575 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.7013, allocations: 365.2 kB / 0.7578 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.7013, allocations: 25.7 kB / 0.7579 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.7015, allocations: 224 kB / 0.7581 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.7016, allocations: 141.9 kB / 0.7582 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.7016, allocations: 0 / 0.7582 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7018, allocations: 354.8 kB / 0.7586 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.7019, allocations: 96.75 kB / 0.7586 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.7021, allocations: 97.12 kB / 0.7587 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.7023, allocations: 130.5 kB / 0.7589 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7023, allocations: 0 / 0.7589 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005127/0.7029, allocations: 336.2 kB / 0.7592 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.7029, allocations: 8 kB / 0.7592 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7029, allocations: 0 / 0.7592 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7029, allocations: 4 kB / 0.7592 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.7035, allocations: 127.9 kB / 0.7593 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7035, allocations: 0 / 0.7593 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.7038, allocations: 47.66 kB / 0.7594 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.7038, allocations: 12 kB / 0.7594 GB, free: 2.312 MB / 0.5105 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 8.576e-05/0.7039, allocations: 104.9 kB / 0.7595 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.704, allocations: 47.44 kB / 0.7595 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.7041, allocations: 48.66 kB / 0.7596 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.7041, allocations: 7.906 kB / 0.7596 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.7041, allocations: 4 kB / 0.7596 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7041, allocations: 3.984 kB / 0.7596 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.7047, allocations: 0.4975 MB / 0.7601 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7048, allocations: 0 / 0.7601 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.7053, allocations: 135.8 kB / 0.7602 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.7053, allocations: 0 / 0.7602 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.7054, allocations: 4 kB / 0.7602 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.7054, allocations: 0 / 0.7602 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7054, allocations: 3.984 kB / 0.7602 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000765/0.7062, allocations: 0.5728 MB / 0.7608 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.7063, allocations: 124.5 kB / 0.7609 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.7064, allocations: 3.984 kB / 0.7609 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.7066, allocations: 19.98 kB / 0.7609 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.7067, allocations: 19.97 kB / 0.7609 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.7067, allocations: 16 kB / 0.7609 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003326/0.7071, allocations: 295.2 kB / 0.7612 GB, free: 352 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004515/0.7075, allocations: 139.5 kB / 0.7614 GB, free: 212 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0004629/0.708, allocations: 283.4 kB / 0.7616 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.7084, allocations: 280 kB / 0.7619 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7085, allocations: 0 / 0.7619 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.7087, allocations: 159.9 kB / 0.762 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.7092, allocations: 75.47 kB / 0.7621 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.711, allocations: 0.8888 MB / 0.763 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006216/0.7117, allocations: 0.9245 MB / 0.7639 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of SimCode: time 3.8e-07/0.7117, allocations: 0 / 0.7639 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.01162/0.7233, allocations: 5.391 MB / 0.7692 GB, free: 8.254 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)