Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [: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.751/0.751, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001194/0.001194, allocations: 181.3 kB / 164.4 MB, free: 6.906 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.365/1.365, allocations: 205.1 MB / 399.1 MB, free: 6.223 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.0009451/0.0009451, allocations: 97.19 kB / 476.3 MB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.864e-06/7.905e-06, allocations: 4 kB / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5797, allocations: 102.4 MB / 0.7209 GB, free: 9.961 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.58, allocations: 79.92 kB / 0.721 GB, free: 9.883 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01111/0.5911, allocations: 3.085 MB / 0.724 GB, free: 6.801 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.5912, allocations: 8 kB / 0.724 GB, free: 6.793 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001087/0.5923, allocations: 0.5366 MB / 0.7246 GB, free: 6.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5923, allocations: 15.95 kB / 0.7246 GB, free: 6.184 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.5925, allocations: 31.75 kB / 0.7246 GB, free: 6.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.5932, allocations: 278.7 kB / 0.7249 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.5933, allocations: 8 kB / 0.7249 GB, free: 5.832 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.5933, allocations: 27.98 kB / 0.7249 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002197/0.5936, allocations: 75.97 kB / 0.725 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.594, allocations: 242.7 kB / 0.7252 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.594, allocations: 3.984 kB / 0.7252 GB, free: 5.477 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.594, allocations: 7.984 kB / 0.7252 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.594, allocations: 4 kB / 0.7252 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.5945, allocations: 356.4 kB / 0.7256 GB, free: 5.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.5948, allocations: 214.4 kB / 0.7258 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.595, allocations: 111.9 kB / 0.7259 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.595, allocations: 4 kB / 0.7259 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.5954, allocations: 246.5 kB / 0.7261 GB, free: 4.434 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 2.354e-06/0.5954, allocations: 0 / 0.7261 GB, free: 4.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005474/0.596, allocations: 282.1 kB / 0.7264 GB, free: 4.152 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.596, allocations: 140.5 kB / 0.7265 GB, free: 3.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5962, allocations: 133 kB / 0.7266 GB, free: 3.848 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.5962, allocations: 41.69 kB / 0.7267 GB, free: 3.801 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.5963, allocations: 96.58 kB / 0.7268 GB, free: 3.703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.5964, allocations: 51.33 kB / 0.7268 GB, free: 3.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.5964, allocations: 8 kB / 0.7268 GB, free: 3.645 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5966, allocations: 338.8 kB / 0.7272 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.5969, allocations: 159.9 kB / 0.7273 GB, free: 3.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.5972, allocations: 191.4 kB / 0.7275 GB, free: 2.949 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.5975, allocations: 143.8 kB / 0.7276 GB, free: 2.809 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5976, allocations: 3.938 kB / 0.7276 GB, free: 2.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008291/0.5984, allocations: 439.3 kB / 0.7281 GB, free: 2.371 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5984, allocations: 4 kB / 0.7281 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5984, allocations: 7.844 kB / 0.7281 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5985, allocations: 4 kB / 0.7281 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5986, allocations: 15.98 kB / 0.7281 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5986, allocations: 3.938 kB / 0.7281 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.599, allocations: 79.83 kB / 0.7282 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.5991, allocations: 27.97 kB / 0.7282 GB, free: 2.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001353/0.5992, allocations: 123.6 kB / 0.7283 GB, free: 2.105 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.5993, allocations: 23.8 kB / 0.7283 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.5993, allocations: 20.48 kB / 0.7283 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5993, allocations: 0 / 0.7283 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.5994, allocations: 7.906 kB / 0.7284 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.5994, allocations: 11.86 kB / 0.7284 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.5996, allocations: 226 kB / 0.7286 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5996, allocations: 0 / 0.7286 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.5997, allocations: 15.98 kB / 0.7286 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5997, allocations: 4 kB / 0.7286 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.5997, allocations: 15.97 kB / 0.7286 GB, free: 1.754 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5997, allocations: 4 kB / 0.7286 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5998, allocations: 0 / 0.7286 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004742/0.6002, allocations: 360.5 kB / 0.729 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.6003, allocations: 92.86 kB / 0.7291 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.6004, allocations: 19.98 kB / 0.7291 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.6005, allocations: 15.98 kB / 0.7291 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.6006, allocations: 27.91 kB / 0.7291 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.6007, allocations: 19.97 kB / 0.7291 GB, free: 1.156 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.742e-05/0.6007, allocations: 110 kB / 0.7292 GB, free: 1.051 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.6011, allocations: 71.98 kB / 0.7293 GB, free: 0.9805 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002328/0.6013, allocations: 150.8 kB / 0.7295 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.602, allocations: 459.4 kB / 0.7299 GB, free: 364 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.602, allocations: 0 / 0.7299 GB, free: 364 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.6022, allocations: 152.5 kB / 0.73 GB, free: 212 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.6024, allocations: 7.906 kB / 0.73 GB, free: 204 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.6031, allocations: 307.1 kB / 0.7303 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.6035, allocations: 0.7397 MB / 0.7311 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/0.6035, allocations: 0 / 0.7311 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.006865/0.6104, allocations: 3.179 MB / 0.7342 GB, free: 11.95 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)