Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.114/2.114, allocations: 284.9 MB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 181.2 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 81.25 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.07e-05, allocations: 4 kB / 0.8503 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.56, allocations: 115.2 MB / 0.9628 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.7652, allocations: 139.1 MB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.7655, allocations: 72.75 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02429/0.7898, allocations: 4.841 MB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.7898, allocations: 4 kB / 1.103 GB, free: 12.75 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.00124/0.7911, allocations: 0.6025 MB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.7911, allocations: 16.47 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.7913, allocations: 35.62 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.7918, allocations: 271.2 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.7919, allocations: 7.984 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.792, allocations: 20 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000215/0.7922, allocations: 49.19 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.7926, allocations: 171 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7927, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.7927, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7927, allocations: 7.906 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.7939, allocations: 0.5377 MB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.7943, allocations: 122.6 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.7945, allocations: 56.84 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.7945, allocations: 0 / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.7951, allocations: 183.3 kB / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.7951, allocations: 0 / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005718/0.7957, allocations: 178.1 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.7957, allocations: 59.34 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.7962, allocations: 279.4 kB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.624e-05/0.7963, allocations: 33.7 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7964, allocations: 97.06 kB / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.7964, allocations: 43.44 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.7965, allocations: 8 kB / 1.106 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7966, allocations: 322.8 kB / 1.106 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.797, allocations: 104.2 kB / 1.106 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.7975, allocations: 154.2 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.7978, allocations: 80.7 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.7978, allocations: 7.891 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009528/0.7987, allocations: 304.4 kB / 1.107 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.7988, allocations: 11.98 kB / 1.107 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7988, allocations: 0 / 1.107 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.7988, allocations: 7.906 kB / 1.107 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.7991, allocations: 33.36 kB / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.7991, allocations: 4 kB / 1.107 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.7998, allocations: 44.06 kB / 1.107 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.8, allocations: 55.98 kB / 1.107 GB, free: 8.648 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.0002306/0.8002, allocations: 131.8 kB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.8003, allocations: 35.62 kB / 1.107 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.8004, allocations: 32.14 kB / 1.107 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8004, allocations: 0 / 1.107 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8004, allocations: 0 / 1.107 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.8004, allocations: 3.984 kB / 1.107 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.8014, allocations: 0.5114 MB / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8014, allocations: 0 / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.8015, allocations: 8 kB / 1.108 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.8015, allocations: 0 / 1.108 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.8016, allocations: 23.97 kB / 1.108 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8016, allocations: 3.938 kB / 1.108 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8016, allocations: 5.031 kB / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004788/0.8021, allocations: 268 kB / 1.108 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.8024, allocations: 188.5 kB / 1.108 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.8026, allocations: 12 kB / 1.108 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.8029, allocations: 15.98 kB / 1.108 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.803, allocations: 17.03 kB / 1.108 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.803, allocations: 31.98 kB / 1.108 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003019/0.8033, allocations: 215 kB / 1.109 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005228/0.8039, allocations: 56.23 kB / 1.109 GB, free: 7.027 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.0002134/0.8041, allocations: 124.9 kB / 1.109 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007583/0.8049, allocations: 281.7 kB / 1.109 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8049, allocations: 4.062 kB / 1.109 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.8051, allocations: 76.58 kB / 1.109 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.8055, allocations: 28.84 kB / 1.109 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.8068, allocations: 308.6 kB / 1.109 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.8079, allocations: 0.8097 MB / 1.11 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of SimCode: time 1.462e-06/0.808, allocations: 0 / 1.11 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.01612/0.8241, allocations: 4.664 MB / 1.115 GB, free: 0.7578 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (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 & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)