Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7639/0.7639, allocations: 141.8 MB / 149.1 MB, free: 12.99 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.001096/0.001096, allocations: 182.8 kB / 181.9 MB, free: 9.688 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.246/1.246, allocations: 221.4 MB / 436 MB, free: 2.145 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.0009005/0.0009005, allocations: 100.8 kB / 0.507 GB, free: 16.7 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 272.5 kB / 0.5884 GB, free: 2.762 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.015e-06, allocations: 1.438 kB / 0.6759 GB, free: 135.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 82.78 MB / 0.7567 GB, free: 81.31 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.2527, allocations: 108.3 MB / 0.8625 GB, free: 4.867 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.253, allocations: 71.95 kB / 0.8625 GB, free: 4.797 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01424/0.2672, allocations: 4.73 MB / 0.8672 GB, free: 44 kB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2673, allocations: 4 kB / 0.8672 GB, free: 40 kB / 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.0005916/0.2679, allocations: 450 kB / 0.8676 GB, free: 15.55 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2679, allocations: 12.03 kB / 0.8676 GB, free: 15.54 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.268, allocations: 15.91 kB / 0.8676 GB, free: 15.53 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.2683, allocations: 214.9 kB / 0.8678 GB, free: 15.28 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2684, allocations: 7.938 kB / 0.8678 GB, free: 15.27 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.2684, allocations: 11.91 kB / 0.8678 GB, free: 15.26 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/0.2685, allocations: 39.97 kB / 0.8679 GB, free: 15.22 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.2687, allocations: 96.23 kB / 0.868 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2687, allocations: 0 / 0.868 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2687, allocations: 4 kB / 0.868 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2687, allocations: 0 / 0.868 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.269, allocations: 219.9 kB / 0.8682 GB, free: 14.85 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2691, allocations: 103.9 kB / 0.8683 GB, free: 14.72 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.2692, allocations: 74.7 kB / 0.8684 GB, free: 14.64 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.2693, allocations: 3.938 kB / 0.8684 GB, free: 14.63 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.2694, allocations: 118.5 kB / 0.8685 GB, free: 14.49 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.2694, allocations: 0 / 0.8685 GB, free: 14.49 MB / 0.5575 GB Notification: Performance of matching and sorting (n=21): time 0.0003851/0.2698, allocations: 165.3 kB / 0.8686 GB, free: 14.32 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.2699, allocations: 118.8 kB / 0.8687 GB, free: 14.18 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.27, allocations: 128 kB / 0.8689 GB, free: 14.05 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.2701, allocations: 29.7 kB / 0.8689 GB, free: 14.02 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.2701, allocations: 92.62 kB / 0.869 GB, free: 13.93 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.2702, allocations: 55.28 kB / 0.869 GB, free: 13.87 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.2702, allocations: 0 / 0.869 GB, free: 13.87 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2703, allocations: 326.8 kB / 0.8693 GB, free: 13.54 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.2704, allocations: 52.27 kB / 0.8694 GB, free: 13.49 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2706, allocations: 194.9 kB / 0.8696 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2708, allocations: 75.91 kB / 0.8697 GB, free: 13.17 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2708, allocations: 3.938 kB / 0.8697 GB, free: 13.17 MB / 0.5575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003421/0.2712, allocations: 201.2 kB / 0.8698 GB, free: 12.96 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2712, allocations: 7.984 kB / 0.8699 GB, free: 12.96 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.2712, allocations: 8 kB / 0.8699 GB, free: 12.95 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2713, allocations: 0 / 0.8699 GB, free: 12.95 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.2714, allocations: 16 kB / 0.8699 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2714, allocations: 3.984 kB / 0.8699 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.2716, allocations: 43.81 kB / 0.8699 GB, free: 12.89 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2716, allocations: 12 kB / 0.8699 GB, free: 12.88 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 0.000104/0.2717, allocations: 119.5 kB / 0.87 GB, free: 12.75 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.2718, allocations: 11.81 kB / 0.8701 GB, free: 12.74 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.2718, allocations: 16.48 kB / 0.8701 GB, free: 12.72 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2718, allocations: 0 / 0.8701 GB, free: 12.72 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2718, allocations: 4 kB / 0.8701 GB, free: 12.72 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2718, allocations: 0 / 0.8701 GB, free: 12.72 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.272, allocations: 178.1 kB / 0.8702 GB, free: 12.51 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.272, allocations: 4 kB / 0.8703 GB, free: 12.5 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.272, allocations: 15.92 kB / 0.8703 GB, free: 12.49 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2721, allocations: 4 kB / 0.8703 GB, free: 12.48 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2721, allocations: 0 / 0.8703 GB, free: 12.48 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2721, allocations: 7.906 kB / 0.8703 GB, free: 12.48 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2721, allocations: 0 / 0.8703 GB, free: 12.48 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003055/0.2724, allocations: 212.4 kB / 0.8705 GB, free: 12.23 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.2725, allocations: 96.84 kB / 0.8706 GB, free: 12.12 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.2725, allocations: 4 kB / 0.8706 GB, free: 12.12 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.2726, allocations: 4 kB / 0.8706 GB, free: 12.11 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2726, allocations: 11.98 kB / 0.8706 GB, free: 12.1 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.2726, allocations: 8 kB / 0.8706 GB, free: 12.09 MB / 0.5575 GB Notification: Performance of sort global known variables: time 6.283e-05/0.2727, allocations: 103.3 kB / 0.8707 GB, free: 11.99 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.000431/0.2731, allocations: 111.9 kB / 0.8708 GB, free: 11.88 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.0003852/0.2735, allocations: 215.2 kB / 0.871 GB, free: 11.66 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.2738, allocations: 213.3 kB / 0.8712 GB, free: 11.44 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2738, allocations: 0 / 0.8712 GB, free: 11.44 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.2739, allocations: 51.94 kB / 0.8713 GB, free: 11.39 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.2741, allocations: 9.328 kB / 0.8713 GB, free: 11.38 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.2744, allocations: 177.8 kB / 0.8714 GB, free: 11.18 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.2747, allocations: 0.7274 MB / 0.8722 GB, free: 10.42 MB / 0.5575 GB Notification: Performance of SimCode: time 3e-07/0.2748, allocations: 3.938 kB / 0.8722 GB, free: 10.42 MB / 0.5575 GB Notification: Performance of Templates: time 0.006034/0.2808, allocations: 2.989 MB / 0.8751 GB, free: 7.484 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)