Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime",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.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001192/0.001192, allocations: 177.2 kB / 366.3 MB, free: 1.992 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.763/1.763, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.000933/0.000933, allocations: 101.9 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3025/0.3035, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/1.101, allocations: 116.3 MB / 0.9726 GB, free: 67.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/1.31, allocations: 140.8 MB / 1.11 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.311, allocations: 63.95 kB / 1.11 GB, free: 6.594 MB / 0.7136 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.01757/1.328, allocations: 4.849 MB / 1.115 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.328, allocations: 16.59 kB / 1.115 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/1.328, allocations: 31.7 kB / 1.115 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/1.329, allocations: 259.2 kB / 1.115 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/1.329, allocations: 4 kB / 1.115 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/1.329, allocations: 12 kB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00015/1.329, allocations: 51.98 kB / 1.115 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/1.329, allocations: 145.4 kB / 1.115 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.33, allocations: 0.5625 kB / 1.115 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/1.33, allocations: 7.938 kB / 1.115 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.33, allocations: 4 kB / 1.115 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/1.33, allocations: 301.9 kB / 1.116 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/1.33, allocations: 98.45 kB / 1.116 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.33, allocations: 56.84 kB / 1.116 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/1.33, allocations: 1.312 kB / 1.116 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/1.331, allocations: 159.3 kB / 1.116 GB, free: 468 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/1.331, allocations: 0 / 1.116 GB, free: 468 kB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004315/1.331, allocations: 184.6 kB / 1.116 GB, free: 280 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.331, allocations: 63.39 kB / 1.116 GB, free: 204 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/1.331, allocations: 251.4 kB / 1.117 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/1.332, allocations: 33.7 kB / 1.117 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/1.332, allocations: 85.14 kB / 1.117 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/1.332, allocations: 35.61 kB / 1.117 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/1.332, allocations: 8 kB / 1.117 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.332, allocations: 323.5 kB / 1.117 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/1.332, allocations: 79.97 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/1.332, allocations: 126 kB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/1.332, allocations: 68.47 kB / 1.117 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.332, allocations: 0 / 1.117 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005339/1.333, allocations: 268.3 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.333, allocations: 8 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.333, allocations: 0 / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.333, allocations: 5.312 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/1.333, allocations: 23.92 kB / 1.118 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.333, allocations: 10.33 kB / 1.118 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/1.334, allocations: 39.81 kB / 1.118 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/1.334, allocations: 43.98 kB / 1.118 GB, free: 14.76 MB / 0.7292 GB 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001561/1.334, allocations: 128 kB / 1.118 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/1.334, allocations: 23.72 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/1.334, allocations: 29.92 kB / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.334, allocations: 0 / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.334, allocations: 4 kB / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.334, allocations: 0 / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008261/1.335, allocations: 0.5025 MB / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.335, allocations: 4.844 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/1.335, allocations: 4 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.335, allocations: 3.984 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/1.335, allocations: 15.98 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.335, allocations: 4 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.335, allocations: 4 kB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00042/1.336, allocations: 279 kB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004539/1.336, allocations: 0.6429 MB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/1.336, allocations: 164.6 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/1.336, allocations: 12.73 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/1.337, allocations: 35.97 kB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/1.337, allocations: 8 kB / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/1.337, allocations: 39.97 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001977/1.337, allocations: 199.1 kB / 1.12 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009278/1.338, allocations: 43.98 kB / 1.12 GB, free: 12.54 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0002223/1.338, allocations: 128.8 kB / 1.12 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004845/1.339, allocations: 247.5 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.339, allocations: 5.5 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/1.339, allocations: 63.92 kB / 1.12 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/1.339, allocations: 21.73 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/1.34, allocations: 273.3 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.34, allocations: 0.7716 MB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/1.34, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)