Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.321/4.321, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5754/4.897, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/5.146, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/5.407, allocations: 125.5 MB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/5.408, allocations: 75.59 kB / 0.7509 GB, free: 12.04 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.02911/5.437, allocations: 4.402 MB / 0.7552 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/5.437, allocations: 8 kB / 0.7552 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/5.437, allocations: 27.72 kB / 0.7552 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/5.437, allocations: 187.9 kB / 0.7554 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/5.437, allocations: 3.984 kB / 0.7554 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/5.437, allocations: 16 kB / 0.7554 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001756/5.438, allocations: 35.98 kB / 0.7555 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/5.438, allocations: 141.5 kB / 0.7556 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/5.438, allocations: 0 / 0.7556 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/5.438, allocations: 7.938 kB / 0.7556 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/5.438, allocations: 4 kB / 0.7556 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/5.439, allocations: 277.9 kB / 0.7559 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/5.439, allocations: 106.7 kB / 0.756 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/5.439, allocations: 52.84 kB / 0.756 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/5.439, allocations: 4 kB / 0.756 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004661/5.44, allocations: 163.2 kB / 0.7562 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.395e-06/5.44, allocations: 0 / 0.7562 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005807/5.44, allocations: 161.3 kB / 0.7564 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/5.44, allocations: 59.41 kB / 0.7564 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/5.441, allocations: 194.9 kB / 0.7566 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/5.441, allocations: 37.7 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/5.441, allocations: 84.92 kB / 0.7567 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/5.441, allocations: 43.45 kB / 0.7568 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/5.441, allocations: 7.984 kB / 0.7568 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001274/5.441, allocations: 326.8 kB / 0.7571 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/5.441, allocations: 84.22 kB / 0.7572 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/5.442, allocations: 134.1 kB / 0.7573 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/5.442, allocations: 72.7 kB / 0.7573 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/5.442, allocations: 0 / 0.7573 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009204/5.443, allocations: 271.7 kB / 0.7576 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/5.443, allocations: 4 kB / 0.7576 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/5.443, allocations: 0 / 0.7576 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/5.443, allocations: 8.188 kB / 0.7576 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/5.443, allocations: 35.84 kB / 0.7577 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/5.443, allocations: 7.984 kB / 0.7577 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/5.444, allocations: 47.88 kB / 0.7577 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/5.444, allocations: 43.95 kB / 0.7577 GB, free: 4.777 MB / 0.6355 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.0002038/5.445, allocations: 126.1 kB / 0.7579 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/5.445, allocations: 23.7 kB / 0.7579 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/5.445, allocations: 21.59 kB / 0.7579 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/5.445, allocations: 0 / 0.7579 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/5.445, allocations: 0 / 0.7579 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/5.445, allocations: 11.92 kB / 0.7579 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/5.446, allocations: 477.8 kB / 0.7584 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/5.446, allocations: 0 / 0.7584 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/5.446, allocations: 4 kB / 0.7584 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/5.446, allocations: 4 kB / 0.7584 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/5.446, allocations: 11.97 kB / 0.7584 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/5.446, allocations: 0 / 0.7584 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.446, allocations: 0 / 0.7584 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000457/5.446, allocations: 259.1 kB / 0.7586 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006271/5.447, allocations: 0.6245 MB / 0.7593 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/5.447, allocations: 144.7 kB / 0.7594 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/5.447, allocations: 8 kB / 0.7594 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/5.448, allocations: 7.984 kB / 0.7594 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/5.448, allocations: 15.98 kB / 0.7594 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/5.448, allocations: 27.97 kB / 0.7595 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000215/5.448, allocations: 157.5 kB / 0.7596 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002875/5.451, allocations: 43.98 kB / 0.7596 GB, free: 2.734 MB / 0.6355 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.0002337/5.451, allocations: 119.1 kB / 0.7598 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007942/5.452, allocations: 253.8 kB / 0.76 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/5.452, allocations: 4.375 kB / 0.76 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/5.452, allocations: 71.86 kB / 0.7601 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/5.453, allocations: 16.56 kB / 0.7601 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/5.454, allocations: 220.7 kB / 0.7603 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/5.454, allocations: 0.7746 MB / 0.7611 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/5.454, allocations: 0 / 0.7611 GB, free: 1.227 MB / 0.6355 GB