Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_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/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 191 kB / 7.804 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7283/0.7283, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.4 MB / 342.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 89.84 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1949/0.1962, allocations: 78.44 MB / 493.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.6057, allocations: 72.3 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.7202, allocations: 103.5 MB / 0.654 GB, free: 6.543 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.7205, allocations: 68.66 kB / 0.6541 GB, free: 6.477 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01612/0.7366, allocations: 4.896 MB / 0.6589 GB, free: 1.566 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.7367, allocations: 8 kB / 0.6589 GB, free: 1.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.7369, allocations: 31.72 kB / 0.6589 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.7373, allocations: 255.1 kB / 0.6591 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.7374, allocations: 7.984 kB / 0.6591 GB, free: 1.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.7375, allocations: 19.91 kB / 0.6592 GB, free: 1.211 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001457/0.7376, allocations: 47.98 kB / 0.6592 GB, free: 1.164 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.7379, allocations: 145.5 kB / 0.6594 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7379, allocations: 0 / 0.6594 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.738, allocations: 0 / 0.6594 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.738, allocations: 6.719 kB / 0.6594 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.7384, allocations: 305.8 kB / 0.6597 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.7386, allocations: 98.55 kB / 0.6597 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.7387, allocations: 56.84 kB / 0.6598 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.7387, allocations: 4 kB / 0.6598 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.739, allocations: 152.7 kB / 0.6599 GB, free: 356 kB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.739, allocations: 0 / 0.6599 GB, free: 356 kB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004445/0.7394, allocations: 185.1 kB / 0.6601 GB, free: 164 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.7395, allocations: 59.41 kB / 0.6602 GB, free: 92 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.7398, allocations: 243.4 kB / 0.6604 GB, free: 15.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.7399, allocations: 41.69 kB / 0.6605 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.7399, allocations: 85.14 kB / 0.6605 GB, free: 15.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.74, allocations: 39.45 kB / 0.6606 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.74, allocations: 4 kB / 0.6606 GB, free: 15.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7402, allocations: 322.8 kB / 0.6609 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.7404, allocations: 75.98 kB / 0.661 GB, free: 15.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.7406, allocations: 130 kB / 0.6611 GB, free: 15.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.7408, allocations: 71.91 kB / 0.6611 GB, free: 15.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7408, allocations: 0 / 0.6611 GB, free: 15.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005368/0.7413, allocations: 261.4 kB / 0.6614 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7414, allocations: 7.906 kB / 0.6614 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.7414, allocations: 0 / 0.6614 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7414, allocations: 4 kB / 0.6614 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.7416, allocations: 23.92 kB / 0.6614 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7416, allocations: 0 / 0.6614 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.742, allocations: 51.84 kB / 0.6615 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.7421, allocations: 39.98 kB / 0.6615 GB, free: 14.66 MB / 490.7 MB 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001653/0.7422, allocations: 122.9 kB / 0.6616 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.7423, allocations: 31.61 kB / 0.6617 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.7424, allocations: 29.02 kB / 0.6617 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7424, allocations: 4 kB / 0.6617 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.7424, allocations: 4 kB / 0.6617 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7424, allocations: 0 / 0.6617 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.7433, allocations: 0.4995 MB / 0.6622 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7433, allocations: 0 / 0.6622 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.7433, allocations: 4 kB / 0.6622 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.7434, allocations: 4 kB / 0.6622 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.7434, allocations: 23.88 kB / 0.6622 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7434, allocations: 2.812 kB / 0.6622 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7434, allocations: 0 / 0.6622 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003804/0.7438, allocations: 281.4 kB / 0.6625 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004557/0.7443, allocations: 0.644 MB / 0.6631 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.7445, allocations: 160.6 kB / 0.6633 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/0.7446, allocations: 8 kB / 0.6633 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.7451, allocations: 43.97 kB / 0.6633 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.7451, allocations: 7.984 kB / 0.6633 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.7452, allocations: 43.97 kB / 0.6634 GB, free: 12.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001676/0.7454, allocations: 195.1 kB / 0.6636 GB, free: 12.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009379/0.7463, allocations: 60.36 kB / 0.6636 GB, free: 12.42 MB / 490.7 MB 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001787/0.7465, allocations: 124.5 kB / 0.6637 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.747, allocations: 247.3 kB / 0.664 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.747, allocations: 0 / 0.664 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.7471, allocations: 63.92 kB / 0.664 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.7474, allocations: 20.92 kB / 0.6641 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.748, allocations: 277.9 kB / 0.6643 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.7484, allocations: 0.7625 MB / 0.6651 GB, free: 10.87 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7484, allocations: 0 / 0.6651 GB, free: 10.87 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)