Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 190.4 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.469/0.469, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.4 MB / 342.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.00118, allocations: 98.89 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.014e-05, allocations: 4 kB / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4559, allocations: 72.3 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5908, allocations: 101.2 MB / 0.6517 GB, free: 7.477 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.5912, allocations: 72.7 kB / 0.6518 GB, free: 7.406 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01497/0.6062, allocations: 4.719 MB / 0.6564 GB, free: 2.699 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.6063, allocations: 8 kB / 0.6564 GB, free: 2.691 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007653/0.607, allocations: 448.2 kB / 0.6568 GB, free: 2.211 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6071, allocations: 8.031 kB / 0.6568 GB, free: 2.203 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.6072, allocations: 16.66 kB / 0.6568 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.6077, allocations: 223.4 kB / 0.657 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6077, allocations: 0 / 0.657 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.6078, allocations: 12 kB / 0.657 GB, free: 1.918 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001435/0.6079, allocations: 43.97 kB / 0.6571 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.6081, allocations: 96.17 kB / 0.6572 GB, free: 1.766 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6081, allocations: 0 / 0.6572 GB, free: 1.766 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.6081, allocations: 4.531 kB / 0.6572 GB, free: 1.762 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.6082, allocations: 4.75 kB / 0.6572 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.6085, allocations: 220 kB / 0.6574 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.6087, allocations: 103.8 kB / 0.6575 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.6088, allocations: 78.66 kB / 0.6576 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.6088, allocations: 0 / 0.6576 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.609, allocations: 120.1 kB / 0.6577 GB, free: 1.145 MB / 474.7 MB Notification: Performance of pre-optimization done (n=21): time 3.917e-06/0.609, allocations: 3.984 kB / 0.6577 GB, free: 1.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005275/0.6095, allocations: 157.3 kB / 0.6578 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.6096, allocations: 121.4 kB / 0.658 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.6097, allocations: 124 kB / 0.6581 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.6098, allocations: 29.7 kB / 0.6581 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.6099, allocations: 100.6 kB / 0.6582 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.6099, allocations: 51.27 kB / 0.6583 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.61, allocations: 0 / 0.6583 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6101, allocations: 326.8 kB / 0.6586 GB, free: 204 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.6102, allocations: 52.12 kB / 0.6586 GB, free: 148 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.6104, allocations: 189 kB / 0.6588 GB, free: 15.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.6107, allocations: 76.56 kB / 0.6589 GB, free: 15.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6107, allocations: 0 / 0.6589 GB, free: 15.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003662/0.611, allocations: 207.3 kB / 0.6591 GB, free: 15.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6111, allocations: 7.984 kB / 0.6591 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.6111, allocations: 4 kB / 0.6591 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6111, allocations: 4 kB / 0.6591 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/0.6112, allocations: 12 kB / 0.6591 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.6113, allocations: 11.92 kB / 0.6591 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.6115, allocations: 47.81 kB / 0.6591 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.6115, allocations: 8.656 kB / 0.6592 GB, free: 15.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001156/0.6117, allocations: 119.6 kB / 0.6593 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.6117, allocations: 15.81 kB / 0.6593 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.6118, allocations: 12.48 kB / 0.6593 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.6118, allocations: 4 kB / 0.6593 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6118, allocations: 0 / 0.6593 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6118, allocations: 4 kB / 0.6593 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.612, allocations: 174 kB / 0.6595 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.612, allocations: 0.6875 kB / 0.6595 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.612, allocations: 15.92 kB / 0.6595 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6121, allocations: 5.875 kB / 0.6595 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.6121, allocations: 8 kB / 0.6595 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6121, allocations: 0.8125 kB / 0.6595 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6121, allocations: 4 kB / 0.6595 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003355/0.6124, allocations: 211.2 kB / 0.6597 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.6125, allocations: 92.91 kB / 0.6598 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.6126, allocations: 7.938 kB / 0.6598 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.6126, allocations: 4 kB / 0.6598 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.6127, allocations: 15.98 kB / 0.6598 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.6127, allocations: 4 kB / 0.6598 GB, free: 14.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.063e-05/0.6128, allocations: 110.3 kB / 0.6599 GB, free: 14.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004833/0.6133, allocations: 115.8 kB / 0.66 GB, free: 14.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004745/0.6138, allocations: 207.1 kB / 0.6602 GB, free: 14.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.6142, allocations: 213.3 kB / 0.6604 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6142, allocations: 0 / 0.6604 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/0.6143, allocations: 52.17 kB / 0.6605 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.6144, allocations: 7.938 kB / 0.6605 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.6149, allocations: 176.3 kB / 0.6607 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.6153, allocations: 0.7313 MB / 0.6614 GB, free: 13.09 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6153, allocations: 0 / 0.6614 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Templates: time 0.007082/0.6224, allocations: 2.98 MB / 0.6643 GB, free: 10.15 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)