Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [: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.001568/0.001568, allocations: 184.7 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4892/0.4892, 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.417/1.417, allocations: 221.4 MB / 342.8 MB, free: 5.109 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.001091/0.001091, allocations: 87.73 kB / 415.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1872/0.1883, allocations: 78.44 MB / 493.9 MB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.6186, allocations: 72.3 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.7403, allocations: 101.1 MB / 0.6517 GB, free: 8.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.7407, allocations: 71.95 kB / 0.6518 GB, free: 8.793 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.01527/0.7559, allocations: 5.162 MB / 0.6568 GB, free: 3.645 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.756, allocations: 12 kB / 0.6568 GB, free: 3.633 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.7561, allocations: 23.08 kB / 0.6569 GB, free: 3.613 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.7564, allocations: 212.7 kB / 0.6571 GB, free: 3.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.7564, allocations: 4 kB / 0.6571 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.7565, allocations: 12 kB / 0.6571 GB, free: 3.352 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001286/0.7566, allocations: 39.97 kB / 0.6571 GB, free: 3.312 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.7568, allocations: 104.2 kB / 0.6572 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7568, allocations: 0 / 0.6572 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.7568, allocations: 3.906 kB / 0.6572 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.7568, allocations: 0 / 0.6572 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.7571, allocations: 220 kB / 0.6574 GB, free: 2.934 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.7573, allocations: 107.8 kB / 0.6575 GB, free: 2.801 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.7574, allocations: 72.92 kB / 0.6576 GB, free: 2.723 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.7574, allocations: 4 kB / 0.6576 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.7577, allocations: 129.4 kB / 0.6577 GB, free: 2.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.7577, allocations: 0 / 0.6577 GB, free: 2.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003974/0.7581, allocations: 154.1 kB / 0.6579 GB, free: 2.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.7582, allocations: 114.8 kB / 0.658 GB, free: 2.277 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.7583, allocations: 128.1 kB / 0.6581 GB, free: 2.148 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.7583, allocations: 29.7 kB / 0.6581 GB, free: 2.113 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.7584, allocations: 88.64 kB / 0.6582 GB, free: 2.023 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.7585, allocations: 59.23 kB / 0.6583 GB, free: 1.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.7585, allocations: 0 / 0.6583 GB, free: 1.965 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7586, allocations: 330.8 kB / 0.6586 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.7587, allocations: 48.14 kB / 0.6586 GB, free: 1.582 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.7589, allocations: 196.9 kB / 0.6588 GB, free: 1.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.7591, allocations: 75.12 kB / 0.6589 GB, free: 1.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7591, allocations: 0 / 0.6589 GB, free: 1.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003443/0.7595, allocations: 195.1 kB / 0.6591 GB, free: 1.074 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7595, allocations: 8 kB / 0.6591 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.7595, allocations: 7.984 kB / 0.6591 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.7596, allocations: 4 kB / 0.6591 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.7597, allocations: 19.94 kB / 0.6591 GB, free: 1.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7597, allocations: 0 / 0.6591 GB, free: 1.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.7599, allocations: 51.72 kB / 0.6592 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.7599, allocations: 16.31 kB / 0.6592 GB, free: 0.9727 MB / 474.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.0001214/0.7601, allocations: 123.7 kB / 0.6593 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.7601, allocations: 11.81 kB / 0.6593 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.7601, allocations: 12.5 kB / 0.6593 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7601, allocations: 4 kB / 0.6593 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7601, allocations: 0 / 0.6593 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.7602, allocations: 7.984 kB / 0.6593 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.7603, allocations: 178 kB / 0.6595 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7603, allocations: 4 kB / 0.6595 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.7604, allocations: 12 kB / 0.6595 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7604, allocations: 0 / 0.6595 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.7604, allocations: 9.547 kB / 0.6595 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7604, allocations: 0 / 0.6595 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7604, allocations: 0 / 0.6595 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003067/0.7607, allocations: 216.4 kB / 0.6597 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004666/0.7612, allocations: 0.585 MB / 0.6603 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.7613, allocations: 85.02 kB / 0.6604 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.7613, allocations: 7.906 kB / 0.6604 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.7614, allocations: 4 kB / 0.6604 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.7614, allocations: 11.98 kB / 0.6604 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.7615, allocations: 7.984 kB / 0.6604 GB, free: 15.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.22e-05/0.7615, allocations: 107.2 kB / 0.6605 GB, free: 15.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009853/0.7625, allocations: 123.9 kB / 0.6606 GB, free: 15.35 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.0003837/0.7629, allocations: 203.7 kB / 0.6608 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.7633, allocations: 211.3 kB / 0.661 GB, free: 14.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7633, allocations: 0 / 0.661 GB, free: 14.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.7634, allocations: 51.94 kB / 0.6611 GB, free: 14.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.7635, allocations: 11.84 kB / 0.6611 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.764, allocations: 177.8 kB / 0.6613 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.7644, allocations: 0.7332 MB / 0.662 GB, free: 13.89 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7644, allocations: 0 / 0.662 GB, free: 13.89 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)