Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [: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.315/2.315, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001618/0.001618, allocations: 193.2 kB / 360.4 MB, free: 7.484 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.686/1.686, 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.001256/0.001255, allocations: 94 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.29e-05, allocations: 4 kB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5656, allocations: 115.2 MB / 0.9628 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.778, allocations: 138.9 MB / 1.098 GB, free: 1.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.7784, allocations: 64.94 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02303/0.8014, allocations: 4.114 MB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.8015, allocations: 4 kB / 1.102 GB, free: 13.74 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.001226/0.8027, allocations: 0.5824 MB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8028, allocations: 8.031 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.803, allocations: 35.7 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.8035, allocations: 255.1 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.8035, allocations: 4 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8037, allocations: 16 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001914/0.8039, allocations: 43.98 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.8042, allocations: 137.5 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.8042, allocations: 3.984 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.8043, allocations: 0 / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.8043, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.8049, allocations: 307.6 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.8053, allocations: 118.7 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.8055, allocations: 52.84 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.8055, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005453/0.8061, allocations: 173.2 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.8061, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.000622/0.8067, allocations: 175 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.8068, allocations: 59.34 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.8072, allocations: 251.3 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.8073, allocations: 33.69 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.8074, allocations: 93.14 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.8075, allocations: 39.52 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.8075, allocations: 4 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8077, allocations: 318.8 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.808, allocations: 92.2 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.8084, allocations: 140 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.8087, allocations: 76.69 kB / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.8087, allocations: 0 / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009053/0.8096, allocations: 283.6 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8097, allocations: 8.844 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.8097, allocations: 0 / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.8097, allocations: 4 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.81, allocations: 23.92 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.81, allocations: 4 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.8107, allocations: 47.88 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.8109, allocations: 55.97 kB / 1.106 GB, free: 10.11 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.0002126/0.8111, allocations: 135.9 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.8112, allocations: 23.72 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.8113, allocations: 25.97 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.8113, allocations: 4 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8114, allocations: 4 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.8114, allocations: 5.984 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.8124, allocations: 497.5 kB / 1.106 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8124, allocations: 0 / 1.106 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.8125, allocations: 11.75 kB / 1.106 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.8126, allocations: 0 / 1.106 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.8126, allocations: 11.97 kB / 1.106 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.8127, allocations: 4 kB / 1.106 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8127, allocations: 0 / 1.106 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004991/0.8132, allocations: 271 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.8135, allocations: 152.7 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.8136, allocations: 11.98 kB / 1.107 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.8139, allocations: 8 kB / 1.107 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.814, allocations: 15.97 kB / 1.107 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.8141, allocations: 35.97 kB / 1.107 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002854/0.8144, allocations: 203.1 kB / 1.107 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005749/0.815, allocations: 43.91 kB / 1.107 GB, free: 8.594 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.0002167/0.8152, allocations: 122.5 kB / 1.107 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008529/0.8161, allocations: 255.5 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8161, allocations: 4 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.8163, allocations: 67.92 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.8168, allocations: 20.27 kB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.8177, allocations: 270.9 kB / 1.108 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006663/0.8184, allocations: 0.7982 MB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.8184, allocations: 3.938 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of Templates: time 0.01259/0.831, allocations: 4.288 MB / 1.113 GB, free: 2.781 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)