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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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 loadModel(Buildings): time 4.314/4.314, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.571/4.885, allocations: 104.4 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/5.155, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/5.432, allocations: 125.9 MB / 0.7512 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004272/5.432, allocations: 79.59 kB / 0.7513 GB, free: 11.66 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.03073/5.463, allocations: 5.134 MB / 0.7563 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/5.463, allocations: 8 kB / 0.7563 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/5.463, allocations: 27.72 kB / 0.7564 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/5.464, allocations: 197.9 kB / 0.7566 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/5.464, allocations: 4 kB / 0.7566 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/5.464, allocations: 16 kB / 0.7566 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002306/5.464, allocations: 55.92 kB / 0.7566 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/5.464, allocations: 149.5 kB / 0.7568 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/5.464, allocations: 4 kB / 0.7568 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/5.464, allocations: 7.922 kB / 0.7568 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/5.464, allocations: 4 kB / 0.7568 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/5.466, allocations: 0.5164 MB / 0.7573 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/5.467, allocations: 118.7 kB / 0.7574 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/5.467, allocations: 56.83 kB / 0.7575 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.991e-05/5.467, allocations: 8.234 kB / 0.7575 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007982/5.468, allocations: 163.2 kB / 0.7576 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 4.548e-06/5.468, allocations: 0 / 0.7576 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001045/5.469, allocations: 177.2 kB / 0.7578 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/5.469, allocations: 63.41 kB / 0.7579 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/5.47, allocations: 220 kB / 0.7581 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/5.47, allocations: 33.7 kB / 0.7581 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/5.471, allocations: 96.84 kB / 0.7582 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/5.471, allocations: 39.52 kB / 0.7582 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/5.471, allocations: 4 kB / 0.7582 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002123/5.471, allocations: 322.8 kB / 0.7585 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/5.472, allocations: 96.22 kB / 0.7586 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/5.473, allocations: 158.2 kB / 0.7588 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/5.473, allocations: 84.2 kB / 0.7589 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/5.473, allocations: 4 kB / 0.7589 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00195/5.475, allocations: 295.8 kB / 0.7591 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/5.475, allocations: 10.91 kB / 0.7592 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/5.475, allocations: 8 kB / 0.7592 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.317e-05/5.475, allocations: 0 / 0.7592 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/5.476, allocations: 31.91 kB / 0.7592 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/5.476, allocations: 7.906 kB / 0.7592 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/5.477, allocations: 51.97 kB / 0.7593 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/5.477, allocations: 39.92 kB / 0.7593 GB, free: 3.25 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.0003835/5.478, allocations: 124.1 kB / 0.7594 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/5.478, allocations: 23.72 kB / 0.7594 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/5.478, allocations: 29.89 kB / 0.7595 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/5.478, allocations: 0 / 0.7595 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/5.478, allocations: 0 / 0.7595 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/5.478, allocations: 0 / 0.7595 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/5.48, allocations: 0.4909 MB / 0.7599 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/5.48, allocations: 0 / 0.7599 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/5.48, allocations: 11.92 kB / 0.76 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/5.48, allocations: 4 kB / 0.76 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/5.48, allocations: 11.98 kB / 0.76 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/5.48, allocations: 7.938 kB / 0.76 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/5.48, allocations: 3.906 kB / 0.76 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008468/5.481, allocations: 263.1 kB / 0.7602 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009954/5.482, allocations: 0.6348 MB / 0.7608 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/5.482, allocations: 152.8 kB / 0.761 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/5.483, allocations: 23.97 kB / 0.761 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/5.483, allocations: 7.906 kB / 0.761 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/5.483, allocations: 19.97 kB / 0.761 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/5.483, allocations: 19.98 kB / 0.7611 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003841/5.484, allocations: 176.8 kB / 0.7612 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003653/5.487, allocations: 51.98 kB / 0.7613 GB, free: 1.102 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.0003474/5.488, allocations: 121 kB / 0.7614 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009127/5.489, allocations: 287.3 kB / 0.7617 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/5.489, allocations: 0 / 0.7617 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/5.489, allocations: 67.97 kB / 0.7617 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/5.489, allocations: 31.2 kB / 0.7618 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/5.49, allocations: 252.3 kB / 0.762 GB, free: 332 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/5.491, allocations: 0.786 MB / 0.7628 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/5.491, allocations: 0 / 0.7628 GB, free: 15.51 MB / 0.6511 GB