Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.1.4-maint.8.1.x/package.mo): time 1.554/1.554, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001026/0.001026, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.601/1.601, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.001127/0.001127, allocations: 84.83 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2739/0.2751, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/1.025, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/1.222, allocations: 140.9 MB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.222, allocations: 75.89 kB / 1.11 GB, free: 7.516 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.01542/1.238, allocations: 4.846 MB / 1.115 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.238, allocations: 8 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.238, allocations: 31.72 kB / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/1.238, allocations: 267.1 kB / 1.115 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/1.238, allocations: 4 kB / 1.115 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/1.238, allocations: 12 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001401/1.239, allocations: 47.98 kB / 1.115 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/1.239, allocations: 141.5 kB / 1.115 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.239, allocations: 3.984 kB / 1.115 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/1.239, allocations: 7.906 kB / 1.116 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.239, allocations: 0 / 1.116 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/1.239, allocations: 301.9 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/1.24, allocations: 102.5 kB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/1.24, allocations: 60.84 kB / 1.116 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/1.24, allocations: 3.906 kB / 1.116 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/1.24, allocations: 151.3 kB / 1.116 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/1.24, allocations: 0 / 1.116 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004817/1.24, allocations: 185.3 kB / 1.116 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/1.24, allocations: 55.41 kB / 1.116 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/1.241, allocations: 255.2 kB / 1.117 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/1.241, allocations: 35.77 kB / 1.117 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/1.241, allocations: 89.14 kB / 1.117 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/1.241, allocations: 35.59 kB / 1.117 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/1.241, allocations: 4 kB / 1.117 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.241, allocations: 326.7 kB / 1.117 GB, free: 376 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/1.241, allocations: 79.97 kB / 1.117 GB, free: 296 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/1.241, allocations: 126 kB / 1.117 GB, free: 148 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.242, allocations: 67.22 kB / 1.117 GB, free: 84 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.242, allocations: 8 kB / 1.117 GB, free: 76 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005412/1.242, allocations: 261.8 kB / 1.118 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.242, allocations: 8.938 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.242, allocations: 0 / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.242, allocations: 4 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.242, allocations: 19.92 kB / 1.118 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.242, allocations: 4 kB / 1.118 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/1.243, allocations: 44 kB / 1.118 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/1.243, allocations: 43.98 kB / 1.118 GB, free: 15.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001648/1.243, allocations: 130.8 kB / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/1.243, allocations: 27.7 kB / 1.118 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/1.243, allocations: 26.02 kB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.243, allocations: 4 kB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.243, allocations: 3.906 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.243, allocations: 1.594 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007686/1.244, allocations: 0.4919 MB / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.244, allocations: 3.938 kB / 1.118 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/1.244, allocations: 4 kB / 1.118 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.244, allocations: 4 kB / 1.118 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.244, allocations: 23.97 kB / 1.118 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.244, allocations: 0 / 1.118 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.244, allocations: 0 / 1.118 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003402/1.244, allocations: 279.5 kB / 1.119 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005061/1.245, allocations: 0.6466 MB / 1.119 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/1.245, allocations: 156.7 kB / 1.119 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.628e-05/1.245, allocations: 11.91 kB / 1.119 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/1.246, allocations: 31.97 kB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/1.246, allocations: 15.98 kB / 1.119 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/1.246, allocations: 43.95 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001681/1.246, allocations: 199.1 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000927/1.247, allocations: 52.36 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001986/1.247, allocations: 127.3 kB / 1.12 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005049/1.248, allocations: 246 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.248, allocations: 4.375 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/1.248, allocations: 63.92 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.248, allocations: 20.64 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/1.249, allocations: 261.2 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/1.249, allocations: 0.769 MB / 1.121 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.249, allocations: 0 / 1.121 GB, free: 11.91 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)