Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.332/1.332, 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.000953/0.000953, allocations: 181.3 kB / 361.1 MB, free: 7.098 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.085/1.085, 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.0007997/0.0007995, allocations: 91.55 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.702e-06/6.723e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4393, allocations: 115.3 MB / 0.9637 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5815, allocations: 140.3 MB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.5817, allocations: 89.56 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02341/0.6052, allocations: 9.012 MB / 1.11 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.6052, allocations: 5.812 kB / 1.11 GB, free: 6.695 MB / 0.7136 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.0005306/0.6057, allocations: 0.4921 MB / 1.11 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6058, allocations: 12.53 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.6058, allocations: 27.62 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.6062, allocations: 266.6 kB / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.6062, allocations: 4 kB / 1.11 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.6063, allocations: 11.94 kB / 1.11 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008147/0.6071, allocations: 0.7217 MB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.6073, allocations: 192.2 kB / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6074, allocations: 0 / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.6074, allocations: 4 kB / 1.111 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.6074, allocations: 7.984 kB / 1.111 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007383/0.6081, allocations: 0.527 MB / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.6085, allocations: 276.1 kB / 1.112 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.6087, allocations: 101.5 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.6087, allocations: 16.25 kB / 1.112 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.609, allocations: 157.9 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.609, allocations: 0 / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.0004343/0.6094, allocations: 257.1 kB / 1.113 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.6095, allocations: 140.5 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.6097, allocations: 254.9 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.6098, allocations: 29.7 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.6098, allocations: 100.8 kB / 1.113 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.6099, allocations: 106.4 kB / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.6099, allocations: 0 / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.61, allocations: 342.7 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.6102, allocations: 71.98 kB / 1.114 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.6103, allocations: 120.2 kB / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.6105, allocations: 103.9 kB / 1.114 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6105, allocations: 0 / 1.114 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004008/0.6109, allocations: 249.8 kB / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6109, allocations: 11.98 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6109, allocations: 0 / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6109, allocations: 3.938 kB / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.6112, allocations: 59.97 kB / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.6112, allocations: 0 / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6113, allocations: 32.67 kB / 1.114 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.6114, allocations: 12 kB / 1.114 GB, free: 1.805 MB / 0.7136 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 9.131e-05/0.6115, allocations: 110.8 kB / 1.114 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.6115, allocations: 27.62 kB / 1.114 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.6121, allocations: 375.1 kB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6122, allocations: 4 kB / 1.115 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6122, allocations: 3.938 kB / 1.115 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6122, allocations: 7.984 kB / 1.115 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.6125, allocations: 297.8 kB / 1.115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6125, allocations: 0 / 1.115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.6126, allocations: 65.59 kB / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6127, allocations: 0 / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.6127, allocations: 4 kB / 1.115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6127, allocations: 0 / 1.115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6127, allocations: 4 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003872/0.6131, allocations: 302.4 kB / 1.115 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.6132, allocations: 156.6 kB / 1.115 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.6133, allocations: 9.484 kB / 1.115 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.6134, allocations: 8 kB / 1.115 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.6135, allocations: 19.95 kB / 1.115 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.6135, allocations: 12 kB / 1.115 GB, free: 372 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000177/0.6137, allocations: 213.6 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002739/0.614, allocations: 63.91 kB / 1.116 GB, free: 96 kB / 0.7136 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.0005502/0.6145, allocations: 317.4 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.6149, allocations: 212.1 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6149, allocations: 4 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.615, allocations: 119.9 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.6152, allocations: 20.59 kB / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.6159, allocations: 397.6 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.6163, allocations: 0.8136 MB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.6163, allocations: 4 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.006499/0.6228, allocations: 3.522 MB / 1.121 GB, free: 10.84 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)