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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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 loadModel(Buildings): time 4.278/4.278, allocations: 433 MB / 440.3 MB, free: 24.71 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3071/4.586, allocations: 104.4 MB / 0.5319 GB, free: 4.449 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6278/5.213, allocations: 98.7 MB / 0.6283 GB, free: 0.6602 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/5.478, allocations: 125.9 MB / 0.7512 GB, free: 3.234 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004996/5.478, allocations: 75.84 kB / 0.7513 GB, free: 3.164 MB / 0.6121 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.04005/5.518, allocations: 5.14 MB / 0.7563 GB, free: 13.95 MB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/5.518, allocations: 12 kB / 0.7563 GB, free: 13.93 MB / 0.6277 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/5.519, allocations: 27.72 kB / 0.7564 GB, free: 13.91 MB / 0.6277 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/5.519, allocations: 197.8 kB / 0.7566 GB, free: 13.67 MB / 0.6277 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/5.519, allocations: 4 kB / 0.7566 GB, free: 13.67 MB / 0.6277 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/5.519, allocations: 20 kB / 0.7566 GB, free: 13.65 MB / 0.6277 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003859/5.52, allocations: 51.92 kB / 0.7566 GB, free: 13.6 MB / 0.6277 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/5.521, allocations: 149.5 kB / 0.7568 GB, free: 13.45 MB / 0.6277 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/5.521, allocations: 0 / 0.7568 GB, free: 13.45 MB / 0.6277 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/5.521, allocations: 7.984 kB / 0.7568 GB, free: 13.44 MB / 0.6277 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/5.521, allocations: 8 kB / 0.7568 GB, free: 13.43 MB / 0.6277 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/5.523, allocations: 0.5125 MB / 0.7573 GB, free: 12.88 MB / 0.6277 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/5.523, allocations: 122.7 kB / 0.7574 GB, free: 12.75 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/5.523, allocations: 56.84 kB / 0.7575 GB, free: 12.69 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/5.524, allocations: 4 kB / 0.7575 GB, free: 12.69 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007249/5.524, allocations: 163.2 kB / 0.7576 GB, free: 12.52 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=18): time 4.098e-06/5.524, allocations: 0 / 0.7576 GB, free: 12.52 MB / 0.6277 GB Notification: Performance of matching and sorting (n=18): time 0.000967/5.525, allocations: 180.1 kB / 0.7578 GB, free: 12.34 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/5.525, allocations: 63.39 kB / 0.7579 GB, free: 12.26 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/5.526, allocations: 216 kB / 0.7581 GB, free: 12.05 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/5.526, allocations: 33.7 kB / 0.7581 GB, free: 12.01 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/5.526, allocations: 96.92 kB / 0.7582 GB, free: 11.91 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/5.526, allocations: 47.44 kB / 0.7582 GB, free: 11.86 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/5.526, allocations: 0 / 0.7582 GB, free: 11.86 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 0.0001323/5.526, allocations: 322.8 kB / 0.7585 GB, free: 11.54 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/5.527, allocations: 96.22 kB / 0.7586 GB, free: 11.44 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/5.527, allocations: 159.2 kB / 0.7588 GB, free: 11.27 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/5.527, allocations: 84.58 kB / 0.7589 GB, free: 11.18 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/5.527, allocations: 0 / 0.7589 GB, free: 11.18 MB / 0.6277 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001021/5.529, allocations: 307.4 kB / 0.7592 GB, free: 10.88 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/5.529, allocations: 8.188 kB / 0.7592 GB, free: 10.87 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/5.529, allocations: 0 / 0.7592 GB, free: 10.87 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/5.529, allocations: 4 kB / 0.7592 GB, free: 10.87 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/5.529, allocations: 23.97 kB / 0.7592 GB, free: 10.84 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/5.529, allocations: 11.84 kB / 0.7592 GB, free: 10.83 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/5.53, allocations: 55.75 kB / 0.7593 GB, free: 10.78 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/5.53, allocations: 39.98 kB / 0.7593 GB, free: 10.74 MB / 0.6277 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.0002389/5.53, allocations: 128 kB / 0.7594 GB, free: 10.61 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/5.53, allocations: 23.72 kB / 0.7594 GB, free: 10.58 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/5.53, allocations: 21.89 kB / 0.7595 GB, free: 10.56 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/5.53, allocations: 4 kB / 0.7595 GB, free: 10.55 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.53, allocations: 4 kB / 0.7595 GB, free: 10.55 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/5.53, allocations: 0 / 0.7595 GB, free: 10.55 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/5.531, allocations: 494.8 kB / 0.7599 GB, free: 10.02 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/5.531, allocations: 0 / 0.7599 GB, free: 10.02 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/5.531, allocations: 15.92 kB / 0.76 GB, free: 10.01 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/5.531, allocations: 0 / 0.76 GB, free: 10.01 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/5.532, allocations: 15.98 kB / 0.76 GB, free: 9.992 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/5.532, allocations: 0 / 0.76 GB, free: 9.992 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/5.532, allocations: 3.906 kB / 0.76 GB, free: 9.988 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005431/5.532, allocations: 267.2 kB / 0.7602 GB, free: 9.711 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006149/5.533, allocations: 0.6312 MB / 0.7608 GB, free: 9.062 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/5.533, allocations: 156.7 kB / 0.761 GB, free: 8.891 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/5.533, allocations: 19.86 kB / 0.761 GB, free: 8.871 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/5.534, allocations: 19.91 kB / 0.761 GB, free: 8.852 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/5.534, allocations: 15.97 kB / 0.761 GB, free: 8.836 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/5.534, allocations: 23.98 kB / 0.7611 GB, free: 8.812 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0002586/5.534, allocations: 172.5 kB / 0.7612 GB, free: 8.641 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.001383/5.535, allocations: 44.23 kB / 0.7613 GB, free: 8.598 MB / 0.6277 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.0003317/5.536, allocations: 125 kB / 0.7614 GB, free: 8.469 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0009499/5.537, allocations: 287.3 kB / 0.7617 GB, free: 8.176 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/5.537, allocations: 0 / 0.7617 GB, free: 8.176 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/5.537, allocations: 71.97 kB / 0.7617 GB, free: 8.105 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/5.537, allocations: 24.36 kB / 0.7618 GB, free: 8.082 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/5.539, allocations: 259.7 kB / 0.762 GB, free: 7.812 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/5.54, allocations: 0.7782 MB / 0.7628 GB, free: 7.008 MB / 0.6277 GB Notification: Performance of SimCode: time 1.853e-06/5.54, allocations: 0 / 0.7628 GB, free: 7.008 MB / 0.6277 GB