Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.1.4-maint.8.1.x/package.mo): time 1.422/1.422, allocations: 289.8 MB / 297.1 MB, free: 6.59 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.001031/0.001031, allocations: 177.3 kB / 366.3 MB, free: 1.871 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.073/1.073, allocations: 205.1 MB / 0.6256 GB, free: 7.414 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.0008582/0.0008583, allocations: 85.78 kB / 0.7395 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1961/0.197, allocations: 122.4 MB / 0.8591 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.6407, allocations: 116.3 MB / 0.9727 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.7825, allocations: 141.1 MB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.7828, allocations: 71.95 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01587/0.7987, allocations: 5.625 MB / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7987, allocations: 11.98 kB / 1.116 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.7988, allocations: 35.62 kB / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.7992, allocations: 271.2 kB / 1.116 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.7993, allocations: 7.938 kB / 1.116 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.7994, allocations: 27.98 kB / 1.116 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001432/0.7995, allocations: 55.98 kB / 1.116 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.7998, allocations: 160.1 kB / 1.117 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7998, allocations: 7.906 kB / 1.117 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.7998, allocations: 4.938 kB / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7999, allocations: 0 / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.8007, allocations: 0.5576 MB / 1.117 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.8009, allocations: 102.6 kB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.801, allocations: 60.84 kB / 1.117 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.8011, allocations: 4 kB / 1.117 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.8013, allocations: 165.2 kB / 1.117 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.8013, allocations: 0 / 1.117 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004394/0.8017, allocations: 185.2 kB / 1.118 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.8018, allocations: 63.39 kB / 1.118 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.8021, allocations: 276.3 kB / 1.118 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.8021, allocations: 33.69 kB / 1.118 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.8022, allocations: 97.08 kB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.8023, allocations: 39.5 kB / 1.118 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.8023, allocations: 4 kB / 1.118 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8024, allocations: 326.8 kB / 1.118 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.8026, allocations: 95.97 kB / 1.118 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.8029, allocations: 145.9 kB / 1.119 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.803, allocations: 75.95 kB / 1.119 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.803, allocations: 0 / 1.119 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005386/0.8036, allocations: 294.3 kB / 1.119 GB, free: 428 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8036, allocations: 4 kB / 1.119 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8036, allocations: 0 / 1.119 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8036, allocations: 7.984 kB / 1.119 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.8038, allocations: 24.11 kB / 1.119 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8038, allocations: 7.938 kB / 1.119 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.8042, allocations: 39.88 kB / 1.119 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.8043, allocations: 39.98 kB / 1.119 GB, free: 304 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001278/0.8044, allocations: 127.5 kB / 1.119 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.8045, allocations: 31.61 kB / 1.119 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.8046, allocations: 30.08 kB / 1.119 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.8046, allocations: 0.8438 kB / 1.119 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8046, allocations: 4 kB / 1.119 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8046, allocations: 0 / 1.119 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.8053, allocations: 0.53 MB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8053, allocations: 9.938 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.8053, allocations: 7.984 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.8054, allocations: 0 / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.8054, allocations: 15.98 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8054, allocations: 3.984 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8054, allocations: 4.875 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003932/0.8058, allocations: 286.1 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004572/0.8063, allocations: 0.6556 MB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.8065, allocations: 192.6 kB / 1.121 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.8066, allocations: 16 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.807, allocations: 35.97 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.8071, allocations: 7.984 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.8071, allocations: 43.97 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001856/0.8073, allocations: 211.1 kB / 1.121 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000899/0.8082, allocations: 55.89 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002213/0.8085, allocations: 131.8 kB / 1.121 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.809, allocations: 279.2 kB / 1.122 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.809, allocations: 4 kB / 1.122 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.8091, allocations: 63.98 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.8094, allocations: 27.8 kB / 1.122 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.8101, allocations: 312.5 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.8105, allocations: 0.7711 MB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8105, allocations: 0 / 1.123 GB, free: 12.31 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)