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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",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.7512/0.7512, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001726/0.001726, allocations: 173.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.001338/0.001338, allocations: 74.66 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3443/0.3457, allocations: 82.89 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.5354, allocations: 76.74 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5654/1.101, allocations: 102.4 MB / 0.721 GB, free: 9.918 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.101, allocations: 75.95 kB / 0.7211 GB, free: 9.844 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.01198/1.113, allocations: 3.629 MB / 0.7247 GB, free: 6.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.113, allocations: 12 kB / 0.7247 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/1.113, allocations: 32.44 kB / 0.7247 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/1.114, allocations: 286.7 kB / 0.725 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/1.114, allocations: 15.92 kB / 0.725 GB, free: 5.789 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/1.114, allocations: 28 kB / 0.725 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001945/1.114, allocations: 75.95 kB / 0.7251 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/1.115, allocations: 236.1 kB / 0.7253 GB, free: 5.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.115, allocations: 0 / 0.7253 GB, free: 5.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/1.115, allocations: 11.98 kB / 0.7253 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.115, allocations: 4 kB / 0.7253 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/1.115, allocations: 348.4 kB / 0.7257 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/1.116, allocations: 214.8 kB / 0.7259 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.116, allocations: 111.5 kB / 0.726 GB, free: 4.672 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/1.116, allocations: 4 kB / 0.726 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/1.116, allocations: 242.5 kB / 0.7262 GB, free: 4.406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/1.116, allocations: 0 / 0.7262 GB, free: 4.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005809/1.117, allocations: 282.6 kB / 0.7265 GB, free: 4.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/1.117, allocations: 152.4 kB / 0.7266 GB, free: 3.945 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.117, allocations: 133 kB / 0.7267 GB, free: 3.809 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/1.117, allocations: 37.7 kB / 0.7268 GB, free: 3.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/1.117, allocations: 96.58 kB / 0.7269 GB, free: 3.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/1.117, allocations: 55.31 kB / 0.7269 GB, free: 3.613 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/1.117, allocations: 8 kB / 0.7269 GB, free: 3.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/1.117, allocations: 334.8 kB / 0.7273 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/1.118, allocations: 159.9 kB / 0.7274 GB, free: 3.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/1.118, allocations: 195.4 kB / 0.7276 GB, free: 2.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/1.118, allocations: 139.9 kB / 0.7277 GB, free: 2.773 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.118, allocations: 0 / 0.7277 GB, free: 2.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007565/1.119, allocations: 439.6 kB / 0.7281 GB, free: 2.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.119, allocations: 4 kB / 0.7281 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.119, allocations: 3.906 kB / 0.7282 GB, free: 2.332 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.119, allocations: 7.984 kB / 0.7282 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.119, allocations: 15.92 kB / 0.7282 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.119, allocations: 4 kB / 0.7282 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/1.12, allocations: 75.83 kB / 0.7283 GB, free: 2.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/1.12, allocations: 27.98 kB / 0.7283 GB, free: 2.203 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.0001379/1.12, allocations: 131.5 kB / 0.7284 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/1.12, allocations: 19.81 kB / 0.7284 GB, free: 2.051 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/1.12, allocations: 16.48 kB / 0.7284 GB, free: 2.039 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/1.12, allocations: 4 kB / 0.7284 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.12, allocations: 7.906 kB / 0.7284 GB, free: 2.027 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.12, allocations: 0 / 0.7284 GB, free: 2.027 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/1.12, allocations: 237.9 kB / 0.7287 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.12, allocations: 3.938 kB / 0.7287 GB, free: 1.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/1.12, allocations: 16 kB / 0.7287 GB, free: 1.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.12, allocations: 7.938 kB / 0.7287 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/1.12, allocations: 11.97 kB / 0.7287 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.12, allocations: 0 / 0.7287 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.12, allocations: 4 kB / 0.7287 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004831/1.121, allocations: 352.2 kB / 0.7291 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006153/1.121, allocations: 0.7199 MB / 0.7298 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/1.122, allocations: 92.86 kB / 0.7298 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/1.122, allocations: 19.92 kB / 0.7299 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/1.122, allocations: 27.88 kB / 0.7299 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/1.122, allocations: 23.97 kB / 0.7299 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/1.122, allocations: 19.98 kB / 0.7299 GB, free: 364 kB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001321/1.122, allocations: 110.3 kB / 0.73 GB, free: 256 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008924/1.123, allocations: 79.98 kB / 0.7301 GB, free: 176 kB / 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.0002481/1.123, allocations: 146.9 kB / 0.7303 GB, free: 16 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006923/1.124, allocations: 463.1 kB / 0.7307 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.124, allocations: 128 / 0.7307 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/1.124, allocations: 147.9 kB / 0.7308 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/1.124, allocations: 15.98 kB / 0.7309 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/1.125, allocations: 291 kB / 0.7311 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/1.125, allocations: 0.7397 MB / 0.7319 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.7e-07/1.125, allocations: 0 / 0.7319 GB, free: 14.3 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)