Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.896/1.896, allocations: 248.6 MB / 255.9 MB, free: 7.191 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.001581/0.001581, allocations: 189.2 kB / 315.1 MB, free: 4.273 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.639/1.639, allocations: 205.1 MB / 0.5658 GB, free: 276 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.001253/0.001253, allocations: 90.84 kB / 0.67 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3975/0.3988, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.5834, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5632/1.147, allocations: 133.6 MB / 1.014 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.147, allocations: 69.22 kB / 1.014 GB, free: 6.48 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.0232/1.17, allocations: 4.71 MB / 1.019 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.17, allocations: 8 kB / 1.019 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/1.17, allocations: 27.72 kB / 1.019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/1.171, allocations: 265.2 kB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/1.171, allocations: 4 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.171, allocations: 15.98 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001727/1.171, allocations: 41.52 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/1.172, allocations: 136.6 kB / 1.019 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.172, allocations: 0 / 1.019 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/1.172, allocations: 7.422 kB / 1.019 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/1.172, allocations: 0 / 1.019 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/1.172, allocations: 301.7 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/1.172, allocations: 117.5 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/1.173, allocations: 49.17 kB / 1.02 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/1.173, allocations: 7.984 kB / 1.02 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/1.173, allocations: 171.2 kB / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/1.173, allocations: 0 / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006024/1.174, allocations: 172.7 kB / 1.02 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.174, allocations: 63.14 kB / 1.02 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/1.174, allocations: 240.9 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/1.174, allocations: 44.89 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/1.174, allocations: 89.02 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/1.175, allocations: 42.88 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/1.175, allocations: 0 / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.175, allocations: 322.4 kB / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/1.175, allocations: 81.34 kB / 1.021 GB, free: 316 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/1.176, allocations: 141.5 kB / 1.021 GB, free: 188 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/1.176, allocations: 76.8 kB / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.176, allocations: 0 / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008439/1.177, allocations: 281.3 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.177, allocations: 9.406 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.177, allocations: 0 / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.177, allocations: 4 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/1.177, allocations: 32.56 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.177, allocations: 4 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/1.178, allocations: 47.94 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.178, allocations: 55.42 kB / 1.021 GB, free: 15.76 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.0001572/1.178, allocations: 126.9 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/1.178, allocations: 27.62 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/1.178, allocations: 36.59 kB / 1.022 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.178, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.178, allocations: 3.938 kB / 1.022 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.178, allocations: 3.984 kB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009191/1.179, allocations: 487.9 kB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.179, allocations: 4 kB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/1.179, allocations: 7.984 kB / 1.022 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.179, allocations: 0 / 1.022 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/1.179, allocations: 18.86 kB / 1.022 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.179, allocations: 4 kB / 1.022 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.179, allocations: 3.938 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004624/1.18, allocations: 268.3 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006143/1.18, allocations: 0.6357 MB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/1.181, allocations: 158.5 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/1.181, allocations: 11.94 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/1.181, allocations: 11.98 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/1.181, allocations: 11.97 kB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/1.181, allocations: 35.58 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002525/1.181, allocations: 196.7 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001288/1.183, allocations: 47.98 kB / 1.023 GB, free: 13.77 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.0001953/1.183, allocations: 121.1 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006908/1.184, allocations: 263.5 kB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.184, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/1.184, allocations: 66.05 kB / 1.024 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/1.184, allocations: 23.06 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/1.185, allocations: 269.8 kB / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/1.186, allocations: 0.8014 MB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/1.186, allocations: 0 / 1.025 GB, free: 12.28 MB / 0.6511 GB