Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.377/2.377, allocations: 284.8 MB / 292.1 MB, free: 9.848 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.001615/0.001615, allocations: 187.5 kB / 360.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.1 MB / 0.6187 GB, free: 3.324 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002019/0.002019, allocations: 82.97 kB / 0.7317 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5409/0.5429, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.7556, allocations: 115.3 MB / 0.9628 GB, free: 57.05 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6421/1.398, allocations: 138.8 MB / 1.098 GB, free: 44.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.398, allocations: 70.03 kB / 1.098 GB, free: 44.88 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.02152/1.42, allocations: 4.691 MB / 1.103 GB, free: 44.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.42, allocations: 7.844 kB / 1.103 GB, free: 44.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/1.42, allocations: 42.5 kB / 1.103 GB, free: 44.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/1.42, allocations: 252 kB / 1.103 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/1.42, allocations: 7.859 kB / 1.103 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.42, allocations: 15.5 kB / 1.103 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002322/1.421, allocations: 38.83 kB / 1.103 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/1.421, allocations: 141.8 kB / 1.103 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.421, allocations: 0 / 1.103 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/1.421, allocations: 1.625 kB / 1.103 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.421, allocations: 3.781 kB / 1.103 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/1.422, allocations: 304.2 kB / 1.104 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/1.422, allocations: 115.9 kB / 1.104 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/1.422, allocations: 63.66 kB / 1.104 GB, free: 43.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/1.422, allocations: 0 / 1.104 GB, free: 43.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/1.423, allocations: 173.7 kB / 1.104 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.555e-06/1.423, allocations: 0 / 1.104 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005338/1.423, allocations: 172.3 kB / 1.104 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.423, allocations: 55.28 kB / 1.104 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/1.424, allocations: 254.7 kB / 1.105 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/1.424, allocations: 37.44 kB / 1.105 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/1.424, allocations: 90.14 kB / 1.105 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/1.424, allocations: 42.02 kB / 1.105 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/1.424, allocations: 3.188 kB / 1.105 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/1.424, allocations: 323.3 kB / 1.105 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.424, allocations: 84.5 kB / 1.105 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/1.425, allocations: 141 kB / 1.105 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/1.425, allocations: 69.67 kB / 1.105 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.425, allocations: 0 / 1.105 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008875/1.426, allocations: 291.6 kB / 1.106 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.426, allocations: 6.828 kB / 1.106 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.426, allocations: 7.812 kB / 1.106 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.426, allocations: 3.875 kB / 1.106 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/1.426, allocations: 27.72 kB / 1.106 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.426, allocations: 3.844 kB / 1.106 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/1.427, allocations: 45.66 kB / 1.106 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.427, allocations: 51.36 kB / 1.106 GB, free: 42.75 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (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.0001877/1.427, allocations: 130.1 kB / 1.106 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/1.427, allocations: 30.42 kB / 1.106 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/1.427, allocations: 34.16 kB / 1.106 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.428, allocations: 0 / 1.106 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.428, allocations: 0 / 1.106 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.428, allocations: 3.781 kB / 1.106 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/1.428, allocations: 491.4 kB / 1.106 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.428, allocations: 0 / 1.106 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/1.429, allocations: 6 kB / 1.106 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/1.429, allocations: 11.72 kB / 1.106 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.429, allocations: 10.72 kB / 1.106 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.429, allocations: 7.75 kB / 1.106 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.429, allocations: 0 / 1.106 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004203/1.429, allocations: 267.6 kB / 1.107 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004858/1.43, allocations: 0.6317 MB / 1.107 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/1.43, allocations: 157.3 kB / 1.107 GB, free: 41.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/1.43, allocations: 13.27 kB / 1.107 GB, free: 41.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/1.43, allocations: 9.672 kB / 1.107 GB, free: 41.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/1.43, allocations: 15.11 kB / 1.107 GB, free: 41.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/1.43, allocations: 33.91 kB / 1.108 GB, free: 41.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002267/1.431, allocations: 193.3 kB / 1.108 GB, free: 41.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001354/1.432, allocations: 49.83 kB / 1.108 GB, free: 41.46 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0002004/1.432, allocations: 116.6 kB / 1.108 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007334/1.433, allocations: 261.9 kB / 1.108 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/1.433, allocations: 3.938 kB / 1.108 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/1.433, allocations: 64.14 kB / 1.108 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/1.434, allocations: 27.69 kB / 1.108 GB, free: 41.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/1.434, allocations: 271.7 kB / 1.108 GB, free: 41.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/1.435, allocations: 0.7955 MB / 1.109 GB, free: 56.45 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/1.435, allocations: 0 / 1.109 GB, free: 56.45 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)