Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.722/0.722, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.00136/0.00136, allocations: 181.2 kB / 164.4 MB, free: 6.879 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.965/1.965, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001308/0.001308, allocations: 85.73 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4582/0.4596, allocations: 82.87 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.6452, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5294/1.175, allocations: 102.4 MB / 0.721 GB, free: 9.852 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.175, allocations: 75.95 kB / 0.7211 GB, free: 9.777 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.01887/1.194, allocations: 5.123 MB / 0.7261 GB, free: 4.598 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.194, allocations: 12 kB / 0.7261 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/1.194, allocations: 39.8 kB / 0.7262 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.195, allocations: 338.6 kB / 0.7265 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/1.195, allocations: 15.89 kB / 0.7265 GB, free: 4.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.196, allocations: 39.98 kB / 0.7265 GB, free: 4.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003161/1.196, allocations: 107.9 kB / 0.7266 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/1.196, allocations: 310.5 kB / 0.7269 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.196, allocations: 3.938 kB / 0.7269 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/1.197, allocations: 7.984 kB / 0.7269 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.197, allocations: 4 kB / 0.7269 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/1.197, allocations: 453.9 kB / 0.7274 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/1.198, allocations: 280.2 kB / 0.7276 GB, free: 2.848 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/1.198, allocations: 149.2 kB / 0.7278 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.198, allocations: 7.906 kB / 0.7278 GB, free: 2.676 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/1.198, allocations: 312.2 kB / 0.7281 GB, free: 2.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=36): time 5.671e-06/1.198, allocations: 4 kB / 0.7281 GB, free: 2.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.000943/1.199, allocations: 361.1 kB / 0.7284 GB, free: 1.977 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000273/1.2, allocations: 199.9 kB / 0.7286 GB, free: 1.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/1.2, allocations: 125.1 kB / 0.7288 GB, free: 1.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/1.2, allocations: 49.69 kB / 0.7288 GB, free: 1.551 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.2, allocations: 96.8 kB / 0.7289 GB, free: 1.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/1.2, allocations: 94.89 kB / 0.729 GB, free: 1.359 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/1.2, allocations: 16 kB / 0.729 GB, free: 1.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/1.201, allocations: 334.8 kB / 0.7293 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/1.201, allocations: 192.8 kB / 0.7295 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/1.202, allocations: 256.3 kB / 0.7297 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/1.202, allocations: 200.3 kB / 0.7299 GB, free: 364 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.202, allocations: 3.938 kB / 0.7299 GB, free: 360 kB / 490.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00127/1.204, allocations: 0.5468 MB / 0.7305 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.204, allocations: 4 kB / 0.7305 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.204, allocations: 0 / 0.7305 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.439e-05/1.204, allocations: 7.906 kB / 0.7305 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/1.204, allocations: 27.92 kB / 0.7305 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.204, allocations: 4 kB / 0.7305 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/1.205, allocations: 123.7 kB / 0.7306 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/1.205, allocations: 27.98 kB / 0.7307 GB, free: 15.61 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.0002915/1.205, allocations: 152.9 kB / 0.7308 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/1.205, allocations: 27.8 kB / 0.7308 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/1.205, allocations: 16.5 kB / 0.7308 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.205, allocations: 4 kB / 0.7309 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.205, allocations: 0 / 0.7309 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.205, allocations: 11.89 kB / 0.7309 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/1.205, allocations: 269.9 kB / 0.7311 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/1.205, allocations: 0 / 0.7311 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.736e-05/1.206, allocations: 23.92 kB / 0.7311 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.206, allocations: 4 kB / 0.7311 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/1.206, allocations: 19.97 kB / 0.7312 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.206, allocations: 8 kB / 0.7312 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.206, allocations: 0 / 0.7312 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007205/1.206, allocations: 473 kB / 0.7316 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007672/1.207, allocations: 0.8242 MB / 0.7324 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/1.207, allocations: 92.86 kB / 0.7325 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.207, allocations: 27.98 kB / 0.7325 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.208, allocations: 27.88 kB / 0.7326 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/1.208, allocations: 31.95 kB / 0.7326 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/1.208, allocations: 35.89 kB / 0.7326 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.275e-05/1.208, allocations: 103.3 kB / 0.7327 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001127/1.209, allocations: 111.9 kB / 0.7328 GB, free: 13.18 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.0003283/1.209, allocations: 179.1 kB / 0.733 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.21, allocations: 0.6061 MB / 0.7336 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.21, allocations: 0 / 0.7336 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003853/1.211, allocations: 196.7 kB / 0.7338 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/1.211, allocations: 23.77 kB / 0.7338 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/1.212, allocations: 356.8 kB / 0.7342 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/1.212, allocations: 0.7525 MB / 0.7349 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/1.212, allocations: 0 / 0.7349 GB, free: 10.99 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)