Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.323/1.323, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0008938/0.0008938, allocations: 179.4 kB / 361.1 MB, free: 7.082 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.038/1.038, 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.0007502/0.0007503, allocations: 92.3 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.208e-06, allocations: 4 kB / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4384, allocations: 115.3 MB / 0.9637 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5744, allocations: 139 MB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5746, allocations: 67.97 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01295/0.5876, allocations: 4.098 MB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.5876, allocations: 8 kB / 1.103 GB, free: 12.88 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001016/0.5887, allocations: 0.5863 MB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5887, allocations: 8.031 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.5889, allocations: 31.72 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.5893, allocations: 255.2 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.5893, allocations: 7.984 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.5894, allocations: 19.94 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/0.5895, allocations: 39.98 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.5897, allocations: 129.5 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5898, allocations: 7.984 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.5898, allocations: 3.984 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5898, allocations: 0 / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.5901, allocations: 315.4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.5903, allocations: 108.1 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.5904, allocations: 52.84 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.5905, allocations: 7.984 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.5908, allocations: 171.2 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.5908, allocations: 0 / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003556/0.5912, allocations: 170.3 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.5912, allocations: 63.39 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.5914, allocations: 247.3 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.5915, allocations: 37.7 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.5916, allocations: 89.12 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.5916, allocations: 35.52 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.5917, allocations: 11.94 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.5918, allocations: 322.8 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.5919, allocations: 80.22 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.5922, allocations: 142.2 kB / 1.106 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.5923, allocations: 73.77 kB / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5923, allocations: 0 / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005068/0.5928, allocations: 287.6 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5928, allocations: 11.98 kB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5929, allocations: 0 / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5929, allocations: 4 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.593, allocations: 27.92 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.5931, allocations: 4 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.5934, allocations: 44.06 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/0.5935, allocations: 55.98 kB / 1.107 GB, free: 9.246 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001169/0.5937, allocations: 127.4 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.5937, allocations: 27.72 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.5938, allocations: 33.97 kB / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.5938, allocations: 0 / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5938, allocations: 1 kB / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5938, allocations: 0 / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.5944, allocations: 495.2 kB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5944, allocations: 0 / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.5945, allocations: 12 kB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5945, allocations: 0 / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.5945, allocations: 15.98 kB / 1.107 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5945, allocations: 1.75 kB / 1.107 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5945, allocations: 3.984 kB / 1.107 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002761/0.5948, allocations: 269.6 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.595, allocations: 152.7 kB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.5951, allocations: 11.98 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.5952, allocations: 9.969 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.5953, allocations: 19.97 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.5953, allocations: 27.98 kB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001474/0.5955, allocations: 195.1 kB / 1.108 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003156/0.5958, allocations: 51.89 kB / 1.108 GB, free: 7.742 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001408/0.596, allocations: 127.4 kB / 1.108 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.5964, allocations: 255.7 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5964, allocations: 4.125 kB / 1.109 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.5965, allocations: 71.91 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5968, allocations: 25.59 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.5973, allocations: 266.9 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.5977, allocations: 0.8046 MB / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of SimCode: time 1.453e-06/0.5977, allocations: 4 kB / 1.11 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of Templates: time 0.007358/0.6051, allocations: 4.286 MB / 1.114 GB, free: 1.918 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)