Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") [: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.466/1.466, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.00106/0.00106, allocations: 191.4 kB / 361.1 MB, free: 7.117 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.424/1.424, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0009217/0.000922, allocations: 91.91 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.045e-05, allocations: 4 kB / 0.8511 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6596, allocations: 115.3 MB / 0.9637 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9432/1.603, allocations: 426.6 MB / 1.38 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.603, allocations: 95.98 kB / 1.38 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.64/5.243, allocations: 0.9705 GB / 2.351 GB, free: 210.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00054/5.244, allocations: 76.2 kB / 2.351 GB, free: 210.6 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.009265/5.253, allocations: 2.674 MB / 2.353 GB, free: 209.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/5.253, allocations: 13.41 kB / 2.353 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/5.255, allocations: 352.8 kB / 2.354 GB, free: 209.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008741/5.264, allocations: 3.074 MB / 2.357 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/5.264, allocations: 75.94 kB / 2.357 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009688/5.265, allocations: 140.2 kB / 2.357 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005641/5.271, allocations: 2.261 MB / 2.359 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007051/5.278, allocations: 2.704 MB / 2.362 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.669e-05/5.278, allocations: 11.41 kB / 2.362 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/5.278, allocations: 3.969 kB / 2.362 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.611e-05/5.278, allocations: 63.62 kB / 2.362 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/5.295, allocations: 12.95 MB / 2.375 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/5.297, allocations: 1.51 MB / 2.376 GB, free: 202.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/5.299, allocations: 1.125 MB / 2.377 GB, free: 202.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006846/5.299, allocations: 0.7165 MB / 2.378 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/5.299, allocations: 55.19 kB / 2.378 GB, free: 201.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 4.018e-06/5.299, allocations: 0 / 2.378 GB, free: 201.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.00328/5.303, allocations: 1.672 MB / 2.38 GB, free: 201.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/5.303, allocations: 146.5 kB / 2.38 GB, free: 201.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/5.306, allocations: 1.756 MB / 2.381 GB, free: 200.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/5.306, allocations: 28.55 kB / 2.381 GB, free: 200.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/5.308, allocations: 0.9428 MB / 2.382 GB, free: 200.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005986/5.308, allocations: 420.9 kB / 2.383 GB, free: 200.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/5.308, allocations: 3.344 kB / 2.383 GB, free: 200.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001378/5.309, allocations: 376.6 kB / 2.383 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/5.31, allocations: 0.6804 MB / 2.384 GB, free: 199.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/5.311, allocations: 1.195 MB / 2.385 GB, free: 199.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/5.313, allocations: 0.9522 MB / 2.386 GB, free: 199.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/5.313, allocations: 3.812 kB / 2.386 GB, free: 199.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004717/5.318, allocations: 2.226 MB / 2.388 GB, free: 199 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00197/5.32, allocations: 5.684 MB / 2.394 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.525e-05/5.32, allocations: 15.41 kB / 2.394 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/5.322, allocations: 434 kB / 2.394 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/5.323, allocations: 352.2 kB / 2.394 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/5.327, allocations: 2.976 MB / 2.397 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/5.329, allocations: 270.8 kB / 2.398 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/5.329, allocations: 81.97 kB / 2.398 GB, free: 191.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/5.329, allocations: 3.75 kB / 2.398 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003421/5.333, allocations: 1.963 MB / 2.4 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/5.333, allocations: 13.94 kB / 2.4 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/5.334, allocations: 211.5 kB / 2.4 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/5.335, allocations: 378 kB / 2.4 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/5.339, allocations: 3.682 MB / 2.404 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/5.342, allocations: 241.7 kB / 2.404 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/5.343, allocations: 82.89 kB / 2.404 GB, free: 188.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007885/5.344, allocations: 153.5 kB / 2.404 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009702/5.345, allocations: 202.4 kB / 2.404 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/5.349, allocations: 1.96 MB / 2.406 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/5.349, allocations: 12.19 kB / 2.406 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/5.349, allocations: 2.812 kB / 2.406 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002451/5.352, allocations: 1.561 MB / 2.408 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/5.362, allocations: 4.251 MB / 2.412 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/5.362, allocations: 3.344 kB / 2.412 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/5.363, allocations: 212.2 kB / 2.412 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/5.365, allocations: 412.4 kB / 2.413 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/5.365, allocations: 15.45 kB / 2.413 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/5.367, allocations: 2.896 MB / 2.415 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/5.368, allocations: 3.281 kB / 2.415 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004639/5.372, allocations: 2.95 MB / 2.418 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/5.374, allocations: 0.5426 MB / 2.419 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008266/5.375, allocations: 3.875 kB / 2.419 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/5.377, allocations: 163.9 kB / 2.419 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/5.377, allocations: 91.98 kB / 2.419 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/5.378, allocations: 61.2 kB / 2.419 GB, free: 185 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002809/5.38, allocations: 1.337 MB / 2.42 GB, free: 184.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006923/5.387, allocations: 1.444 MB / 2.422 GB, free: 184.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001626/5.389, allocations: 0.5525 MB / 2.422 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005689/5.395, allocations: 3.141 MB / 2.425 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.253e-05/5.395, allocations: 6.75 kB / 2.425 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/5.396, allocations: 0.9214 MB / 2.426 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006164/5.402, allocations: 1.029 MB / 2.427 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/5.414, allocations: 4.328 MB / 2.432 GB, free: 183.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003622/5.418, allocations: 2.383 MB / 2.434 GB, free: 182.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/5.418, allocations: 0 / 2.434 GB, free: 182.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1026/5.521, allocations: 52.41 MB / 2.485 GB, free: 180 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)