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.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_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.323/4.323, allocations: 433 MB / 440.3 MB, free: 24.72 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2814/4.605, allocations: 104.3 MB / 0.5319 GB, free: 4.504 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/5.183, allocations: 98.69 MB / 0.6283 GB, free: 0.6523 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/5.462, allocations: 125.6 MB / 0.7509 GB, free: 3.602 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/5.462, allocations: 75.94 kB / 0.751 GB, free: 3.527 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.02468/5.487, allocations: 4.405 MB / 0.7553 GB, free: 15.05 MB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/5.487, allocations: 8 kB / 0.7553 GB, free: 15.04 MB / 0.6277 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/5.487, allocations: 31.7 kB / 0.7553 GB, free: 15.01 MB / 0.6277 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/5.488, allocations: 191.9 kB / 0.7555 GB, free: 14.78 MB / 0.6277 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/5.488, allocations: 4 kB / 0.7555 GB, free: 14.78 MB / 0.6277 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/5.488, allocations: 19.98 kB / 0.7555 GB, free: 14.76 MB / 0.6277 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001816/5.488, allocations: 43.92 kB / 0.7555 GB, free: 14.71 MB / 0.6277 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/5.488, allocations: 125.6 kB / 0.7557 GB, free: 14.59 MB / 0.6277 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/5.488, allocations: 0 / 0.7557 GB, free: 14.59 MB / 0.6277 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/5.488, allocations: 7.984 kB / 0.7557 GB, free: 14.58 MB / 0.6277 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/5.488, allocations: 3.938 kB / 0.7557 GB, free: 14.57 MB / 0.6277 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/5.489, allocations: 281.9 kB / 0.7559 GB, free: 14.26 MB / 0.6277 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/5.49, allocations: 106.7 kB / 0.756 GB, free: 14.15 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/5.49, allocations: 56.78 kB / 0.7561 GB, free: 14.09 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/5.49, allocations: 4 kB / 0.7561 GB, free: 14.09 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/5.49, allocations: 163.2 kB / 0.7563 GB, free: 13.91 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=18): time 3.577e-06/5.49, allocations: 0 / 0.7563 GB, free: 13.91 MB / 0.6277 GB Notification: Performance of matching and sorting (n=18): time 0.0006609/5.491, allocations: 160.5 kB / 0.7564 GB, free: 13.75 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/5.491, allocations: 63.34 kB / 0.7565 GB, free: 13.68 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/5.491, allocations: 194.9 kB / 0.7567 GB, free: 13.48 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-05/5.492, allocations: 37.69 kB / 0.7567 GB, free: 13.43 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/5.492, allocations: 88.92 kB / 0.7568 GB, free: 13.34 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/5.492, allocations: 43.45 kB / 0.7568 GB, free: 13.3 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/5.492, allocations: 4 kB / 0.7568 GB, free: 13.3 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 0.0001532/5.492, allocations: 318.8 kB / 0.7571 GB, free: 12.98 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/5.492, allocations: 89.27 kB / 0.7572 GB, free: 12.89 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/5.493, allocations: 142.1 kB / 0.7573 GB, free: 12.73 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/5.493, allocations: 72.69 kB / 0.7574 GB, free: 12.66 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/5.493, allocations: 0 / 0.7574 GB, free: 12.66 MB / 0.6277 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001341/5.495, allocations: 271.8 kB / 0.7577 GB, free: 12.39 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/5.495, allocations: 8.031 kB / 0.7577 GB, free: 12.38 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/5.495, allocations: 4 kB / 0.7577 GB, free: 12.38 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/5.495, allocations: 4 kB / 0.7577 GB, free: 12.37 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/5.495, allocations: 27.92 kB / 0.7577 GB, free: 12.34 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/5.495, allocations: 0 / 0.7577 GB, free: 12.34 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/5.496, allocations: 51.81 kB / 0.7578 GB, free: 12.29 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/5.496, allocations: 47.97 kB / 0.7578 GB, free: 12.25 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.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.000255/5.496, allocations: 119.5 kB / 0.7579 GB, free: 12.12 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/5.497, allocations: 19.72 kB / 0.7579 GB, free: 12.1 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/5.497, allocations: 21.58 kB / 0.758 GB, free: 12.08 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/5.497, allocations: 11.94 kB / 0.758 GB, free: 12.07 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/5.497, allocations: 0 / 0.758 GB, free: 12.07 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/5.497, allocations: 0 / 0.758 GB, free: 12.07 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/5.498, allocations: 470.6 kB / 0.7584 GB, free: 11.57 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/5.498, allocations: 0 / 0.7584 GB, free: 11.57 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/5.498, allocations: 11.98 kB / 0.7584 GB, free: 11.55 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/5.498, allocations: 0 / 0.7584 GB, free: 11.55 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/5.498, allocations: 7.984 kB / 0.7584 GB, free: 11.55 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/5.498, allocations: 4 kB / 0.7584 GB, free: 11.54 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/5.498, allocations: 4 kB / 0.7585 GB, free: 11.54 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004816/5.499, allocations: 259.1 kB / 0.7587 GB, free: 11.27 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000623/5.499, allocations: 0.6354 MB / 0.7593 GB, free: 10.62 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/5.5, allocations: 136.8 kB / 0.7594 GB, free: 10.46 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/5.5, allocations: 11.98 kB / 0.7595 GB, free: 10.45 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/5.5, allocations: 8 kB / 0.7595 GB, free: 10.45 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/5.5, allocations: 15.97 kB / 0.7595 GB, free: 10.43 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/5.5, allocations: 27.98 kB / 0.7595 GB, free: 10.4 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.000254/5.5, allocations: 157.5 kB / 0.7597 GB, free: 10.25 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.001466/5.502, allocations: 47.98 kB / 0.7597 GB, free: 10.2 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.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.0002445/5.502, allocations: 121.4 kB / 0.7598 GB, free: 10.08 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0008053/5.503, allocations: 255.5 kB / 0.7601 GB, free: 9.816 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/5.503, allocations: 0 / 0.7601 GB, free: 9.816 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/5.503, allocations: 63.92 kB / 0.7601 GB, free: 9.754 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/5.504, allocations: 20.56 kB / 0.7601 GB, free: 9.734 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/5.505, allocations: 223.3 kB / 0.7604 GB, free: 9.5 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/5.506, allocations: 0.7668 MB / 0.7611 GB, free: 8.703 MB / 0.6277 GB Notification: Performance of SimCode: time 1.684e-06/5.506, allocations: 0 / 0.7611 GB, free: 8.703 MB / 0.6277 GB