Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 177.3 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000847/0.0008471, allocations: 86.28 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3255/0.3264, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.4798, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.937, allocations: 135 MB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.9373, allocations: 95.16 kB / 1.017 GB, free: 3.453 MB / 0.6355 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.01282/0.9501, allocations: 3.417 MB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.9502, allocations: 16 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.9502, allocations: 79.19 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.9505, allocations: 265.5 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.9506, allocations: 150.6 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.9506, allocations: 155.8 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.122e-05/0.9507, allocations: 170 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.012e-05/0.9508, allocations: 101 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.9508, allocations: 75.28 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.9509, allocations: 154.5 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.9509, allocations: 150.6 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.9512, allocations: 445.2 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.9513, allocations: 169.1 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.9513, allocations: 80.14 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.9514, allocations: 75.28 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.906e-05/0.9514, allocations: 113.3 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9515, allocations: 4 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.2e-05/0.9515, allocations: 29.61 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.9516, allocations: 51.41 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.9517, allocations: 122.2 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.9517, allocations: 25.7 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.9517, allocations: 87.69 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.9517, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.9518, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9519, allocations: 318.2 kB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.9519, allocations: 15.38 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.9519, allocations: 0 / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.952, allocations: 23.97 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9521, allocations: 0 / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001885/0.9522, allocations: 72.66 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.9523, allocations: 4 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.9523, allocations: 3.938 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.9523, allocations: 0 / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.9523, allocations: 4 kB / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.9523, allocations: 0 / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.9523, allocations: 7.969 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.9524, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.6511 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 8.34e-05/0.9524, allocations: 176.3 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.9525, allocations: 120.2 kB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.9526, allocations: 112.6 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/0.9526, allocations: 176.3 kB / 1.023 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-05/0.9527, allocations: 184.2 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.288e-05/0.9528, allocations: 181 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.953, allocations: 396.4 kB / 1.024 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.953, allocations: 104.9 kB / 1.024 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.9531, allocations: 101 kB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.906e-05/0.9531, allocations: 188.3 kB / 1.024 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.9532, allocations: 184.2 kB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-05/0.9533, allocations: 176.3 kB / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-05/0.9533, allocations: 179.7 kB / 1.025 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001192/0.9535, allocations: 309 kB / 1.025 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002511/0.9537, allocations: 0.6864 MB / 1.026 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.9538, allocations: 186 kB / 1.026 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.9539, allocations: 180.2 kB / 1.026 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.954, allocations: 104.9 kB / 1.026 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.954, allocations: 188.2 kB / 1.027 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.9541, allocations: 101.3 kB / 1.027 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.263e-05/0.9541, allocations: 98.64 kB / 1.027 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008119/0.9549, allocations: 43.88 kB / 1.027 GB, free: 9.055 MB / 0.6511 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.000326/0.9553, allocations: 236.8 kB / 1.027 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.667e-05/0.9554, allocations: 44.64 kB / 1.027 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.9554, allocations: 0 / 1.027 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.9554, allocations: 4 kB / 1.027 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.9557, allocations: 0.5262 MB / 1.028 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.9559, allocations: 146.9 kB / 1.028 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.9562, allocations: 0.6958 MB / 1.028 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of SimCode: time 2.064e-06/0.9562, allocations: 0 / 1.028 GB, free: 7.352 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)