Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 1.927/1.927, 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.001594/0.001594, allocations: 192.2 kB / 315.1 MB, free: 4.258 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.665/1.665, allocations: 205.2 MB / 0.5658 GB, free: 436 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.001259/0.001259, allocations: 91.27 kB / 0.67 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4079/0.4092, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.5874, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5805/1.168, allocations: 133.6 MB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.168, allocations: 71.77 kB / 1.014 GB, free: 6.27 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.02369/1.192, allocations: 4.712 MB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.192, allocations: 12 kB / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/1.192, allocations: 27.72 kB / 1.019 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/1.193, allocations: 261.8 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/1.193, allocations: 4 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.193, allocations: 15.98 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001912/1.193, allocations: 50.14 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/1.194, allocations: 136.7 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.194, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/1.194, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.194, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/1.194, allocations: 307.7 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/1.195, allocations: 108.8 kB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/1.195, allocations: 54.91 kB / 1.02 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/1.195, allocations: 0 / 1.02 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/1.195, allocations: 185.4 kB / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/1.195, allocations: 0 / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005991/1.196, allocations: 168.9 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/1.196, allocations: 63.34 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/1.196, allocations: 248 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.734e-05/1.197, allocations: 37.64 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/1.197, allocations: 87.89 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/1.197, allocations: 43.12 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/1.197, allocations: 3.984 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.197, allocations: 321.3 kB / 1.021 GB, free: 152 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/1.197, allocations: 86.14 kB / 1.021 GB, free: 92 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/1.198, allocations: 135.8 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/1.198, allocations: 81.66 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.198, allocations: 0 / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008988/1.199, allocations: 280.3 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.199, allocations: 8 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.199, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.199, allocations: 4 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/1.199, allocations: 31.81 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.199, allocations: 4 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/1.2, allocations: 48 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.2, allocations: 55.36 kB / 1.021 GB, free: 15.54 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.0002041/1.2, allocations: 126.4 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/1.2, allocations: 31.62 kB / 1.022 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/1.201, allocations: 35.58 kB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.201, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.201, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.201, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/1.202, allocations: 485.9 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.202, allocations: 4 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/1.202, allocations: 7.984 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.202, allocations: 4 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/1.202, allocations: 15.73 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.202, allocations: 0 / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.202, allocations: 0 / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004953/1.202, allocations: 273.8 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006364/1.203, allocations: 0.6358 MB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/1.203, allocations: 161.2 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/1.203, allocations: 7.625 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/1.204, allocations: 11.98 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/1.204, allocations: 7.984 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/1.204, allocations: 42.62 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002695/1.204, allocations: 198 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001369/1.206, allocations: 47.25 kB / 1.023 GB, free: 13.55 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.0002119/1.206, allocations: 124.8 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007605/1.207, allocations: 254.5 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.207, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/1.207, allocations: 72.66 kB / 1.024 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/1.207, allocations: 22.45 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/1.208, allocations: 280.1 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/1.209, allocations: 0.7974 MB / 1.025 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.209, allocations: 0 / 1.025 GB, free: 12.06 MB / 0.6511 GB