Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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 8.0.0/package.mo): time 2.414/2.414, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.00168/0.001679, allocations: 185.3 kB / 360.3 MB, free: 7.523 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.929/1.929, allocations: 205.1 MB / 0.6187 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001327/0.001326, allocations: 95.11 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3034/0.3047, allocations: 121.4 MB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.962, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/1.21, allocations: 145.7 MB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004281/1.21, allocations: 106 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.08235/1.293, allocations: 18.05 MB / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.293, allocations: 8.5 kB / 1.123 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/1.293, allocations: 47.44 kB / 1.123 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007877/1.294, allocations: 351.6 kB / 1.123 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/1.294, allocations: 11.98 kB / 1.123 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/1.294, allocations: 12 kB / 1.123 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004509/1.294, allocations: 128.8 kB / 1.123 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/1.295, allocations: 146.5 kB / 1.123 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/1.295, allocations: 0 / 1.123 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/1.295, allocations: 224 / 1.123 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/1.295, allocations: 11.98 kB / 1.123 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/1.297, allocations: 0.8283 MB / 1.124 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/1.297, allocations: 109.9 kB / 1.124 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/1.298, allocations: 92.2 kB / 1.124 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/1.298, allocations: 4 kB / 1.124 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.298, allocations: 30.88 kB / 1.124 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.474e-06/1.298, allocations: 0 / 1.124 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005173/1.298, allocations: 165 kB / 1.125 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.298, allocations: 51.41 kB / 1.125 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/1.299, allocations: 334.1 kB / 1.125 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/1.299, allocations: 25.7 kB / 1.125 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/1.299, allocations: 148.2 kB / 1.125 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/1.299, allocations: 63.09 kB / 1.125 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/1.299, allocations: 0 / 1.125 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.299, allocations: 350.8 kB / 1.126 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/1.299, allocations: 36.34 kB / 1.126 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/1.3, allocations: 44.64 kB / 1.126 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/1.3, allocations: 45.02 kB / 1.126 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.3, allocations: 4 kB / 1.126 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004522/1.3, allocations: 163.6 kB / 1.126 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.3, allocations: 8 kB / 1.126 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.3, allocations: 3.984 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.3, allocations: 5.578 kB / 1.126 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/1.301, allocations: 59.91 kB / 1.126 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.301, allocations: 0 / 1.126 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/1.301, allocations: 27.83 kB / 1.126 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/1.301, allocations: 4 kB / 1.126 GB, free: 5.586 MB / 0.7292 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 (20): * Single equations (assignments): 20 * 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 0.0001318/1.302, allocations: 112.6 kB / 1.126 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.302, allocations: 31.62 kB / 1.126 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/1.302, allocations: 35.19 kB / 1.126 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.302, allocations: 4 kB / 1.126 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.302, allocations: 6.938 kB / 1.126 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.302, allocations: 7.891 kB / 1.126 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/1.303, allocations: 325.9 kB / 1.126 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.108e-06/1.303, allocations: 11.92 kB / 1.126 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/1.303, allocations: 55.97 kB / 1.127 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/1.303, allocations: 0 / 1.127 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/1.303, allocations: 4 kB / 1.127 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.303, allocations: 0 / 1.127 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.303, allocations: 4.75 kB / 1.127 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007714/1.304, allocations: 328.1 kB / 1.127 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00106/1.305, allocations: 0.7592 MB / 1.128 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/1.305, allocations: 121.1 kB / 1.128 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/1.305, allocations: 0 / 1.128 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/1.306, allocations: 11.98 kB / 1.128 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/1.306, allocations: 11.98 kB / 1.128 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/1.306, allocations: 4 kB / 1.128 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005122/1.306, allocations: 261.3 kB / 1.128 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001486/1.308, allocations: 91.69 kB / 1.128 GB, free: 3.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0005098/1.308, allocations: 256 kB / 1.128 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003916/1.309, allocations: 107.9 kB / 1.128 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.309, allocations: 0 / 1.128 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/1.309, allocations: 70.75 kB / 1.128 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/1.31, allocations: 75.14 kB / 1.129 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/1.312, allocations: 0.5068 MB / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/1.312, allocations: 0.8374 MB / 1.13 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of SimCode: time 1.433e-06/1.312, allocations: 0.9375 kB / 1.13 GB, free: 1.461 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)