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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7348/0.7348, allocations: 141.8 MB / 149.1 MB, free: 13.18 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 189.1 kB / 181.9 MB, free: 9.875 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.3 MB / 436 MB, free: 2.34 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.0008587/0.0008584, allocations: 97.03 kB / 0.507 GB, free: 11.08 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001855, allocations: 271.8 kB / 0.5884 GB, free: 7.906 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2084/0.2103, allocations: 89.64 MB / 0.676 GB, free: 14.18 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.6635, allocations: 82.77 MB / 0.7568 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.7887, allocations: 108.2 MB / 0.8625 GB, free: 30.69 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.789, allocations: 81.52 kB / 0.8626 GB, free: 30.61 MB / 0.5575 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.0133/0.8023, allocations: 5.161 MB / 0.8676 GB, free: 25.43 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.8023, allocations: 12 kB / 0.8676 GB, free: 25.42 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.794e-05/0.8024, allocations: 11.91 kB / 0.8677 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.8027, allocations: 218.8 kB / 0.8679 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.8028, allocations: 0 / 0.8679 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.8028, allocations: 11.91 kB / 0.8679 GB, free: 25.14 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/0.8029, allocations: 39.97 kB / 0.8679 GB, free: 25.11 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.8031, allocations: 96.23 kB / 0.868 GB, free: 25 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8031, allocations: 3.938 kB / 0.868 GB, free: 24.99 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.8031, allocations: 4 kB / 0.868 GB, free: 24.99 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.8031, allocations: 4 kB / 0.868 GB, free: 24.98 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.8033, allocations: 223.8 kB / 0.8682 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.8035, allocations: 99.94 kB / 0.8683 GB, free: 24.6 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.8036, allocations: 82.53 kB / 0.8684 GB, free: 24.51 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.8036, allocations: 4 kB / 0.8684 GB, free: 24.5 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.8037, allocations: 121.1 kB / 0.8685 GB, free: 24.36 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.8037, allocations: 0 / 0.8685 GB, free: 24.36 MB / 0.5575 GB Notification: Performance of matching and sorting (n=21): time 0.0003663/0.8041, allocations: 151.4 kB / 0.8687 GB, free: 24.21 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.8042, allocations: 118.8 kB / 0.8688 GB, free: 24.07 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.8043, allocations: 132 kB / 0.8689 GB, free: 23.94 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.8043, allocations: 33.64 kB / 0.8689 GB, free: 23.9 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.8043, allocations: 92.64 kB / 0.869 GB, free: 23.8 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.8044, allocations: 51.34 kB / 0.8691 GB, free: 23.75 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.8044, allocations: 0 / 0.8691 GB, free: 23.75 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.8045, allocations: 330.8 kB / 0.8694 GB, free: 23.42 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.8045, allocations: 56.27 kB / 0.8694 GB, free: 23.36 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.8047, allocations: 184.6 kB / 0.8696 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.8049, allocations: 81.36 kB / 0.8697 GB, free: 23.05 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8049, allocations: 4 kB / 0.8697 GB, free: 23.05 MB / 0.5575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002991/0.8052, allocations: 194.4 kB / 0.8699 GB, free: 22.86 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8052, allocations: 8 kB / 0.8699 GB, free: 22.85 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.8053, allocations: 7.984 kB / 0.8699 GB, free: 22.84 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8053, allocations: 0 / 0.8699 GB, free: 22.84 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.8054, allocations: 16 kB / 0.8699 GB, free: 22.82 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8054, allocations: 0 / 0.8699 GB, free: 22.82 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.8056, allocations: 47.75 kB / 0.87 GB, free: 22.78 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.8056, allocations: 19.98 kB / 0.87 GB, free: 22.76 MB / 0.5575 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 8.869e-05/0.8057, allocations: 115 kB / 0.8701 GB, free: 22.64 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.8058, allocations: 15.81 kB / 0.8701 GB, free: 22.63 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.8058, allocations: 8.5 kB / 0.8701 GB, free: 22.62 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8058, allocations: 4 kB / 0.8701 GB, free: 22.61 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8058, allocations: 0 / 0.8701 GB, free: 22.61 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.8058, allocations: 3.984 kB / 0.8701 GB, free: 22.61 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.8059, allocations: 182 kB / 0.8703 GB, free: 22.39 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8059, allocations: 8 kB / 0.8703 GB, free: 22.39 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.806, allocations: 11.94 kB / 0.8703 GB, free: 22.38 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.806, allocations: 0 / 0.8703 GB, free: 22.38 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.806, allocations: 7.984 kB / 0.8703 GB, free: 22.37 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.806, allocations: 3.906 kB / 0.8703 GB, free: 22.36 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.806, allocations: 4 kB / 0.8703 GB, free: 22.36 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00025/0.8063, allocations: 214.1 kB / 0.8705 GB, free: 22.12 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003035/0.8066, allocations: 0.5837 MB / 0.8711 GB, free: 21.5 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.8066, allocations: 92.92 kB / 0.8712 GB, free: 21.39 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.8067, allocations: 4.141 kB / 0.8712 GB, free: 21.38 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.8067, allocations: 7.984 kB / 0.8712 GB, free: 21.38 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.8068, allocations: 11.98 kB / 0.8712 GB, free: 21.36 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.8068, allocations: 7.984 kB / 0.8712 GB, free: 21.36 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.363e-05/0.8069, allocations: 108.9 kB / 0.8713 GB, free: 21.25 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0009886/0.8079, allocations: 115.8 kB / 0.8714 GB, free: 21.14 MB / 0.5575 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.0004998/0.8084, allocations: 215 kB / 0.8716 GB, free: 20.92 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.8087, allocations: 209 kB / 0.8718 GB, free: 20.7 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8087, allocations: 0 / 0.8718 GB, free: 20.7 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.8088, allocations: 59.88 kB / 0.8719 GB, free: 20.64 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.809, allocations: 6.938 kB / 0.8719 GB, free: 20.63 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.8094, allocations: 173.8 kB / 0.8721 GB, free: 20.43 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.8096, allocations: 0.7313 MB / 0.8728 GB, free: 19.68 MB / 0.5575 GB Notification: Performance of SimCode: time 2.5e-07/0.8096, allocations: 0 / 0.8728 GB, free: 19.68 MB / 0.5575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)