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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 7.043 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.0009457/0.0009457, allocations: 184.7 kB / 316 MB, free: 3.555 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.1 MB / 0.5667 GB, free: 15.76 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.0008312/0.0008313, allocations: 90.58 kB / 0.671 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3335/0.3343, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.4947, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.9675, allocations: 134.1 MB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001554/0.9677, allocations: 83.31 kB / 1.016 GB, free: 4.688 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.01435/0.9821, allocations: 5.465 MB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.9821, allocations: 8 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.9822, allocations: 35.62 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.9826, allocations: 281.3 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.9826, allocations: 7.906 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.9827, allocations: 23.61 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001262/0.9828, allocations: 54.05 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.983, allocations: 154.1 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.9831, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.9831, allocations: 4 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9831, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.9838, allocations: 0.5455 MB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.9841, allocations: 122.2 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.9842, allocations: 61.41 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.9842, allocations: 4 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.9845, allocations: 188.6 kB / 1.023 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.9846, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003523/0.9849, allocations: 177.4 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.985, allocations: 62.72 kB / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.9852, allocations: 270.2 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.9853, allocations: 32.89 kB / 1.023 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.9854, allocations: 100.2 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.9854, allocations: 48.39 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.9855, allocations: 0 / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9856, allocations: 326.3 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.9858, allocations: 104.5 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.986, allocations: 156.7 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.9862, allocations: 83.89 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9862, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005256/0.9867, allocations: 310.7 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.9868, allocations: 4 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.9868, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.9868, allocations: 7.984 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.987, allocations: 24.11 kB / 1.024 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.987, allocations: 8 kB / 1.024 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.9873, allocations: 47.81 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.9874, allocations: 61.55 kB / 1.024 GB, free: 13.1 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.0001312/0.9876, allocations: 128 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.9876, allocations: 27.62 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.9877, allocations: 29.45 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9877, allocations: 0 / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.9877, allocations: 3.906 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.9877, allocations: 4 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.9883, allocations: 0.5185 MB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9883, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.9884, allocations: 8 kB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9884, allocations: 0 / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.9884, allocations: 15.8 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.9884, allocations: 7.984 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9884, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002798/0.9887, allocations: 270.8 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003495/0.9891, allocations: 0.6501 MB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.9893, allocations: 189.4 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/0.9893, allocations: 14.41 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.9895, allocations: 11.98 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.9896, allocations: 19.73 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.9896, allocations: 35.97 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001571/0.9898, allocations: 208.7 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00085/0.9907, allocations: 55.23 kB / 1.026 GB, free: 11.06 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.0001566/0.9908, allocations: 116.2 kB / 1.027 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.9913, allocations: 293.3 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9913, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.9914, allocations: 73.2 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.9917, allocations: 27.39 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.9922, allocations: 297 kB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.9927, allocations: 0.8141 MB / 1.028 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9927, allocations: 4 kB / 1.028 GB, free: 9.539 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)