Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.741/1.741, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 184.6 kB / 490.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.088/1.088, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 87.59 kB / 0.9264 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2272/0.2282, allocations: 149.1 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.7236, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.8566, allocations: 149.7 MB / 1.358 GB, free: 41.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.8568, allocations: 71.95 kB / 1.358 GB, free: 41.86 MB / 0.8855 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.01212/0.869, allocations: 5.172 MB / 1.363 GB, free: 36.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.869, allocations: 8.625 kB / 1.363 GB, free: 36.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.869, allocations: 11.91 kB / 1.363 GB, free: 36.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.8693, allocations: 214.7 kB / 1.363 GB, free: 36.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.8693, allocations: 4 kB / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.8693, allocations: 15.89 kB / 1.363 GB, free: 36.42 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.977e-05/0.8695, allocations: 40.58 kB / 1.363 GB, free: 36.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.8696, allocations: 100.5 kB / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.8696, allocations: 1.031 kB / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8696, allocations: 0 / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.8696, allocations: 0 / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.8698, allocations: 225.3 kB / 1.364 GB, free: 36.01 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.8699, allocations: 110.4 kB / 1.364 GB, free: 35.88 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/0.87, allocations: 66.77 kB / 1.364 GB, free: 35.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.87, allocations: 9.031 kB / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.8701, allocations: 123.9 kB / 1.364 GB, free: 35.65 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.8701, allocations: 4 kB / 1.364 GB, free: 35.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0002922/0.8704, allocations: 161.8 kB / 1.364 GB, free: 35.49 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.8705, allocations: 115.4 kB / 1.364 GB, free: 35.35 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.8705, allocations: 128.5 kB / 1.364 GB, free: 35.22 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.8706, allocations: 34.73 kB / 1.364 GB, free: 35.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.8706, allocations: 88.62 kB / 1.364 GB, free: 35.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.8706, allocations: 52.36 kB / 1.364 GB, free: 35.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.8706, allocations: 0 / 1.364 GB, free: 35.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.8707, allocations: 323.3 kB / 1.365 GB, free: 34.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.8708, allocations: 48.27 kB / 1.365 GB, free: 34.67 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.8709, allocations: 195.7 kB / 1.365 GB, free: 34.43 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.8711, allocations: 75.03 kB / 1.365 GB, free: 34.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8711, allocations: 0 / 1.365 GB, free: 34.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002658/0.8713, allocations: 202.1 kB / 1.365 GB, free: 34.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.8714, allocations: 4 kB / 1.365 GB, free: 34.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.8714, allocations: 11.94 kB / 1.365 GB, free: 34.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.8714, allocations: 2.031 kB / 1.365 GB, free: 34.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.8715, allocations: 19.92 kB / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8715, allocations: 0 / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.8717, allocations: 46.5 kB / 1.365 GB, free: 34.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.8717, allocations: 12.81 kB / 1.365 GB, free: 34.07 MB / 0.8855 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 5.975e-05/0.8718, allocations: 116.1 kB / 1.365 GB, free: 33.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.8718, allocations: 12.34 kB / 1.365 GB, free: 33.94 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.8718, allocations: 21.08 kB / 1.365 GB, free: 33.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.8718, allocations: 3 kB / 1.365 GB, free: 33.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8718, allocations: 7.281 kB / 1.365 GB, free: 33.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8718, allocations: 0.5938 kB / 1.365 GB, free: 33.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.497e-05/0.8719, allocations: 178 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8719, allocations: 0.5312 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.872, allocations: 12.86 kB / 1.366 GB, free: 33.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.872, allocations: 4 kB / 1.366 GB, free: 33.69 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.872, allocations: 4.844 kB / 1.366 GB, free: 33.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.872, allocations: 3.906 kB / 1.366 GB, free: 33.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.872, allocations: 0 / 1.366 GB, free: 33.68 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002205/0.8722, allocations: 215.9 kB / 1.366 GB, free: 33.44 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002459/0.8725, allocations: 0.58 MB / 1.366 GB, free: 32.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.8725, allocations: 88.92 kB / 1.367 GB, free: 32.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.8726, allocations: 12.48 kB / 1.367 GB, free: 32.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.8726, allocations: 5.344 kB / 1.367 GB, free: 32.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.8727, allocations: 12.61 kB / 1.367 GB, free: 32.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.8727, allocations: 4 kB / 1.367 GB, free: 32.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.561e-05/0.8727, allocations: 103.8 kB / 1.367 GB, free: 32.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008453/0.8736, allocations: 120.3 kB / 1.367 GB, free: 32.47 MB / 0.8855 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.000232/0.8738, allocations: 220.8 kB / 1.367 GB, free: 32.24 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.874, allocations: 209.6 kB / 1.367 GB, free: 32.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.874, allocations: 0 / 1.367 GB, free: 32.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.103e-05/0.8741, allocations: 52.52 kB / 1.367 GB, free: 31.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.8742, allocations: 12.47 kB / 1.367 GB, free: 31.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.8745, allocations: 171.5 kB / 1.367 GB, free: 31.76 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.8746, allocations: 0.7327 MB / 1.368 GB, free: 31 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.8746, allocations: 0 / 1.368 GB, free: 31 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)