Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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 7.0.1/package.mo): time 2.639/2.639, allocations: 248.6 MB / 255.9 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.001661, allocations: 188.2 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.1 MB / 0.5658 GB, free: 476 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 91.33 kB / 0.67 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5159/0.5171, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.7192, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6968/1.416, allocations: 133.9 MB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.416, allocations: 73.33 kB / 1.014 GB, free: 5.98 MB / 0.6355 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.02701/1.443, allocations: 5.477 MB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.443, allocations: 8 kB / 1.02 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/1.444, allocations: 35.62 kB / 1.02 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/1.444, allocations: 277.4 kB / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/1.444, allocations: 7.984 kB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.444, allocations: 19.84 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002281/1.445, allocations: 56.55 kB / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/1.445, allocations: 156.6 kB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.445, allocations: 0 / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/1.445, allocations: 0 / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.445, allocations: 4 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.447, allocations: 0.5468 MB / 1.021 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/1.447, allocations: 118.2 kB / 1.021 GB, free: 184 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/1.447, allocations: 57.59 kB / 1.021 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/1.447, allocations: 7.938 kB / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/1.448, allocations: 182.2 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/1.448, allocations: 0 / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007034/1.449, allocations: 181.8 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.449, allocations: 62.95 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/1.449, allocations: 264.2 kB / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.449, allocations: 36.45 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.449, allocations: 96.78 kB / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/1.45, allocations: 55 kB / 1.022 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/1.45, allocations: 4 kB / 1.022 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.45, allocations: 325.5 kB / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/1.45, allocations: 110.8 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/1.451, allocations: 157 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/1.451, allocations: 84.56 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.451, allocations: 4 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001035/1.452, allocations: 305.5 kB / 1.023 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.452, allocations: 4 kB / 1.023 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.452, allocations: 8.188 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.452, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/1.453, allocations: 35.59 kB / 1.023 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.453, allocations: 0 / 1.023 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/1.453, allocations: 51.81 kB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.453, allocations: 51.86 kB / 1.023 GB, free: 14.39 MB / 0.6511 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.0002391/1.454, allocations: 123.8 kB / 1.023 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/1.454, allocations: 31.61 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/1.454, allocations: 28.64 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.454, allocations: 4 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.454, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.454, allocations: 7.906 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.455, allocations: 0.5135 MB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.455, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/1.455, allocations: 7.984 kB / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.455, allocations: 7.938 kB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/1.455, allocations: 11.98 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.455, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.455, allocations: 4 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005137/1.456, allocations: 278.7 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006696/1.457, allocations: 0.6454 MB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/1.457, allocations: 180 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.457, allocations: 22.23 kB / 1.025 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/1.457, allocations: 11.91 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/1.457, allocations: 19.34 kB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/1.458, allocations: 27.98 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003374/1.458, allocations: 217.7 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00142/1.459, allocations: 52 kB / 1.025 GB, free: 12.36 MB / 0.6511 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.0002789/1.46, allocations: 128.2 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008865/1.461, allocations: 289.9 kB / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.461, allocations: 0 / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/1.461, allocations: 68.55 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/1.461, allocations: 27 kB / 1.026 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.462, allocations: 298.8 kB / 1.026 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008354/1.463, allocations: 0.8112 MB / 1.027 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.463, allocations: 0 / 1.027 GB, free: 10.83 MB / 0.6511 GB