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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.001098/0.001098, allocations: 185.2 kB / 316 MB, free: 3.566 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.118/1.118, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0008264/0.0008263, allocations: 91.38 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.324/0.3248, allocations: 112.5 MB / 0.7809 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.486, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4808/0.9669, allocations: 134.2 MB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001592/0.9671, allocations: 73.58 kB / 1.016 GB, free: 4.395 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.01477/0.9818, allocations: 5.474 MB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.9819, allocations: 12 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.982, allocations: 31.72 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.9823, allocations: 271.2 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.9824, allocations: 10.78 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.9824, allocations: 19.98 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/0.9826, allocations: 58.11 kB / 1.022 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.9828, allocations: 156 kB / 1.022 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.9828, allocations: 4 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.9828, allocations: 3.984 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.9829, allocations: 0 / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.9836, allocations: 0.5471 MB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.9838, allocations: 125.2 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.9839, allocations: 58.22 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.984, allocations: 4 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.9843, allocations: 176.9 kB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.9843, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003395/0.9846, allocations: 179.1 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.9847, allocations: 67.02 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.9849, allocations: 265 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.985, allocations: 41.62 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.985, allocations: 92.36 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.9851, allocations: 46.52 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.9851, allocations: 11.98 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.9852, allocations: 321.5 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.9854, allocations: 101.5 kB / 1.024 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.9857, allocations: 157.4 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.9858, allocations: 84.27 kB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9858, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005317/0.9864, allocations: 310 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.9864, allocations: 5.875 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9864, allocations: 0 / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.9864, allocations: 8.188 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.9866, allocations: 27.47 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9866, allocations: 7.938 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.987, allocations: 51.81 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.9871, allocations: 51.36 kB / 1.024 GB, free: 12.81 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.0001874/0.9873, allocations: 127.6 kB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.9873, allocations: 27.66 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.9874, allocations: 32.52 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9874, allocations: 0 / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9874, allocations: 7.906 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9874, allocations: 0 / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.988, allocations: 0.5192 MB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.988, allocations: 4 kB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.9881, allocations: 15.23 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.9881, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.9881, allocations: 11.98 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9881, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9881, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002802/0.9884, allocations: 280.1 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003707/0.9888, allocations: 0.6447 MB / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.989, allocations: 182.5 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.9891, allocations: 14.53 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.9892, allocations: 15.88 kB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.9893, allocations: 23.78 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.9894, allocations: 27.98 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001698/0.9895, allocations: 218.8 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008646/0.9904, allocations: 44 kB / 1.026 GB, free: 10.77 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.0001724/0.9906, allocations: 124.7 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.991, allocations: 288.9 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9911, allocations: 4.062 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.9912, allocations: 67.7 kB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.9915, allocations: 26.5 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.992, allocations: 304.4 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.9925, allocations: 0.8084 MB / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of SimCode: time 2.9e-07/0.9925, allocations: 0 / 1.028 GB, free: 9.246 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)