Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.143/2.143, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 181.3 kB / 360.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 92.06 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2383/0.2396, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.7967, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/1.005, allocations: 137.4 MB / 1.097 GB, free: 3.418 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/1.006, allocations: 72.47 kB / 1.097 GB, free: 3.348 MB / 0.698 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.02861/1.034, allocations: 5.111 MB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.034, allocations: 8 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/1.034, allocations: 15.91 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/1.035, allocations: 219.7 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.035, allocations: 0 / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/1.035, allocations: 8 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001824/1.035, allocations: 53.41 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/1.035, allocations: 93.48 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.035, allocations: 3.938 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.035, allocations: 0 / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.035, allocations: 8 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/1.036, allocations: 223.8 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/1.036, allocations: 95.89 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/1.036, allocations: 78.66 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/1.036, allocations: 4 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/1.036, allocations: 122.4 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/1.036, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0005356/1.037, allocations: 143.6 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/1.037, allocations: 122.8 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.037, allocations: 125.8 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/1.037, allocations: 33.7 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/1.037, allocations: 92.62 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.038, allocations: 49.05 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/1.038, allocations: 3.938 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.038, allocations: 326.8 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.038, allocations: 60.2 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/1.038, allocations: 183 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/1.039, allocations: 75.61 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.039, allocations: 4 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005914/1.039, allocations: 193.3 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.039, allocations: 9.562 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/1.039, allocations: 7.984 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.039, allocations: 0 / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.039, allocations: 16 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.039, allocations: 9.562 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/1.04, allocations: 47.8 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/1.04, allocations: 12 kB / 1.104 GB, free: 11.61 MB / 0.7136 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.0001412/1.04, allocations: 120.2 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/1.04, allocations: 15.81 kB / 1.104 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/1.04, allocations: 8.5 kB / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.04, allocations: 9.672 kB / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.04, allocations: 0 / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.04, allocations: 3.906 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/1.04, allocations: 174.1 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.04, allocations: 4 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/1.041, allocations: 19.92 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.041, allocations: 7.844 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/1.041, allocations: 4 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.041, allocations: 1.875 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.041, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000468/1.041, allocations: 216.3 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006257/1.042, allocations: 0.588 MB / 1.105 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/1.042, allocations: 92.92 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/1.042, allocations: 4 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/1.042, allocations: 7.984 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/1.042, allocations: 7.984 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/1.042, allocations: 11.91 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.096e-05/1.042, allocations: 103.3 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001407/1.044, allocations: 116.6 kB / 1.106 GB, free: 9.988 MB / 0.7136 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.0004844/1.044, allocations: 211.1 kB / 1.106 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004611/1.045, allocations: 212.9 kB / 1.106 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.045, allocations: 0 / 1.106 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/1.045, allocations: 55.94 kB / 1.106 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/1.045, allocations: 11.92 kB / 1.106 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/1.045, allocations: 170.3 kB / 1.106 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/1.046, allocations: 0.7319 MB / 1.107 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.046, allocations: 0 / 1.107 GB, free: 8.527 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)