Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") [: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.549/1.549, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001291/0.001291, allocations: 183.6 kB / 361.1 MB, free: 7.129 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.569/1.569, 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.001037/0.001037, allocations: 89.58 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.814e-06/7.844e-06, allocations: 0 / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.7787, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/5.51, allocations: 2.109 GB / 3.073 GB, free: 324.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/5.511, allocations: 84.27 kB / 3.073 GB, free: 324.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.78/11.29, allocations: 1.903 GB / 4.976 GB, free: 152.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000801/11.29, allocations: 131.7 kB / 4.976 GB, free: 152.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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02185/11.31, allocations: 5.572 MB / 4.982 GB, free: 149.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/11.31, allocations: 7.344 kB / 4.982 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/11.33, allocations: 1.624 MB / 4.983 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/11.34, allocations: 5.495 MB / 4.989 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/11.34, allocations: 119.3 kB / 4.989 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/11.34, allocations: 226.6 kB / 4.989 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01123/11.36, allocations: 4.544 MB / 4.994 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/11.37, allocations: 4.714 MB / 4.998 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.157e-05/11.37, allocations: 8.938 kB / 4.998 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005812/11.37, allocations: 5.5 kB / 4.998 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/11.37, allocations: 162 kB / 4.998 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03643/11.41, allocations: 19.11 MB / 5.017 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/11.41, allocations: 3.188 MB / 5.02 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/11.41, allocations: 1.668 MB / 5.022 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002512/11.42, allocations: 3.057 MB / 5.025 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002784/11.42, allocations: 1.88 MB / 5.027 GB, free: 135.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 4.649e-06/11.42, allocations: 0 / 5.027 GB, free: 135.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.0167/11.44, allocations: 4.592 MB / 5.031 GB, free: 134.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/11.44, allocations: 291 kB / 5.031 GB, free: 133.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005414/11.44, allocations: 2.934 MB / 5.034 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008625/11.44, allocations: 31.08 kB / 5.034 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/11.44, allocations: 1.364 MB / 5.036 GB, free: 131.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002137/11.45, allocations: 0.9324 MB / 5.036 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/11.45, allocations: 0 / 5.036 GB, free: 131.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001629/11.45, allocations: 424.4 kB / 5.037 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/11.45, allocations: 1.389 MB / 5.038 GB, free: 129.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/11.45, allocations: 2.012 MB / 5.04 GB, free: 127.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/11.47, allocations: 3.108 MB / 5.043 GB, free: 125 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/11.47, allocations: 4 kB / 5.043 GB, free: 125 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.02155/11.49, allocations: 5.374 MB / 5.048 GB, free: 120.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001068/11.49, allocations: 6.434 MB / 5.055 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/11.49, allocations: 12 kB / 5.055 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/11.49, allocations: 114 kB / 5.055 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/11.49, allocations: 0.8187 MB / 5.056 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/11.5, allocations: 2.095 MB / 5.058 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/11.5, allocations: 441.6 kB / 5.058 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/11.5, allocations: 205.7 kB / 5.058 GB, free: 110.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/11.5, allocations: 4 kB / 5.058 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01959/11.52, allocations: 4.903 MB / 5.063 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/11.52, allocations: 17.56 kB / 5.063 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/11.52, allocations: 109.2 kB / 5.063 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/11.53, allocations: 0.8086 MB / 5.064 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/11.53, allocations: 1.508 MB / 5.065 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00523/11.53, allocations: 393.5 kB / 5.066 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007106/11.53, allocations: 199.9 kB / 5.066 GB, free: 103.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001298/11.53, allocations: 185.6 kB / 5.066 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/11.54, allocations: 431.4 kB / 5.067 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/11.56, allocations: 6.268 MB / 5.073 GB, free: 96.74 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/11.56, allocations: 35.94 kB / 5.073 GB, free: 96.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/11.56, allocations: 0 / 5.073 GB, free: 96.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01532/11.57, allocations: 4.649 MB / 5.077 GB, free: 91.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/11.6, allocations: 10.03 MB / 5.087 GB, free: 81.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/11.6, allocations: 0 / 5.087 GB, free: 81.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003481/11.6, allocations: 0.6102 MB / 5.088 GB, free: 81.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/11.61, allocations: 495.3 kB / 5.088 GB, free: 80.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/11.61, allocations: 67.91 kB / 5.088 GB, free: 80.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/11.61, allocations: 7.706 MB / 5.096 GB, free: 72.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/11.61, allocations: 0 / 5.096 GB, free: 72.72 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0193/11.63, allocations: 7.441 MB / 5.103 GB, free: 65.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003526/11.63, allocations: 1.155 MB / 5.104 GB, free: 64.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/11.64, allocations: 7.984 kB / 5.104 GB, free: 64.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004374/11.64, allocations: 274.9 kB / 5.104 GB, free: 63.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/11.64, allocations: 162.1 kB / 5.105 GB, free: 63.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/11.64, allocations: 131.9 kB / 5.105 GB, free: 63.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003299/11.64, allocations: 2.261 MB / 5.107 GB, free: 61.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009403/11.65, allocations: 2.89 MB / 5.11 GB, free: 58.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 257 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004554/11.66, allocations: 2.141 MB / 5.112 GB, free: 56.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008546/11.67, allocations: 5.838 MB / 5.118 GB, free: 50.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/11.67, allocations: 0.5 kB / 5.118 GB, free: 50.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/11.67, allocations: 2.028 MB / 5.12 GB, free: 48.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008928/11.68, allocations: 1.622 MB / 5.121 GB, free: 47.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06052/11.74, allocations: 23.51 MB / 5.144 GB, free: 23.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00864/11.75, allocations: 3.728 MB / 5.148 GB, free: 20.11 MB / 0.948 GB Notification: Performance of SimCode: time 2.023e-06/11.75, allocations: 0 / 5.148 GB, free: 20.11 MB / 0.948 GB Notification: Performance of Templates: time 0.6293/12.38, allocations: 115.1 MB / 5.26 GB, free: 227.6 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)