Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.391/2.391, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.00263/0.00263, allocations: 189.2 kB / 360.3 MB, free: 7.516 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.8/1.8, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001267/0.001266, allocations: 93 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2789/0.2802, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.8808, allocations: 115.2 MB / 0.9627 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/1.098, allocations: 138.9 MB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.098, allocations: 73.03 kB / 1.098 GB, free: 1.863 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.02427/1.123, allocations: 4.705 MB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.123, allocations: 12.25 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/1.123, allocations: 31.72 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/1.123, allocations: 255.2 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/1.123, allocations: 4 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.123, allocations: 16 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001849/1.124, allocations: 43.92 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/1.124, allocations: 137.5 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.124, allocations: 4 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/1.124, allocations: 8 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.124, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/1.125, allocations: 301.8 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/1.125, allocations: 110.7 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/1.125, allocations: 48.84 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/1.125, allocations: 15.94 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/1.126, allocations: 175.8 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.364e-06/1.126, allocations: 0 / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005798/1.126, allocations: 167.8 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/1.127, allocations: 63.39 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/1.127, allocations: 247.3 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/1.127, allocations: 33.69 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/1.127, allocations: 89.14 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/1.127, allocations: 39.52 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/1.127, allocations: 4 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.128, allocations: 326.8 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/1.128, allocations: 88.2 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/1.128, allocations: 134.2 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/1.129, allocations: 80.25 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.129, allocations: 0 / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009283/1.13, allocations: 287.6 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.13, allocations: 4 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.13, allocations: 4 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.13, allocations: 0 / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/1.13, allocations: 33.72 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.914e-06/1.13, allocations: 4 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/1.131, allocations: 43.88 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.131, allocations: 55.98 kB / 1.106 GB, free: 10.2 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (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.0002138/1.131, allocations: 135.2 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/1.131, allocations: 27.7 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.131, allocations: 25.97 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.131, allocations: 5.406 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/1.131, allocations: 0 / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.131, allocations: 0 / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.132, allocations: 498.6 kB / 1.106 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.132, allocations: 3.938 kB / 1.106 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/1.132, allocations: 11.98 kB / 1.106 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.132, allocations: 0 / 1.106 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/1.133, allocations: 14.05 kB / 1.106 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.133, allocations: 0 / 1.106 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.133, allocations: 3.906 kB / 1.106 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005602/1.133, allocations: 269.8 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006526/1.134, allocations: 0.6375 MB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/1.134, allocations: 160.6 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/1.134, allocations: 8 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/1.135, allocations: 4 kB / 1.108 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/1.135, allocations: 17.94 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/1.135, allocations: 35.98 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002911/1.135, allocations: 199.1 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001415/1.137, allocations: 44 kB / 1.108 GB, free: 8.039 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0002538/1.137, allocations: 118.2 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008682/1.138, allocations: 259.4 kB / 1.108 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.138, allocations: 0 / 1.108 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/1.138, allocations: 72.28 kB / 1.108 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/1.138, allocations: 20.14 kB / 1.108 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/1.139, allocations: 269.7 kB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/1.14, allocations: 0.7943 MB / 1.109 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of SimCode: time 1.453e-06/1.14, allocations: 0 / 1.109 GB, free: 6.461 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)