Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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 1.91/1.91, allocations: 248.6 MB / 255.9 MB, free: 7.168 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.001533/0.001533, allocations: 173.2 kB / 315.1 MB, free: 4.262 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.677/1.677, allocations: 205.1 MB / 0.5658 GB, free: 340 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.001855/0.001855, allocations: 84.58 kB / 0.67 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4382/0.4401, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.6225, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5862/1.209, allocations: 133.6 MB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.209, allocations: 66.44 kB / 1.014 GB, free: 6.516 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.02333/1.232, allocations: 4.701 MB / 1.019 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.232, allocations: 12 kB / 1.019 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.233, allocations: 27.72 kB / 1.019 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/1.233, allocations: 257.5 kB / 1.019 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/1.233, allocations: 3.984 kB / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/1.233, allocations: 19.56 kB / 1.019 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001771/1.233, allocations: 46.39 kB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/1.234, allocations: 134.5 kB / 1.019 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.234, allocations: 7.984 kB / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/1.234, allocations: 0 / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.234, allocations: 0 / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/1.234, allocations: 303.2 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/1.235, allocations: 113.7 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/1.235, allocations: 57.91 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/1.235, allocations: 4 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/1.235, allocations: 171.5 kB / 1.02 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/1.235, allocations: 0 / 1.02 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005339/1.236, allocations: 172.2 kB / 1.02 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/1.236, allocations: 63.33 kB / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/1.236, allocations: 243.7 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/1.236, allocations: 37.64 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/1.237, allocations: 91.94 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/1.237, allocations: 34.39 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/1.237, allocations: 11.25 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.237, allocations: 322.6 kB / 1.021 GB, free: 420 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/1.237, allocations: 87.58 kB / 1.021 GB, free: 360 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/1.238, allocations: 133.4 kB / 1.021 GB, free: 240 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/1.238, allocations: 78.91 kB / 1.021 GB, free: 176 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.238, allocations: 0 / 1.021 GB, free: 176 kB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008793/1.239, allocations: 279.7 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.239, allocations: 8 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.239, allocations: 0 / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.239, allocations: 8.188 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/1.239, allocations: 27.83 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.239, allocations: 4.75 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/1.24, allocations: 47.81 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.24, allocations: 59.22 kB / 1.021 GB, free: 15.8 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.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.000193/1.24, allocations: 123.4 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/1.24, allocations: 27.62 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/1.24, allocations: 28.84 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.24, allocations: 0 / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.24, allocations: 0 / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.24, allocations: 7.922 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/1.241, allocations: 499.5 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.241, allocations: 0 / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/1.241, allocations: 8 kB / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.241, allocations: 0 / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/1.242, allocations: 15.3 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.242, allocations: 3.984 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.242, allocations: 0 / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004919/1.242, allocations: 272.5 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006595/1.243, allocations: 0.6364 MB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/1.243, allocations: 155.9 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/1.243, allocations: 7.438 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/1.243, allocations: 7.984 kB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/1.244, allocations: 23.78 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/1.244, allocations: 35.89 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002671/1.244, allocations: 197 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001305/1.245, allocations: 47.98 kB / 1.023 GB, free: 13.81 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.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.0002004/1.245, allocations: 120.7 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007733/1.246, allocations: 258.4 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.246, allocations: 4.375 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/1.246, allocations: 65.86 kB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/1.247, allocations: 23.88 kB / 1.024 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/1.248, allocations: 263.7 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007332/1.248, allocations: 0.8005 MB / 1.025 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.249, allocations: 4 kB / 1.025 GB, free: 12.33 MB / 0.6511 GB