Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.17/2.17, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001594/0.001594, allocations: 177.3 kB / 360.3 MB, free: 7.562 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.675/1.675, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001215/0.001214, allocations: 92.23 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2472/0.2485, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.8095, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/1.016, allocations: 139.1 MB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.017, allocations: 72.98 kB / 1.099 GB, free: 1.664 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.02641/1.043, allocations: 5.458 MB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.043, allocations: 16.38 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/1.043, allocations: 39.61 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/1.044, allocations: 263.2 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/1.044, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.044, allocations: 31.86 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002285/1.044, allocations: 53.2 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/1.045, allocations: 160.6 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.045, allocations: 0 / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/1.045, allocations: 3.984 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/1.045, allocations: 3.906 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/1.046, allocations: 0.5477 MB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/1.046, allocations: 122.6 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/1.047, allocations: 54.72 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/1.047, allocations: 4 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006358/1.047, allocations: 175.2 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.425e-06/1.047, allocations: 0 / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005949/1.048, allocations: 181.9 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/1.048, allocations: 67.39 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/1.048, allocations: 267.4 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/1.049, allocations: 37.69 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/1.049, allocations: 93.08 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/1.049, allocations: 47.44 kB / 1.106 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/1.049, allocations: 4 kB / 1.106 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.049, allocations: 322.8 kB / 1.106 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/1.049, allocations: 104.2 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/1.05, allocations: 158.2 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/1.05, allocations: 87.62 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.05, allocations: 7.906 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009987/1.051, allocations: 303.8 kB / 1.107 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.051, allocations: 8.25 kB / 1.107 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.051, allocations: 4 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.051, allocations: 3.906 kB / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/1.052, allocations: 31.97 kB / 1.107 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/1.052, allocations: 5.109 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/1.052, allocations: 52 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.052, allocations: 47.98 kB / 1.107 GB, free: 8.805 MB / 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: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 (28): * Single equations (assignments): 26 * 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.0002314/1.053, allocations: 132 kB / 1.107 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/1.053, allocations: 27.62 kB / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/1.053, allocations: 30.08 kB / 1.107 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.053, allocations: 4 kB / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.053, allocations: 0 / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.053, allocations: 0 / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/1.054, allocations: 0.5116 MB / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.054, allocations: 0 / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/1.054, allocations: 15.92 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.054, allocations: 4 kB / 1.108 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/1.054, allocations: 11.97 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.054, allocations: 0 / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.054, allocations: 3.906 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005126/1.055, allocations: 273.9 kB / 1.108 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006931/1.056, allocations: 0.6538 MB / 1.109 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/1.056, allocations: 184.6 kB / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.056, allocations: 15.98 kB / 1.109 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/1.056, allocations: 8 kB / 1.109 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/1.056, allocations: 19.97 kB / 1.109 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/1.057, allocations: 27.98 kB / 1.109 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003935/1.057, allocations: 219.1 kB / 1.109 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001369/1.058, allocations: 51.91 kB / 1.109 GB, free: 6.527 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0002419/1.059, allocations: 125.2 kB / 1.109 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008529/1.059, allocations: 290.1 kB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.059, allocations: 0 / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/1.06, allocations: 75.67 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/1.06, allocations: 28.91 kB / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.061, allocations: 309.4 kB / 1.11 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/1.062, allocations: 0.8097 MB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.062, allocations: 0 / 1.111 GB, free: 4.855 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)