Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009529/0.0009528, allocations: 180.5 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 0.5667 GB, free: 15.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008168, allocations: 94.33 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3496/0.3505, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.5137, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5004/1.014, allocations: 133.8 MB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/1.014, allocations: 66.09 kB / 1.015 GB, free: 4.816 MB / 0.6355 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.01341/1.028, allocations: 4.693 MB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.028, allocations: 12 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/1.028, allocations: 39.61 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/1.028, allocations: 252.8 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/1.028, allocations: 0 / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/1.028, allocations: 23.78 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/1.028, allocations: 38.23 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/1.029, allocations: 133.8 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/1.029, allocations: 0 / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/1.029, allocations: 7.5 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.029, allocations: 0 / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/1.029, allocations: 302.8 kB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/1.029, allocations: 117.8 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/1.029, allocations: 49.91 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/1.029, allocations: 4.75 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/1.03, allocations: 172 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/1.03, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003503/1.03, allocations: 176.4 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/1.03, allocations: 66.66 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/1.03, allocations: 240.4 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/1.03, allocations: 40.69 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/1.03, allocations: 89.05 kB / 1.022 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/1.031, allocations: 41.86 kB / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/1.031, allocations: 4 kB / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.031, allocations: 326.5 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/1.031, allocations: 87.14 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/1.031, allocations: 137.8 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/1.031, allocations: 75.38 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.031, allocations: 3.938 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004837/1.032, allocations: 279.8 kB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.032, allocations: 4 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.032, allocations: 4 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.032, allocations: 7.906 kB / 1.023 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/1.032, allocations: 27.55 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/1.032, allocations: 0 / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/1.032, allocations: 52 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/1.032, allocations: 55.66 kB / 1.023 GB, free: 14.1 MB / 0.6511 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.0001312/1.033, allocations: 128 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/1.033, allocations: 31.62 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/1.033, allocations: 27.72 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.033, allocations: 4 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.033, allocations: 0 / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.033, allocations: 3.984 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/1.033, allocations: 487.1 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.033, allocations: 0 / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/1.033, allocations: 8 kB / 1.023 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.033, allocations: 0 / 1.023 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/1.033, allocations: 19.97 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.033, allocations: 3.938 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.033, allocations: 0 / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003/1.034, allocations: 267.1 kB / 1.024 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004556/1.034, allocations: 0.6383 MB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/1.034, allocations: 163 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/1.035, allocations: 11.55 kB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.035, allocations: 4 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.035, allocations: 19.88 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/1.035, allocations: 35.86 kB / 1.024 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001513/1.035, allocations: 198 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000877/1.036, allocations: 48.31 kB / 1.025 GB, free: 12.1 MB / 0.6511 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.000176/1.036, allocations: 127.7 kB / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004487/1.036, allocations: 256.9 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.036, allocations: 3.938 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/1.037, allocations: 60.86 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/1.037, allocations: 23.62 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/1.037, allocations: 274.5 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/1.038, allocations: 0.8002 MB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/1.038, allocations: 0 / 1.026 GB, free: 10.61 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)