Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.363/1.363, allocations: 289.8 MB / 297 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 187 kB / 366.3 MB, free: 11.94 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.083/1.083, allocations: 205.1 MB / 0.6256 GB, free: 2.008 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009289/0.0009289, allocations: 88.48 kB / 0.7395 GB, free: 47.12 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2121/0.2131, allocations: 122.4 MB / 0.8591 GB, free: 7.051 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.7134, allocations: 116.3 MB / 0.9727 GB, free: 81.46 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.8666, allocations: 141 MB / 1.11 GB, free: 2.926 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.8668, allocations: 73.67 kB / 1.11 GB, free: 2.855 MB / 0.7058 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.0164/0.8832, allocations: 5.606 MB / 1.116 GB, free: 13.22 MB / 0.7214 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.8833, allocations: 8 kB / 1.116 GB, free: 13.21 MB / 0.7214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.8834, allocations: 40.17 kB / 1.116 GB, free: 13.18 MB / 0.7214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.8838, allocations: 279.1 kB / 1.116 GB, free: 12.87 MB / 0.7214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.8838, allocations: 9.125 kB / 1.116 GB, free: 12.86 MB / 0.7214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.8839, allocations: 19.98 kB / 1.116 GB, free: 12.84 MB / 0.7214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001869/0.8841, allocations: 55.98 kB / 1.116 GB, free: 12.79 MB / 0.7214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.8843, allocations: 164.1 kB / 1.116 GB, free: 12.62 MB / 0.7214 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.8844, allocations: 4.562 kB / 1.116 GB, free: 12.62 MB / 0.7214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.8844, allocations: 4 kB / 1.116 GB, free: 12.61 MB / 0.7214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8844, allocations: 4 kB / 1.116 GB, free: 12.61 MB / 0.7214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.8852, allocations: 0.5554 MB / 1.117 GB, free: 12.02 MB / 0.7214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.8854, allocations: 110.5 kB / 1.117 GB, free: 11.9 MB / 0.7214 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.8855, allocations: 60.84 kB / 1.117 GB, free: 11.84 MB / 0.7214 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.8855, allocations: 4 kB / 1.117 GB, free: 11.83 MB / 0.7214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.8857, allocations: 164.4 kB / 1.117 GB, free: 11.66 MB / 0.7214 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.8857, allocations: 0 / 1.117 GB, free: 11.66 MB / 0.7214 GB Notification: Performance of matching and sorting (n=16): time 0.0003736/0.8861, allocations: 188.5 kB / 1.118 GB, free: 11.47 MB / 0.7214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.8862, allocations: 59.41 kB / 1.118 GB, free: 11.4 MB / 0.7214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.8864, allocations: 279.4 kB / 1.118 GB, free: 11.12 MB / 0.7214 GB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.8865, allocations: 33.7 kB / 1.118 GB, free: 11.08 MB / 0.7214 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.8865, allocations: 93.12 kB / 1.118 GB, free: 10.98 MB / 0.7214 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.8866, allocations: 39.52 kB / 1.118 GB, free: 10.94 MB / 0.7214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.8866, allocations: 7.938 kB / 1.118 GB, free: 10.93 MB / 0.7214 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.8867, allocations: 318.8 kB / 1.118 GB, free: 10.61 MB / 0.7214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.8869, allocations: 95.98 kB / 1.118 GB, free: 10.52 MB / 0.7214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.8871, allocations: 149.9 kB / 1.119 GB, free: 10.35 MB / 0.7214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.8873, allocations: 77.67 kB / 1.119 GB, free: 10.28 MB / 0.7214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8873, allocations: 1.031 kB / 1.119 GB, free: 10.28 MB / 0.7214 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000509/0.8878, allocations: 285.3 kB / 1.119 GB, free: 9.992 MB / 0.7214 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8878, allocations: 7.984 kB / 1.119 GB, free: 9.984 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.8878, allocations: 5.438 kB / 1.119 GB, free: 9.98 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8879, allocations: 0 / 1.119 GB, free: 9.98 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.888, allocations: 27.92 kB / 1.119 GB, free: 9.953 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.888, allocations: 4.703 kB / 1.119 GB, free: 9.949 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.8884, allocations: 40.06 kB / 1.119 GB, free: 9.91 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.8885, allocations: 39.98 kB / 1.119 GB, free: 9.871 MB / 0.7214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001164/0.8886, allocations: 127.5 kB / 1.119 GB, free: 9.742 MB / 0.7214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.8886, allocations: 31.61 kB / 1.119 GB, free: 9.711 MB / 0.7214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.8887, allocations: 34.73 kB / 1.119 GB, free: 9.676 MB / 0.7214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8887, allocations: 0 / 1.119 GB, free: 9.676 MB / 0.7214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8887, allocations: 3.938 kB / 1.119 GB, free: 9.672 MB / 0.7214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8887, allocations: 3.984 kB / 1.119 GB, free: 9.668 MB / 0.7214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006537/0.8894, allocations: 0.5393 MB / 1.12 GB, free: 9.086 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8894, allocations: 0 / 1.12 GB, free: 9.086 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.8894, allocations: 7.984 kB / 1.12 GB, free: 9.078 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8895, allocations: 0.75 kB / 1.12 GB, free: 9.078 MB / 0.7214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.8895, allocations: 11.98 kB / 1.12 GB, free: 9.066 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8895, allocations: 4 kB / 1.12 GB, free: 9.062 MB / 0.7214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8895, allocations: 0 / 1.12 GB, free: 9.062 MB / 0.7214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003485/0.8899, allocations: 287 kB / 1.12 GB, free: 8.766 MB / 0.7214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000381/0.8903, allocations: 0.6573 MB / 1.121 GB, free: 8.09 MB / 0.7214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.8905, allocations: 188.6 kB / 1.121 GB, free: 7.887 MB / 0.7214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.8906, allocations: 20 kB / 1.121 GB, free: 7.867 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.891, allocations: 33.59 kB / 1.121 GB, free: 7.836 MB / 0.7214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.891, allocations: 7.984 kB / 1.121 GB, free: 7.828 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.8911, allocations: 47.97 kB / 1.121 GB, free: 7.781 MB / 0.7214 GB Notification: Performance of sort global known variables: time 0.0001693/0.8913, allocations: 215.1 kB / 1.121 GB, free: 7.574 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.000937/0.8922, allocations: 59.83 kB / 1.121 GB, free: 7.516 MB / 0.7214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001764/0.8924, allocations: 129.6 kB / 1.121 GB, free: 7.379 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.8928, allocations: 276.2 kB / 1.122 GB, free: 7.098 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8929, allocations: 0 / 1.122 GB, free: 7.098 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.893, allocations: 67.97 kB / 1.122 GB, free: 7.031 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.8933, allocations: 33.19 kB / 1.122 GB, free: 7.004 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.8939, allocations: 311.8 kB / 1.122 GB, free: 6.676 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.8942, allocations: 0.7818 MB / 1.123 GB, free: 5.871 MB / 0.7214 GB Notification: Performance of SimCode: time 2.51e-07/0.8943, allocations: 0 / 1.123 GB, free: 5.871 MB / 0.7214 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)