Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 177.3 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007761/0.0007761, allocations: 93.02 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3209/0.3218, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.4754, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.9475, allocations: 132.5 MB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.9478, allocations: 71.45 kB / 1.014 GB, free: 5.961 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.0157/0.9635, allocations: 4.932 MB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.9636, allocations: 8 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.9637, allocations: 43.8 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.9645, allocations: 335.2 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.9645, allocations: 11.98 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.9647, allocations: 46.84 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002224/0.9649, allocations: 105.7 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.9653, allocations: 310.2 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9653, allocations: 3.938 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.9654, allocations: 7.984 kB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.9654, allocations: 4 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.9659, allocations: 468 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.9662, allocations: 271 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.9664, allocations: 144.6 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.9665, allocations: 7.375 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.9669, allocations: 324.9 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.9669, allocations: 0 / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0006303/0.9675, allocations: 364.8 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.9676, allocations: 199.3 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.9678, allocations: 137.4 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.9678, allocations: 44.89 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.9679, allocations: 100.1 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.968, allocations: 88.5 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.968, allocations: 12 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9681, allocations: 333.8 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.9685, allocations: 197.6 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.9688, allocations: 253.3 kB / 1.023 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.9693, allocations: 187 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.9693, allocations: 3.906 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009917/0.9703, allocations: 0.5568 MB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.9703, allocations: 4 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9703, allocations: 0 / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9703, allocations: 4 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.9705, allocations: 23.92 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.9705, allocations: 5.25 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.971, allocations: 119.7 kB / 1.023 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.9711, allocations: 35.53 kB / 1.024 GB, free: 13.41 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.0001672/0.9713, allocations: 151.1 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.9713, allocations: 23.81 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.9714, allocations: 14.86 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.9714, allocations: 12 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.9714, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.9714, allocations: 4 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.9717, allocations: 284.7 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9717, allocations: 0 / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.9718, allocations: 23.56 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.9718, allocations: 0 / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.9718, allocations: 19.95 kB / 1.024 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.9719, allocations: 4 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9719, allocations: 0 / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005549/0.9724, allocations: 476.8 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006718/0.9731, allocations: 0.821 MB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.9732, allocations: 100.8 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.9733, allocations: 25.61 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.9735, allocations: 27.97 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.9736, allocations: 39.17 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.9736, allocations: 30.97 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.294e-05/0.9737, allocations: 108.9 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001006/0.9747, allocations: 114.3 kB / 1.026 GB, free: 11.23 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.0002942/0.975, allocations: 181.5 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008482/0.9759, allocations: 0.6034 MB / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9759, allocations: 0 / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.9762, allocations: 201.2 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.9764, allocations: 19.2 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.9771, allocations: 356.7 kB / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.9774, allocations: 0.7473 MB / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9774, allocations: 0 / 1.028 GB, free: 9.375 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)