Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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.246/4.246, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6006/4.847, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/5.118, allocations: 98.73 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2608/5.379, allocations: 125.8 MB / 0.7512 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004239/5.379, allocations: 75.59 kB / 0.7513 GB, free: 11.7 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.03315/5.413, allocations: 5.131 MB / 0.7563 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/5.413, allocations: 12 kB / 0.7563 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/5.413, allocations: 31.7 kB / 0.7563 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/5.413, allocations: 189.9 kB / 0.7565 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/5.413, allocations: 8 kB / 0.7565 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/5.413, allocations: 23.98 kB / 0.7565 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003977/5.414, allocations: 44 kB / 0.7566 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/5.415, allocations: 157.4 kB / 0.7567 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/5.415, allocations: 0 / 0.7567 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/5.415, allocations: 4 kB / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/5.415, allocations: 4 kB / 0.7567 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/5.417, allocations: 0.5164 MB / 0.7572 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/5.418, allocations: 118.7 kB / 0.7574 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/5.418, allocations: 56.83 kB / 0.7574 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-05/5.418, allocations: 8.25 kB / 0.7574 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008503/5.419, allocations: 171.2 kB / 0.7576 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 4.418e-06/5.419, allocations: 0 / 0.7576 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001108/5.42, allocations: 176.5 kB / 0.7577 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/5.421, allocations: 55.41 kB / 0.7578 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/5.421, allocations: 220 kB / 0.758 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/5.421, allocations: 33.7 kB / 0.758 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/5.422, allocations: 100.8 kB / 0.7581 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/5.422, allocations: 35.52 kB / 0.7582 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/5.422, allocations: 4 kB / 0.7582 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002211/5.422, allocations: 326.8 kB / 0.7585 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/5.423, allocations: 100.2 kB / 0.7586 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/5.424, allocations: 150.2 kB / 0.7587 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/5.424, allocations: 80.69 kB / 0.7588 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/5.424, allocations: 0 / 0.7588 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001827/5.426, allocations: 299.7 kB / 0.7591 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/5.426, allocations: 11.92 kB / 0.7591 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/5.426, allocations: 0 / 0.7591 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/5.426, allocations: 4 kB / 0.7591 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/5.426, allocations: 24.11 kB / 0.7591 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/5.426, allocations: 11.91 kB / 0.7591 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/5.428, allocations: 43.81 kB / 0.7592 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/5.428, allocations: 47.98 kB / 0.7592 GB, free: 3.297 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.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.0004126/5.428, allocations: 128 kB / 0.7593 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/5.428, allocations: 19.72 kB / 0.7594 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/5.429, allocations: 25.89 kB / 0.7594 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/5.429, allocations: 7.938 kB / 0.7594 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/5.429, allocations: 0 / 0.7594 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/5.429, allocations: 0 / 0.7594 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/5.43, allocations: 0.4909 MB / 0.7599 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/5.43, allocations: 4 kB / 0.7599 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/5.431, allocations: 15.92 kB / 0.7599 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/5.431, allocations: 0 / 0.7599 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/5.431, allocations: 11.98 kB / 0.7599 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/5.431, allocations: 0 / 0.7599 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/5.431, allocations: 3.906 kB / 0.7599 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007997/5.431, allocations: 263.1 kB / 0.7602 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001241/5.433, allocations: 0.6384 MB / 0.7608 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/5.434, allocations: 160.7 kB / 0.7609 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/5.434, allocations: 8 kB / 0.7609 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009688/5.435, allocations: 19.89 kB / 0.761 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/5.435, allocations: 11.98 kB / 0.761 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/5.435, allocations: 27.98 kB / 0.761 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003424/5.436, allocations: 168.9 kB / 0.7612 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001441/5.437, allocations: 51.98 kB / 0.7612 GB, free: 1.148 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.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.0003493/5.438, allocations: 128.9 kB / 0.7613 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009648/5.439, allocations: 275.4 kB / 0.7616 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/5.439, allocations: 0 / 0.7616 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/5.439, allocations: 76.28 kB / 0.7617 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/5.439, allocations: 31.78 kB / 0.7617 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/5.441, allocations: 251.9 kB / 0.7619 GB, free: 376 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/5.441, allocations: 0.786 MB / 0.7627 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/5.441, allocations: 0 / 0.7627 GB, free: 15.55 MB / 0.6511 GB