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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.225/2.225, 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.001682/0.001682, allocations: 181.3 kB / 360.3 MB, free: 7.535 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.672/1.672, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001152/0.001152, allocations: 80.73 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.249/0.2502, allocations: 121.4 MB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.8112, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/1.017, allocations: 139.1 MB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.017, allocations: 73.08 kB / 1.099 GB, free: 1.648 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.02596/1.043, allocations: 5.464 MB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.043, allocations: 11.94 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/1.043, allocations: 38 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/1.044, allocations: 267.2 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/1.044, allocations: 8 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.044, allocations: 23.92 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002212/1.044, allocations: 57.19 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/1.045, allocations: 154.3 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.045, allocations: 4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/1.045, allocations: 3.984 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/1.045, allocations: 3.906 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.046, allocations: 0.5361 MB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/1.046, allocations: 126.6 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/1.047, allocations: 59.47 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/1.047, allocations: 4 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/1.047, allocations: 175.3 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.225e-06/1.047, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006494/1.048, allocations: 181.9 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.048, allocations: 67.39 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/1.048, allocations: 263.4 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/1.048, allocations: 41.69 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.049, allocations: 93.08 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/1.049, allocations: 47.44 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/1.049, allocations: 7.984 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.049, allocations: 322.8 kB / 1.106 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/1.049, allocations: 104.2 kB / 1.106 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/1.05, allocations: 158.2 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/1.05, allocations: 76.7 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.05, allocations: 7.844 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009927/1.051, allocations: 303.8 kB / 1.107 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.051, allocations: 5.25 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.051, allocations: 0 / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.051, allocations: 7.906 kB / 1.107 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/1.051, allocations: 28.09 kB / 1.107 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.051, allocations: 8 kB / 1.107 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/1.052, allocations: 47.81 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.052, allocations: 55.98 kB / 1.107 GB, free: 8.797 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.0002262/1.053, allocations: 135.8 kB / 1.107 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/1.053, allocations: 27.62 kB / 1.107 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/1.053, allocations: 34.48 kB / 1.107 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.053, allocations: 0 / 1.107 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.053, allocations: 4 kB / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.053, allocations: 0 / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.054, allocations: 0.5104 MB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.054, allocations: 4 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/1.054, allocations: 7.984 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.054, allocations: 0 / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/1.054, allocations: 15.98 kB / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.054, allocations: 3.938 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.054, allocations: 3.906 kB / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005123/1.055, allocations: 273.9 kB / 1.108 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000687/1.055, allocations: 0.6478 MB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/1.056, allocations: 188.5 kB / 1.109 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.056, allocations: 12 kB / 1.109 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/1.056, allocations: 9.812 kB / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/1.056, allocations: 15.97 kB / 1.109 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/1.056, allocations: 35.98 kB / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003959/1.057, allocations: 215.1 kB / 1.109 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00145/1.058, allocations: 55.84 kB / 1.109 GB, free: 6.516 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.0002537/1.058, allocations: 125.2 kB / 1.109 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008845/1.059, allocations: 286.1 kB / 1.11 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.059, allocations: 3.938 kB / 1.11 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/1.06, allocations: 68.36 kB / 1.11 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/1.06, allocations: 33.77 kB / 1.11 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/1.061, allocations: 309.3 kB / 1.11 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/1.062, allocations: 0.8121 MB / 1.111 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.062, allocations: 4 kB / 1.111 GB, free: 4.84 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)