Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4403/0.4403, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.222/1.222, allocations: 221.4 MB / 342.8 MB, free: 5.395 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.001005/0.001005, allocations: 91.3 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.23e-06, allocations: 0 / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2931, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3989, allocations: 101.1 MB / 0.6516 GB, free: 8.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.3992, allocations: 76.8 kB / 0.6517 GB, free: 8.836 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01095/0.4101, allocations: 3.621 MB / 0.6552 GB, free: 5.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.4101, allocations: 0 / 0.6552 GB, free: 5.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004706/0.4106, allocations: 422 kB / 0.6556 GB, free: 4.812 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4107, allocations: 8.031 kB / 0.6557 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.4107, allocations: 11.91 kB / 0.6557 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.4111, allocations: 226.8 kB / 0.6559 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4111, allocations: 7.891 kB / 0.6559 GB, free: 4.523 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.4111, allocations: 8 kB / 0.6559 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/0.4113, allocations: 43.97 kB / 0.6559 GB, free: 4.473 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4114, allocations: 79.39 kB / 0.656 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4114, allocations: 4 kB / 0.656 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4114, allocations: 5.953 kB / 0.656 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4114, allocations: 0 / 0.656 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.4117, allocations: 211 kB / 0.6562 GB, free: 4.129 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4118, allocations: 85.12 kB / 0.6563 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.4119, allocations: 57.81 kB / 0.6564 GB, free: 3.965 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.4119, allocations: 0 / 0.6564 GB, free: 3.965 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.412, allocations: 109.1 kB / 0.6565 GB, free: 3.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.4121, allocations: 4 kB / 0.6565 GB, free: 3.836 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002915/0.4124, allocations: 141.4 kB / 0.6566 GB, free: 3.691 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4124, allocations: 81.11 kB / 0.6567 GB, free: 3.594 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.4125, allocations: 135.9 kB / 0.6568 GB, free: 3.457 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4125, allocations: 25.7 kB / 0.6568 GB, free: 3.426 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.4126, allocations: 92.58 kB / 0.6569 GB, free: 3.332 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.4126, allocations: 35.55 kB / 0.657 GB, free: 3.297 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.4127, allocations: 0 / 0.657 GB, free: 3.297 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.4128, allocations: 322.8 kB / 0.6573 GB, free: 2.973 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.4128, allocations: 44.17 kB / 0.6573 GB, free: 2.926 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.413, allocations: 217.3 kB / 0.6575 GB, free: 2.652 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.4131, allocations: 70.45 kB / 0.6576 GB, free: 2.586 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4132, allocations: 0 / 0.6576 GB, free: 2.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002492/0.4134, allocations: 162.1 kB / 0.6577 GB, free: 2.422 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4134, allocations: 19.14 kB / 0.6578 GB, free: 2.406 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.4135, allocations: 8 kB / 0.6578 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4135, allocations: 0 / 0.6578 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.4135, allocations: 13.62 kB / 0.6578 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4136, allocations: 0 / 0.6578 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.4138, allocations: 83.77 kB / 0.6579 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.4139, allocations: 4 kB / 0.6579 GB, free: 2.301 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.677e-05/0.414, allocations: 112.9 kB / 0.658 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.414, allocations: 7.906 kB / 0.658 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.414, allocations: 16.41 kB / 0.658 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.414, allocations: 7.938 kB / 0.658 GB, free: 2.156 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.414, allocations: 4 kB / 0.658 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.414, allocations: 3.984 kB / 0.658 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4142, allocations: 171.5 kB / 0.6582 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4142, allocations: 0 / 0.6582 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.4142, allocations: 7.906 kB / 0.6582 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4142, allocations: 4.094 kB / 0.6582 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4142, allocations: 5.047 kB / 0.6582 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4142, allocations: 0 / 0.6582 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4143, allocations: 4 kB / 0.6582 GB, free: 1.926 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002415/0.4145, allocations: 184.7 kB / 0.6584 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.4146, allocations: 89 kB / 0.6585 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4146, allocations: 0 / 0.6585 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.4146, allocations: 8 kB / 0.6585 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.4147, allocations: 7.891 kB / 0.6585 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4147, allocations: 9.312 kB / 0.6585 GB, free: 1.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.38e-05/0.4148, allocations: 107.3 kB / 0.6586 GB, free: 1.484 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.415, allocations: 89.64 kB / 0.6587 GB, free: 1.398 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002314/0.4153, allocations: 167.6 kB / 0.6588 GB, free: 1.227 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.4155, allocations: 159.3 kB / 0.659 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4155, allocations: 0 / 0.659 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.4156, allocations: 43.92 kB / 0.659 GB, free: 1.016 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.4157, allocations: 11.86 kB / 0.659 GB, free: 1.004 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.416, allocations: 158.6 kB / 0.6592 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.4163, allocations: 0.7268 MB / 0.6599 GB, free: 72 kB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4163, allocations: 0 / 0.6599 GB, free: 72 kB / 474.7 MB Notification: Performance of Templates: time 0.00483/0.4211, allocations: 2.379 MB / 0.6622 GB, free: 13.77 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)