Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_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/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 185.9 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4664/0.4664, allocations: 90.84 MB / 99.07 MB, free: 14.95 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.289/1.289, allocations: 221.4 MB / 342.8 MB, free: 5.426 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.001012/0.001012, allocations: 93.75 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1563/0.1573, allocations: 78.45 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.4748, allocations: 72.31 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.5978, allocations: 103.5 MB / 0.654 GB, free: 5.176 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.598, allocations: 68.75 kB / 0.6541 GB, free: 5.109 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.01659/0.6146, allocations: 4.899 MB / 0.6589 GB, free: 144 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6147, allocations: 8 kB / 0.6589 GB, free: 136 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.6148, allocations: 27.72 kB / 0.6589 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.6153, allocations: 262.9 kB / 0.6591 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.6154, allocations: 11.98 kB / 0.6592 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.6154, allocations: 19.91 kB / 0.6592 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002052/0.6157, allocations: 43.98 kB / 0.6592 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.6159, allocations: 145.5 kB / 0.6594 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.616, allocations: 0 / 0.6594 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.616, allocations: 3.984 kB / 0.6594 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.616, allocations: 0 / 0.6594 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.6165, allocations: 301.9 kB / 0.6596 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.6167, allocations: 98.55 kB / 0.6597 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.6168, allocations: 60.78 kB / 0.6598 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.6169, allocations: 3.984 kB / 0.6598 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.6171, allocations: 151.3 kB / 0.6599 GB, free: 14.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.6171, allocations: 4 kB / 0.66 GB, free: 14.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004661/0.6176, allocations: 185.2 kB / 0.6601 GB, free: 14.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.6177, allocations: 55.41 kB / 0.6602 GB, free: 14.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.6179, allocations: 247.4 kB / 0.6604 GB, free: 14.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.618, allocations: 37.69 kB / 0.6605 GB, free: 14.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.6181, allocations: 89.14 kB / 0.6605 GB, free: 14.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.6181, allocations: 39.45 kB / 0.6606 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.6181, allocations: 4 kB / 0.6606 GB, free: 14.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.6182, allocations: 322.8 kB / 0.6609 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.6184, allocations: 75.98 kB / 0.661 GB, free: 13.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.6187, allocations: 129.9 kB / 0.6611 GB, free: 13.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.6188, allocations: 71.91 kB / 0.6612 GB, free: 13.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6188, allocations: 0 / 0.6612 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005335/0.6194, allocations: 265.3 kB / 0.6614 GB, free: 13.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6194, allocations: 4 kB / 0.6614 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6194, allocations: 3.906 kB / 0.6614 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6194, allocations: 4 kB / 0.6614 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.6196, allocations: 23.92 kB / 0.6614 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.6196, allocations: 3.281 kB / 0.6614 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.62, allocations: 51.94 kB / 0.6615 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.6201, allocations: 43.98 kB / 0.6615 GB, free: 13.22 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.0001373/0.6203, allocations: 121.7 kB / 0.6617 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.6203, allocations: 31.61 kB / 0.6617 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.6204, allocations: 26.02 kB / 0.6617 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6204, allocations: 8 kB / 0.6617 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6204, allocations: 0 / 0.6617 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6204, allocations: 0 / 0.6617 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.6212, allocations: 0.498 MB / 0.6622 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6212, allocations: 0 / 0.6622 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.6213, allocations: 4 kB / 0.6622 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.6213, allocations: 0 / 0.6622 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.6213, allocations: 19.97 kB / 0.6622 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6213, allocations: 3.906 kB / 0.6622 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6214, allocations: 4 kB / 0.6622 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003693/0.6217, allocations: 271.1 kB / 0.6625 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005414/0.6223, allocations: 0.6503 MB / 0.6631 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.6225, allocations: 164.6 kB / 0.6633 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.6226, allocations: 12 kB / 0.6633 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.6231, allocations: 35.97 kB / 0.6633 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.6231, allocations: 7.984 kB / 0.6633 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/0.6232, allocations: 47.97 kB / 0.6634 GB, free: 11.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002084/0.6234, allocations: 200.6 kB / 0.6636 GB, free: 11.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001021/0.6245, allocations: 52.36 kB / 0.6636 GB, free: 10.99 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.0002048/0.6247, allocations: 119.2 kB / 0.6637 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.6252, allocations: 251.2 kB / 0.664 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6252, allocations: 0 / 0.664 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.6253, allocations: 63.92 kB / 0.664 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.6256, allocations: 24.91 kB / 0.6641 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.6264, allocations: 273.1 kB / 0.6643 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.6269, allocations: 0.7653 MB / 0.6651 GB, free: 9.438 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6269, allocations: 4 kB / 0.6651 GB, free: 9.434 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)