Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 253.1 MB / 260.4 MB, free: 7.418 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002259/0.002259, allocations: 177.3 kB / 319.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5704 GB, free: 14.96 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 107 kB / 0.6746 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.052e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2207, allocations: 106.2 MB / 0.888 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6812/0.9019, allocations: 132.3 MB / 1.017 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.9023, allocations: 70.91 kB / 1.017 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02733/0.9297, allocations: 4.309 MB / 1.022 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.9297, allocations: 4 kB / 1.022 GB, free: 2.129 MB / 0.6355 GB 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.002029/0.9318, allocations: 0.6306 MB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.9318, allocations: 8.031 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.9321, allocations: 39.8 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.9335, allocations: 336.6 kB / 1.023 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.9336, allocations: 15.42 kB / 1.023 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.9338, allocations: 39.98 kB / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004074/0.9342, allocations: 103.4 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.9351, allocations: 312.9 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.9351, allocations: 4 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.9352, allocations: 7.984 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.9352, allocations: 4 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.9361, allocations: 450.6 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.9368, allocations: 287.5 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.9371, allocations: 139.7 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.9372, allocations: 7.984 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007451/0.9379, allocations: 332.9 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.957e-06/0.938, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.001227/0.9392, allocations: 358.4 kB / 1.025 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.9394, allocations: 202.6 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.9396, allocations: 129.4 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.9397, allocations: 48.77 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.9398, allocations: 100.2 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.94, allocations: 92.06 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.94, allocations: 16.03 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9402, allocations: 336.7 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.9408, allocations: 190.5 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.9415, allocations: 247.8 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.9423, allocations: 195.5 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9423, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00187/0.9442, allocations: 0.5575 MB / 1.027 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.9443, allocations: 8 kB / 1.027 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.9443, allocations: 0 / 1.027 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.9443, allocations: 7.938 kB / 1.027 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.9446, allocations: 23.92 kB / 1.027 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.9446, allocations: 0 / 1.027 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.9457, allocations: 123.7 kB / 1.027 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.9459, allocations: 30.92 kB / 1.027 GB, free: 13.27 MB / 0.6511 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.0003312/0.9462, allocations: 151.9 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.9463, allocations: 23.81 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.848e-05/0.9464, allocations: 19.55 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.9464, allocations: 4 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.9465, allocations: 4 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9465, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.9469, allocations: 284.7 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9469, allocations: 7.938 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.9471, allocations: 12 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.9471, allocations: 7.984 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.9472, allocations: 19.53 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.9472, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.9472, allocations: 8 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001033/0.9483, allocations: 471.3 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.9484, allocations: 96.77 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.9485, allocations: 25.36 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.949, allocations: 23.97 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.9491, allocations: 34.45 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/0.9492, allocations: 37.77 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001031/0.9493, allocations: 103.8 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007402/0.95, allocations: 107.2 kB / 1.028 GB, free: 11.9 MB / 0.6511 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.0003595/0.9504, allocations: 182.5 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.9519, allocations: 0.6044 MB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.952, allocations: 4 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.9525, allocations: 200.5 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.9528, allocations: 10.98 kB / 1.029 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.9541, allocations: 367.8 kB / 1.029 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.9547, allocations: 0.7549 MB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/0.9547, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.01422/0.9689, allocations: 4.645 MB / 1.035 GB, free: 5.465 MB / 0.6511 GB