Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7126/0.7126, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 173.3 kB / 164.4 MB, free: 6.859 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 86.27 kB / 476.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.694e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1689, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/0.6792, allocations: 102.5 MB / 0.721 GB, free: 9.852 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.6795, allocations: 71.95 kB / 0.7211 GB, free: 9.781 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01495/0.6944, allocations: 4.504 MB / 0.7255 GB, free: 5.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.6945, allocations: 0 / 0.7255 GB, free: 5.281 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001304/0.6958, allocations: 0.6286 MB / 0.7261 GB, free: 4.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6958, allocations: 8.031 kB / 0.7261 GB, free: 4.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.696, allocations: 35.81 kB / 0.7261 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009199/0.697, allocations: 338.6 kB / 0.7264 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.697, allocations: 23.89 kB / 0.7265 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.6972, allocations: 39.98 kB / 0.7265 GB, free: 4.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000266/0.6974, allocations: 99.95 kB / 0.7266 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.6979, allocations: 310.5 kB / 0.7269 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.6979, allocations: 0 / 0.7269 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.698, allocations: 11.98 kB / 0.7269 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.698, allocations: 4 kB / 0.7269 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.6986, allocations: 458.2 kB / 0.7273 GB, free: 3.172 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.699, allocations: 284 kB / 0.7276 GB, free: 2.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.6992, allocations: 141.2 kB / 0.7277 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.6993, allocations: 15.84 kB / 0.7278 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004494/0.6997, allocations: 316.2 kB / 0.7281 GB, free: 2.328 MB / 490.7 MB Notification: Performance of pre-optimization done (n=36): time 2.455e-06/0.6997, allocations: 0 / 0.7281 GB, free: 2.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007511/0.7005, allocations: 351.5 kB / 0.7284 GB, free: 1.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7006, allocations: 207.8 kB / 0.7286 GB, free: 1.734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.7008, allocations: 131.2 kB / 0.7287 GB, free: 1.598 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.7008, allocations: 45.7 kB / 0.7288 GB, free: 1.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.7009, allocations: 104.8 kB / 0.7289 GB, free: 1.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.701, allocations: 94.84 kB / 0.729 GB, free: 1.348 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.7011, allocations: 8 kB / 0.729 GB, free: 1.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7012, allocations: 334.8 kB / 0.7293 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.7015, allocations: 196.7 kB / 0.7295 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.7019, allocations: 244.4 kB / 0.7297 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.7025, allocations: 210 kB / 0.7299 GB, free: 356 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7025, allocations: 3.938 kB / 0.7299 GB, free: 352 kB / 490.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0011/0.7036, allocations: 0.5391 MB / 0.7304 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.7036, allocations: 7.984 kB / 0.7304 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7037, allocations: 4 kB / 0.7304 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.7037, allocations: 7.906 kB / 0.7305 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.7038, allocations: 23.92 kB / 0.7305 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7038, allocations: 4.094 kB / 0.7305 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.7044, allocations: 123.6 kB / 0.7306 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.7045, allocations: 27.98 kB / 0.7306 GB, free: 15.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001744/0.7047, allocations: 152.8 kB / 0.7308 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.7048, allocations: 23.8 kB / 0.7308 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.7048, allocations: 20.5 kB / 0.7308 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.7048, allocations: 7.984 kB / 0.7308 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.7048, allocations: 4 kB / 0.7308 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7049, allocations: 3.906 kB / 0.7308 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.7052, allocations: 265.8 kB / 0.7311 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7052, allocations: 8 kB / 0.7311 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.7053, allocations: 15.98 kB / 0.7311 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.7053, allocations: 8 kB / 0.7311 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.7054, allocations: 23.95 kB / 0.7311 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7054, allocations: 0 / 0.7311 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.7054, allocations: 7.938 kB / 0.7311 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006368/0.706, allocations: 465.8 kB / 0.7316 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.7061, allocations: 100.8 kB / 0.7317 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/0.7062, allocations: 23.98 kB / 0.7317 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.7064, allocations: 27.97 kB / 0.7317 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.7065, allocations: 27.95 kB / 0.7318 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.7066, allocations: 31.97 kB / 0.7318 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.422e-05/0.7067, allocations: 107.2 kB / 0.7319 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004568/0.7071, allocations: 115.8 kB / 0.732 GB, free: 14.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0002891/0.7074, allocations: 171.1 kB / 0.7322 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000831/0.7083, allocations: 0.6101 MB / 0.7328 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7083, allocations: 0 / 0.7328 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.7085, allocations: 195.9 kB / 0.7329 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.7087, allocations: 18.42 kB / 0.733 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.7095, allocations: 357.2 kB / 0.7333 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.7098, allocations: 0.7479 MB / 0.734 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/0.7098, allocations: 0 / 0.734 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.008969/0.7188, allocations: 4.685 MB / 0.7386 GB, free: 7.273 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)