Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") [: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.599/1.599, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001374/0.001375, allocations: 193.2 kB / 361.1 MB, free: 7.086 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.772/1.772, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.001072/0.001072, allocations: 83.45 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.977e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8727, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/2.035, allocations: 453.7 MB / 1.407 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/2.036, allocations: 91.83 kB / 1.407 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.312/6.348, allocations: 1.168 GB / 2.575 GB, free: 100 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003279/6.348, allocations: 58.42 kB / 2.575 GB, free: 99.96 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005082/6.353, allocations: 2.084 MB / 2.577 GB, free: 97.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/6.353, allocations: 8.031 kB / 2.577 GB, free: 97.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/6.356, allocations: 483.9 kB / 2.578 GB, free: 97.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006532/6.363, allocations: 2.324 MB / 2.58 GB, free: 95.08 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/6.363, allocations: 36 kB / 2.58 GB, free: 95.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/6.363, allocations: 83.84 kB / 2.58 GB, free: 94.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/6.365, allocations: 0.7854 MB / 2.581 GB, free: 94.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/6.367, allocations: 1.093 MB / 2.582 GB, free: 92.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/6.367, allocations: 4 kB / 2.582 GB, free: 92.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/6.367, allocations: 0 / 2.582 GB, free: 92.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/6.367, allocations: 47.73 kB / 2.582 GB, free: 92.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007715/6.374, allocations: 6.902 MB / 2.589 GB, free: 85.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/6.375, allocations: 0.6181 MB / 2.589 GB, free: 85.03 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/6.376, allocations: 328.3 kB / 2.59 GB, free: 84.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0039/6.38, allocations: 2.818 MB / 2.592 GB, free: 81.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/6.38, allocations: 338.4 kB / 2.593 GB, free: 81.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 2.574e-06/6.38, allocations: 0 / 2.593 GB, free: 81.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.002051/6.382, allocations: 0.846 MB / 2.593 GB, free: 80.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/6.382, allocations: 162.9 kB / 2.594 GB, free: 80.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/6.384, allocations: 1.247 MB / 2.595 GB, free: 78.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/6.384, allocations: 29.7 kB / 2.595 GB, free: 78.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/6.384, allocations: 0.5754 MB / 2.595 GB, free: 78.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/6.384, allocations: 220.8 kB / 2.596 GB, free: 78.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/6.385, allocations: 3.812 kB / 2.596 GB, free: 78.12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/6.385, allocations: 349.9 kB / 2.596 GB, free: 77.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/6.385, allocations: 278.2 kB / 2.596 GB, free: 77.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/6.386, allocations: 0.7034 MB / 2.597 GB, free: 76.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/6.387, allocations: 0.5193 MB / 2.597 GB, free: 76.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/6.387, allocations: 4.719 kB / 2.597 GB, free: 76.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002492/6.39, allocations: 1.179 MB / 2.599 GB, free: 74.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008271/6.391, allocations: 4.511 MB / 2.603 GB, free: 70.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/6.391, allocations: 12 kB / 2.603 GB, free: 70.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/6.391, allocations: 16 kB / 2.603 GB, free: 70 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/6.392, allocations: 259.6 kB / 2.603 GB, free: 69.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/6.392, allocations: 23.92 kB / 2.603 GB, free: 69.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/6.393, allocations: 154.9 kB / 2.603 GB, free: 69.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/6.393, allocations: 63.97 kB / 2.604 GB, free: 69.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/6.393, allocations: 4 kB / 2.604 GB, free: 69.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002149/6.395, allocations: 0.9429 MB / 2.604 GB, free: 68.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/6.395, allocations: 14.94 kB / 2.604 GB, free: 68.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/6.395, allocations: 19.91 kB / 2.604 GB, free: 68.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/6.396, allocations: 259.6 kB / 2.605 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/6.396, allocations: 23.88 kB / 2.605 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/6.398, allocations: 139.1 kB / 2.605 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/6.398, allocations: 55.98 kB / 2.605 GB, free: 68.06 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * 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 0.0002115/6.398, allocations: 148.4 kB / 2.605 GB, free: 67.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/6.398, allocations: 165.8 kB / 2.605 GB, free: 67.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/6.401, allocations: 1.11 MB / 2.606 GB, free: 66.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/6.401, allocations: 8 kB / 2.606 GB, free: 66.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/6.401, allocations: 0 / 2.606 GB, free: 66.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/6.402, allocations: 0.8948 MB / 2.607 GB, free: 65.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/6.407, allocations: 2.107 MB / 2.609 GB, free: 63.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/6.407, allocations: 3.938 kB / 2.609 GB, free: 63.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/6.408, allocations: 147.8 kB / 2.609 GB, free: 63.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/6.408, allocations: 24.84 kB / 2.609 GB, free: 63.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/6.408, allocations: 15.98 kB / 2.609 GB, free: 63.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008267/6.409, allocations: 1.27 MB / 2.611 GB, free: 61.96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/6.409, allocations: 0 / 2.611 GB, free: 61.96 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002461/6.411, allocations: 1.414 MB / 2.612 GB, free: 60.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/6.412, allocations: 346.7 kB / 2.612 GB, free: 60.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/6.412, allocations: 4 kB / 2.612 GB, free: 60.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/6.413, allocations: 75.83 kB / 2.612 GB, free: 60.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/6.414, allocations: 48.58 kB / 2.613 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/6.414, allocations: 31.97 kB / 2.613 GB, free: 59.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00146/6.415, allocations: 0.9313 MB / 2.613 GB, free: 59.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003944/6.419, allocations: 1.009 MB / 2.614 GB, free: 58.06 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002327/6.421, allocations: 1.228 MB / 2.616 GB, free: 57.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002059/6.423, allocations: 1.37 MB / 2.617 GB, free: 55.63 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/6.423, allocations: 0 / 2.617 GB, free: 55.63 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/6.424, allocations: 462 kB / 2.617 GB, free: 55.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/6.427, allocations: 0.6032 MB / 2.618 GB, free: 54.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005353/6.432, allocations: 2.362 MB / 2.62 GB, free: 52.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/6.434, allocations: 1.566 MB / 2.622 GB, free: 50.61 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/6.434, allocations: 0 / 2.622 GB, free: 50.61 MB / 0.948 GB Notification: Performance of Templates: time 0.0591/6.493, allocations: 37.32 MB / 2.658 GB, free: 13.79 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)