Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") translateModel(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") [: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.1-maint.8.0.x/package.mo): time 1.465/1.465, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.001271/0.001271, allocations: 181.3 kB / 361.1 MB, free: 7.121 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.439/1.439, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0009622/0.0009622, allocations: 88.91 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.822e-06/6.933e-06, allocations: 0 / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6915, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9351/1.627, allocations: 417.9 MB / 1.372 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.627, allocations: 90.78 kB / 1.372 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.67/4.297, allocations: 0.7773 GB / 2.149 GB, free: 165.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000876/4.298, allocations: 91.11 kB / 2.149 GB, free: 165.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 733 * Number of variables: 733 Notification: Performance of Generate backend data structure: time 0.01609/4.314, allocations: 3.46 MB / 2.153 GB, free: 163.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/4.314, allocations: 9.562 kB / 2.153 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/4.327, allocations: 1.726 MB / 2.154 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/4.342, allocations: 4.116 MB / 2.158 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/4.342, allocations: 87.97 kB / 2.158 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/4.343, allocations: 165.6 kB / 2.159 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008921/4.352, allocations: 3.408 MB / 2.162 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008065/4.36, allocations: 3.572 MB / 2.165 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.931e-05/4.36, allocations: 9.062 kB / 2.165 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/4.361, allocations: 7.812 kB / 2.165 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/4.361, allocations: 131.8 kB / 2.166 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/4.397, allocations: 16.35 MB / 2.182 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/4.401, allocations: 1.916 MB / 2.183 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/4.403, allocations: 1.232 MB / 2.185 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/4.405, allocations: 1.641 MB / 2.186 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/4.405, allocations: 55.34 kB / 2.186 GB, free: 147.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=164): time 4.599e-06/4.405, allocations: 0 / 2.186 GB, free: 147.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=164): time 0.01296/4.418, allocations: 3.023 MB / 2.189 GB, free: 146.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/4.418, allocations: 120.9 kB / 2.189 GB, free: 146.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/4.422, allocations: 2.407 MB / 2.192 GB, free: 144.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004371/4.423, allocations: 29.69 kB / 2.192 GB, free: 144.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008715/4.424, allocations: 1.171 MB / 2.193 GB, free: 143.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008335/4.425, allocations: 0.5406 MB / 2.193 GB, free: 143.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/4.425, allocations: 0 / 2.193 GB, free: 143.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001348/4.425, allocations: 390.1 kB / 2.194 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/4.427, allocations: 1.059 MB / 2.195 GB, free: 142.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/4.428, allocations: 1.52 MB / 2.196 GB, free: 141.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01554/4.444, allocations: 2.659 MB / 2.199 GB, free: 140.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.825e-05/4.444, allocations: 2.906 kB / 2.199 GB, free: 140.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01946/4.464, allocations: 4.29 MB / 2.203 GB, free: 138.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/4.465, allocations: 4.756 MB / 2.208 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/4.465, allocations: 15.58 kB / 2.208 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.211e-05/4.465, allocations: 21 kB / 2.208 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/4.469, allocations: 0.6841 MB / 2.208 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-05/4.469, allocations: 30.91 kB / 2.208 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005324/4.474, allocations: 415.2 kB / 2.209 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004947/4.475, allocations: 115.8 kB / 2.209 GB, free: 132.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/4.475, allocations: 2.906 kB / 2.209 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01807/4.493, allocations: 3.982 MB / 2.213 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-05/4.493, allocations: 11.38 kB / 2.213 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/4.493, allocations: 22.72 kB / 2.213 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003997/4.497, allocations: 0.6916 MB / 2.214 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/4.497, allocations: 29.2 kB / 2.214 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005092/4.502, allocations: 349.4 kB / 2.214 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004147/4.503, allocations: 125.1 kB / 2.214 GB, free: 130.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 274 * 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.0009505/4.504, allocations: 155.7 kB / 2.214 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/4.505, allocations: 274.1 kB / 2.214 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/4.52, allocations: 3.631 MB / 2.218 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/4.52, allocations: 21.03 kB / 2.218 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/4.52, allocations: 0 / 2.218 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01089/4.531, allocations: 2.897 MB / 2.221 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/4.551, allocations: 7.834 MB / 2.228 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/4.552, allocations: 4 kB / 2.228 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/4.555, allocations: 480.5 kB / 2.229 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/4.555, allocations: 12 kB / 2.229 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/4.555, allocations: 51 kB / 2.229 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/4.555, allocations: 15.94 kB / 2.229 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/4.555, allocations: 4 kB / 2.229 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01414/4.569, allocations: 4.956 MB / 2.234 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003215/4.572, allocations: 0.8054 MB / 2.235 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/4.574, allocations: 12.94 kB / 2.235 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003968/4.578, allocations: 248.1 kB / 2.235 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/4.578, allocations: 93.08 kB / 2.235 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/4.578, allocations: 84.58 kB / 2.235 GB, free: 111.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003005/4.581, allocations: 1.933 MB / 2.237 GB, free: 109.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00687/4.588, allocations: 1.756 MB / 2.239 GB, free: 107.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001676/4.59, allocations: 0.7736 MB / 2.239 GB, free: 106.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006317/4.596, allocations: 3.992 MB / 2.243 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/4.596, allocations: 4.438 kB / 2.243 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/4.598, allocations: 1.08 MB / 2.244 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007218/4.605, allocations: 1.158 MB / 2.245 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/4.618, allocations: 5.617 MB / 2.251 GB, free: 94.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/4.621, allocations: 2.827 MB / 2.254 GB, free: 92.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/4.621, allocations: 0 / 2.254 GB, free: 92.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1212/4.742, allocations: 78 MB / 2.33 GB, free: 15.34 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)