Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.137/2.137, allocations: 284.8 MB / 292.1 MB, free: 10.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001623, allocations: 185.2 kB / 360.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 89.17 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2481/0.2493, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5628/0.8122, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/1.041, allocations: 139.1 MB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.041, allocations: 72.94 kB / 1.099 GB, free: 1.703 MB / 0.698 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.02641/1.068, allocations: 5.45 MB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.068, allocations: 16.42 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/1.068, allocations: 39.62 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/1.069, allocations: 267.2 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/1.069, allocations: 8 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/1.069, allocations: 27.86 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002257/1.069, allocations: 57.19 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/1.069, allocations: 154.3 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.069, allocations: 4.656 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/1.07, allocations: 3.984 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.07, allocations: 3.906 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/1.071, allocations: 0.5399 MB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/1.071, allocations: 125.7 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/1.071, allocations: 56.84 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/1.071, allocations: 2.156 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/1.072, allocations: 176.4 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/1.072, allocations: 7.938 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006252/1.073, allocations: 177.9 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/1.073, allocations: 67.39 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/1.073, allocations: 263.4 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.073, allocations: 41.69 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/1.073, allocations: 93.08 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/1.074, allocations: 43.45 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/1.074, allocations: 7.984 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.074, allocations: 322.8 kB / 1.106 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/1.074, allocations: 104.2 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/1.075, allocations: 162.2 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/1.075, allocations: 80.64 kB / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.075, allocations: 3.906 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001007/1.076, allocations: 307.8 kB / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.076, allocations: 4.781 kB / 1.107 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.076, allocations: 0 / 1.107 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.076, allocations: 7.906 kB / 1.107 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/1.076, allocations: 23.97 kB / 1.107 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.076, allocations: 12.12 kB / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/1.077, allocations: 47.81 kB / 1.107 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/1.077, allocations: 51.98 kB / 1.107 GB, free: 8.84 MB / 0.7136 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.0002302/1.078, allocations: 140.5 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/1.078, allocations: 31.61 kB / 1.107 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/1.078, allocations: 30.08 kB / 1.107 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.078, allocations: 0 / 1.107 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.078, allocations: 4 kB / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.078, allocations: 0 / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/1.079, allocations: 0.5093 MB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/1.079, allocations: 4 kB / 1.108 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/1.079, allocations: 17.17 kB / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.079, allocations: 0 / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/1.079, allocations: 11.98 kB / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.079, allocations: 0 / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.079, allocations: 3.906 kB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005349/1.08, allocations: 271.1 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006998/1.08, allocations: 0.6542 MB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/1.081, allocations: 184.6 kB / 1.109 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.081, allocations: 15.98 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/1.081, allocations: 9.312 kB / 1.109 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/1.081, allocations: 15.97 kB / 1.109 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/1.081, allocations: 31.98 kB / 1.109 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000353/1.082, allocations: 219.1 kB / 1.109 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001382/1.083, allocations: 51.91 kB / 1.109 GB, free: 6.559 MB / 0.7136 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.0002561/1.083, allocations: 125.2 kB / 1.109 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009069/1.084, allocations: 283.4 kB / 1.11 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.084, allocations: 4 kB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/1.085, allocations: 72.34 kB / 1.11 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/1.085, allocations: 32.48 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.086, allocations: 301.4 kB / 1.11 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/1.087, allocations: 0.8153 MB / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.087, allocations: 0 / 1.111 GB, free: 4.891 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)