Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 183.6 kB / 316 MB, free: 3.469 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.2 MB / 0.5667 GB, free: 15.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007742/0.0007742, allocations: 91.31 kB / 0.671 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3098/0.3106, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.4633, allocations: 106.3 MB / 0.8847 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.9215, allocations: 134.1 MB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.9218, allocations: 76.12 kB / 1.016 GB, free: 4.301 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.01496/0.9368, allocations: 5.455 MB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.9368, allocations: 8 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.873e-05/0.9369, allocations: 39.61 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.9373, allocations: 275.5 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.9374, allocations: 7.906 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.9374, allocations: 19.98 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001256/0.9376, allocations: 60.19 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.9378, allocations: 152.3 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9378, allocations: 0 / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.9379, allocations: 11.92 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.9379, allocations: 0 / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.9386, allocations: 0.5533 MB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.9388, allocations: 114.2 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.9389, allocations: 54.36 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.9389, allocations: 3.984 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.9392, allocations: 185.5 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 4.499e-06/0.9392, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.000355/0.9396, allocations: 179.2 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.9396, allocations: 70.52 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.9399, allocations: 263.8 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.94, allocations: 37.5 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.94, allocations: 96.17 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.9401, allocations: 54 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.9401, allocations: 0 / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9403, allocations: 322 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.9405, allocations: 106.5 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.9407, allocations: 159.9 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.9408, allocations: 84.81 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9408, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005448/0.9414, allocations: 313.9 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.9414, allocations: 4 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9414, allocations: 0 / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.9414, allocations: 4 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.9416, allocations: 23.97 kB / 1.024 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.9416, allocations: 7.938 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.942, allocations: 48 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.9421, allocations: 55.3 kB / 1.024 GB, free: 12.73 MB / 0.6511 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.0001177/0.9422, allocations: 131.2 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.9423, allocations: 31.61 kB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.9423, allocations: 32.52 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9423, allocations: 0 / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9423, allocations: 3.906 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.9423, allocations: 0 / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.9429, allocations: 0.5073 MB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9429, allocations: 0 / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.943, allocations: 15.92 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.943, allocations: 4 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.943, allocations: 15.48 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.943, allocations: 0 / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.943, allocations: 0 / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002739/0.9433, allocations: 278.5 kB / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003878/0.9437, allocations: 0.6447 MB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.9439, allocations: 185.5 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.9439, allocations: 17.95 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.9441, allocations: 8 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.9442, allocations: 19.34 kB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.9442, allocations: 27.92 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001678/0.9444, allocations: 217.6 kB / 1.026 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008553/0.9453, allocations: 51.44 kB / 1.026 GB, free: 10.7 MB / 0.6511 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.0001614/0.9455, allocations: 126.7 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.9459, allocations: 286.8 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9459, allocations: 4 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.946, allocations: 65.3 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.9463, allocations: 32.25 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.9469, allocations: 307.8 kB / 1.027 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.9474, allocations: 0.8102 MB / 1.028 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9474, allocations: 0 / 1.028 GB, free: 9.168 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)