Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [: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.1.4-maint.8.1.x/package.mo): time 1.396/1.396, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001017/0.001017, allocations: 183.8 kB / 366.3 MB, free: 1.949 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.041/1.041, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0007807/0.0007807, allocations: 88.2 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.961e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4072, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.5441, allocations: 141.3 MB / 1.111 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.5444, allocations: 79.95 kB / 1.111 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02279/0.5672, allocations: 9.017 MB / 1.119 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.5672, allocations: 4 kB / 1.119 GB, free: 14.1 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005229/0.5677, allocations: 0.499 MB / 1.12 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5678, allocations: 8.031 kB / 1.12 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.5678, allocations: 27.62 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5682, allocations: 266.5 kB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.5682, allocations: 4 kB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.5682, allocations: 15.94 kB / 1.12 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008348/0.5691, allocations: 0.7256 MB / 1.121 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.5693, allocations: 196.7 kB / 1.121 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5693, allocations: 0 / 1.121 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.5694, allocations: 0 / 1.121 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5694, allocations: 4 kB / 1.121 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.5701, allocations: 0.5284 MB / 1.122 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.5705, allocations: 280.1 kB / 1.122 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.5706, allocations: 89.41 kB / 1.122 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.5707, allocations: 24.25 kB / 1.122 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.5709, allocations: 149.9 kB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 3.036e-06/0.5709, allocations: 3.984 kB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.0004291/0.5713, allocations: 269.1 kB / 1.122 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.5714, allocations: 132.5 kB / 1.123 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.5717, allocations: 258.9 kB / 1.123 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.5717, allocations: 25.7 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.5718, allocations: 96.78 kB / 1.123 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.5718, allocations: 106.4 kB / 1.123 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.5719, allocations: 0 / 1.123 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.572, allocations: 342.7 kB / 1.123 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.5721, allocations: 79.91 kB / 1.123 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5722, allocations: 115.6 kB / 1.124 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.5724, allocations: 99.92 kB / 1.124 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5724, allocations: 0 / 1.124 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003697/0.5728, allocations: 265.6 kB / 1.124 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5728, allocations: 4 kB / 1.124 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5728, allocations: 0 / 1.124 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5728, allocations: 4 kB / 1.124 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.5731, allocations: 63.91 kB / 1.124 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.5731, allocations: 0 / 1.124 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.5732, allocations: 27.73 kB / 1.124 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.5732, allocations: 12 kB / 1.124 GB, free: 9.188 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 8.782e-05/0.5733, allocations: 108.9 kB / 1.124 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.5734, allocations: 27.62 kB / 1.124 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/0.574, allocations: 383 kB / 1.124 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.574, allocations: 7.984 kB / 1.125 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.574, allocations: 3.938 kB / 1.125 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5741, allocations: 0 / 1.125 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.5743, allocations: 297.8 kB / 1.125 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5743, allocations: 0 / 1.125 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5745, allocations: 59.91 kB / 1.125 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.5745, allocations: 4 kB / 1.125 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.5745, allocations: 7.984 kB / 1.125 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.5745, allocations: 0 / 1.125 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5746, allocations: 6.422 kB / 1.125 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003852/0.5749, allocations: 298.4 kB / 1.125 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.5751, allocations: 160.6 kB / 1.125 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.5751, allocations: 0 / 1.125 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.5753, allocations: 11.98 kB / 1.125 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5753, allocations: 27.97 kB / 1.125 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.5754, allocations: 8 kB / 1.125 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001655/0.5755, allocations: 213.6 kB / 1.126 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002813/0.5758, allocations: 59.89 kB / 1.126 GB, free: 7.477 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005735/0.5764, allocations: 315.4 kB / 1.126 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.5767, allocations: 207.8 kB / 1.126 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5767, allocations: 4 kB / 1.126 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.5769, allocations: 127.8 kB / 1.126 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.5771, allocations: 18.17 kB / 1.126 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.5777, allocations: 392.8 kB / 1.127 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.5781, allocations: 0.8167 MB / 1.127 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.5781, allocations: 0 / 1.127 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of Templates: time 0.006416/0.5845, allocations: 3.525 MB / 1.131 GB, free: 2.125 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)