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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.7295/0.7295, allocations: 141.8 MB / 149.1 MB, free: 4.191 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.001152/0.001152, allocations: 192.2 kB / 181.9 MB, free: 15.87 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.372/1.372, allocations: 221.3 MB / 436 MB, free: 9.02 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.001047/0.001047, allocations: 102.7 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 276.8 kB / 0.5884 GB, free: 12.04 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1975/0.1994, allocations: 89.64 MB / 0.676 GB, free: 2.324 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.6583, allocations: 82.76 MB / 0.7568 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.7802, allocations: 108.3 MB / 0.8625 GB, free: 4.145 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.7805, allocations: 83.44 kB / 0.8626 GB, free: 4.07 MB / 0.5263 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.01448/0.795, allocations: 5.166 MB / 0.8677 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.7951, allocations: 12 kB / 0.8677 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.7952, allocations: 11.91 kB / 0.8677 GB, free: 14.87 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.7956, allocations: 214.9 kB / 0.8679 GB, free: 14.62 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.7956, allocations: 10.05 kB / 0.8679 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.7957, allocations: 11.91 kB / 0.8679 GB, free: 14.6 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001294/0.7958, allocations: 39.98 kB / 0.868 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.796, allocations: 96.17 kB / 0.8681 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.796, allocations: 0 / 0.8681 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.796, allocations: 8 kB / 0.8681 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.796, allocations: 0 / 0.8681 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.7963, allocations: 219.9 kB / 0.8683 GB, free: 14.18 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.7965, allocations: 103.8 kB / 0.8684 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.7966, allocations: 78.69 kB / 0.8684 GB, free: 13.97 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.7966, allocations: 0 / 0.8684 GB, free: 13.97 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.7968, allocations: 126.5 kB / 0.8686 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=21): time 2.846e-06/0.7968, allocations: 3.984 kB / 0.8686 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of matching and sorting (n=21): time 0.0004228/0.7973, allocations: 160.7 kB / 0.8687 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.7973, allocations: 118.8 kB / 0.8688 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.7975, allocations: 124 kB / 0.869 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.7975, allocations: 33.7 kB / 0.869 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.7976, allocations: 92.62 kB / 0.8691 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.7976, allocations: 51.34 kB / 0.8691 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.7977, allocations: 0 / 0.8691 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7978, allocations: 326.8 kB / 0.8694 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/0.7979, allocations: 53.11 kB / 0.8695 GB, free: 12.82 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.7981, allocations: 187.5 kB / 0.8697 GB, free: 12.59 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.7983, allocations: 78.31 kB / 0.8697 GB, free: 12.51 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7984, allocations: 0 / 0.8697 GB, free: 12.51 MB / 0.5419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000367/0.7987, allocations: 203.7 kB / 0.8699 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7987, allocations: 4 kB / 0.8699 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.7988, allocations: 8 kB / 0.8699 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.7988, allocations: 0 / 0.8699 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.7989, allocations: 23.92 kB / 0.87 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7989, allocations: 4.75 kB / 0.87 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.7992, allocations: 43.81 kB / 0.87 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.7992, allocations: 12 kB / 0.87 GB, free: 12.21 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.0001176/0.7993, allocations: 119.5 kB / 0.8701 GB, free: 12.09 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.7994, allocations: 11.81 kB / 0.8701 GB, free: 12.08 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.7994, allocations: 16.48 kB / 0.8702 GB, free: 12.06 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7994, allocations: 4 kB / 0.8702 GB, free: 12.06 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.7994, allocations: 0 / 0.8702 GB, free: 12.06 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7994, allocations: 0.5625 kB / 0.8702 GB, free: 12.06 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.7996, allocations: 182 kB / 0.8703 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7996, allocations: 0 / 0.8703 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.7997, allocations: 16 kB / 0.8704 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.7997, allocations: 0 / 0.8704 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.7997, allocations: 4 kB / 0.8704 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.7997, allocations: 5.031 kB / 0.8704 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7997, allocations: 0 / 0.8704 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003582/0.8001, allocations: 224.3 kB / 0.8706 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004798/0.8006, allocations: 0.5752 MB / 0.8711 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.8007, allocations: 92.92 kB / 0.8712 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.8007, allocations: 7.984 kB / 0.8712 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.8008, allocations: 4 kB / 0.8712 GB, free: 10.83 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.8009, allocations: 11.92 kB / 0.8713 GB, free: 10.82 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.8009, allocations: 8 kB / 0.8713 GB, free: 10.81 MB / 0.5419 GB Notification: Performance of sort global known variables: time 7.461e-05/0.801, allocations: 107.2 kB / 0.8714 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.001176/0.8022, allocations: 115.8 kB / 0.8715 GB, free: 10.59 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.0004515/0.8026, allocations: 215 kB / 0.8717 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.8029, allocations: 205.1 kB / 0.8719 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8029, allocations: 0 / 0.8719 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.803, allocations: 56.25 kB / 0.8719 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.8032, allocations: 7.938 kB / 0.8719 GB, free: 10.1 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.8036, allocations: 169.8 kB / 0.8721 GB, free: 9.902 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.8039, allocations: 0.743 MB / 0.8728 GB, free: 9.133 MB / 0.5419 GB Notification: Performance of SimCode: time 3.21e-07/0.8039, allocations: 0 / 0.8728 GB, free: 9.133 MB / 0.5419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)