Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7039/0.7039, allocations: 141.8 MB / 149.1 MB, free: 4.41 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 181 kB / 181.9 MB, free: 96 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 436 MB, free: 9.266 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009175, allocations: 101.3 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 281.9 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.506e-06, allocations: 4 kB / 0.6759 GB, free: 2.668 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3095, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.411, allocations: 108.2 MB / 0.8624 GB, free: 4.496 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.4112, allocations: 78.3 kB / 0.8625 GB, free: 4.422 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01296/0.4242, allocations: 4.713 MB / 0.8671 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.4242, allocations: 0.75 kB / 0.8671 GB, free: 15.75 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006173/0.4249, allocations: 453.5 kB / 0.8675 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4249, allocations: 8.031 kB / 0.8675 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.425, allocations: 15.89 kB / 0.8675 GB, free: 15.24 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.4253, allocations: 215.5 kB / 0.8678 GB, free: 14.99 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4254, allocations: 1.312 kB / 0.8678 GB, free: 14.99 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.4254, allocations: 11.91 kB / 0.8678 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001227/0.4255, allocations: 43.97 kB / 0.8678 GB, free: 14.94 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.4257, allocations: 100.2 kB / 0.8679 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4258, allocations: 0 / 0.8679 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.4258, allocations: 7.938 kB / 0.8679 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4258, allocations: 4 kB / 0.8679 GB, free: 14.81 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.4261, allocations: 223.8 kB / 0.8681 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.4262, allocations: 103.9 kB / 0.8682 GB, free: 14.42 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.4263, allocations: 67.23 kB / 0.8683 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.4264, allocations: 8 kB / 0.8683 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.4265, allocations: 122.4 kB / 0.8684 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.4266, allocations: 0 / 0.8684 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of matching and sorting (n=21): time 0.0003949/0.427, allocations: 152.1 kB / 0.8686 GB, free: 14.04 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.427, allocations: 118.8 kB / 0.8687 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4272, allocations: 129.8 kB / 0.8688 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.4272, allocations: 33.7 kB / 0.8688 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.4273, allocations: 88.64 kB / 0.8689 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.4273, allocations: 51.36 kB / 0.869 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/0.4273, allocations: 0 / 0.869 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4275, allocations: 330.8 kB / 0.8693 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.4276, allocations: 48.28 kB / 0.8693 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.4278, allocations: 191.5 kB / 0.8695 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.428, allocations: 77.25 kB / 0.8696 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.428, allocations: 7.906 kB / 0.8696 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003348/0.4283, allocations: 191.1 kB / 0.8698 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4283, allocations: 12 kB / 0.8698 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.4284, allocations: 4 kB / 0.8698 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4284, allocations: 0 / 0.8698 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.4285, allocations: 23.92 kB / 0.8698 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4285, allocations: 0 / 0.8698 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4287, allocations: 47.81 kB / 0.8699 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.4287, allocations: 8.656 kB / 0.8699 GB, free: 12.6 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001143/0.4289, allocations: 127.7 kB / 0.87 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.4289, allocations: 15.81 kB / 0.87 GB, free: 12.46 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.4289, allocations: 8.5 kB / 0.87 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.429, allocations: 4 kB / 0.87 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.429, allocations: 8 kB / 0.87 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.429, allocations: 0 / 0.87 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4291, allocations: 183.3 kB / 0.8702 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4291, allocations: 4 kB / 0.8702 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.4292, allocations: 8 kB / 0.8702 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4292, allocations: 0 / 0.8702 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4292, allocations: 4 kB / 0.8702 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4292, allocations: 7.891 kB / 0.8702 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4292, allocations: 3.938 kB / 0.8702 GB, free: 12.19 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003053/0.4296, allocations: 216.4 kB / 0.8704 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.4296, allocations: 88.92 kB / 0.8705 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.4296, allocations: 4 kB / 0.8705 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.4297, allocations: 7.984 kB / 0.8705 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.4298, allocations: 11.98 kB / 0.8705 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4298, allocations: 8 kB / 0.8705 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.579e-05/0.4298, allocations: 103.3 kB / 0.8706 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000404/0.4303, allocations: 110.3 kB / 0.8707 GB, free: 11.6 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003487/0.4306, allocations: 211 kB / 0.8709 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.4309, allocations: 217.3 kB / 0.8712 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4309, allocations: 0 / 0.8712 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.431, allocations: 55.92 kB / 0.8712 GB, free: 11.11 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.4311, allocations: 17.72 kB / 0.8712 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.4315, allocations: 161.8 kB / 0.8714 GB, free: 10.9 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.4319, allocations: 0.7274 MB / 0.8721 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of SimCode: time 2.61e-07/0.4319, allocations: 0 / 0.8721 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of Templates: time 0.005703/0.4376, allocations: 2.997 MB / 0.875 GB, free: 7.219 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)