Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.315/1.315, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009137/0.0009137, allocations: 185.3 kB / 361.1 MB, free: 7.059 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.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0007631/0.0007631, allocations: 89.42 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.174/0.1748, allocations: 121.5 MB / 0.8512 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.5844, allocations: 115.3 MB / 0.9638 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.7173, allocations: 139.2 MB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.7176, allocations: 69.41 kB / 1.1 GB, free: 0.6406 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.01434/0.7319, allocations: 5.447 MB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.732, allocations: 12.5 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.7321, allocations: 35.62 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.7324, allocations: 276.6 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.7324, allocations: 8 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.7325, allocations: 21.3 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001239/0.7326, allocations: 47.98 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.7329, allocations: 161.3 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.7329, allocations: 3.984 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.7329, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.7329, allocations: 7.906 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/0.7336, allocations: 0.5438 MB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.7338, allocations: 118.6 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.7339, allocations: 60.84 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.734, allocations: 0 / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.7343, allocations: 183.2 kB / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.7343, allocations: 0 / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003266/0.7346, allocations: 178.6 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.7347, allocations: 64.42 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.7349, allocations: 271.4 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.7349, allocations: 37.69 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.735, allocations: 97.08 kB / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.7351, allocations: 43.44 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.7351, allocations: 4 kB / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.7352, allocations: 322.8 kB / 1.108 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.7354, allocations: 104.2 kB / 1.108 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.7356, allocations: 154.2 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.7358, allocations: 87.27 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7358, allocations: 3.906 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005237/0.7363, allocations: 311.5 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.7363, allocations: 8 kB / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7363, allocations: 0 / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7363, allocations: 7.906 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.7365, allocations: 29.41 kB / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7365, allocations: 7.938 kB / 1.108 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.7369, allocations: 44.06 kB / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.737, allocations: 55.98 kB / 1.108 GB, free: 7.793 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.0001341/0.7371, allocations: 132 kB / 1.108 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.7372, allocations: 31.62 kB / 1.108 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.7372, allocations: 30.08 kB / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7372, allocations: 0 / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7372, allocations: 0 / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7372, allocations: 0 / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.7378, allocations: 0.5163 MB / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.7378, allocations: 2.188 kB / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.7379, allocations: 8 kB / 1.109 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.7379, allocations: 4 kB / 1.109 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.7379, allocations: 15.98 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7379, allocations: 0 / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7379, allocations: 9.172 kB / 1.109 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002886/0.7382, allocations: 271.1 kB / 1.109 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004018/0.7386, allocations: 0.6463 MB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.7388, allocations: 192.5 kB / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.7389, allocations: 8 kB / 1.11 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.7391, allocations: 15.98 kB / 1.11 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.7391, allocations: 7.984 kB / 1.11 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.7392, allocations: 27.98 kB / 1.11 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001627/0.7393, allocations: 219.1 kB / 1.11 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000915/0.7403, allocations: 51.89 kB / 1.11 GB, free: 5.523 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.0001649/0.7404, allocations: 137 kB / 1.111 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.7409, allocations: 287.4 kB / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7409, allocations: 0 / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.741, allocations: 75.91 kB / 1.111 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.7413, allocations: 24.55 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.7418, allocations: 309.8 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.7423, allocations: 0.8138 MB / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7423, allocations: 1.219 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)