Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 187 kB / 7.802 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.4702/0.4702, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.363/1.363, allocations: 221.4 MB / 342.8 MB, free: 5.215 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.0009532/0.0009534, allocations: 93.44 kB / 415.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1836/0.1846, allocations: 78.45 MB / 494 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.5364, allocations: 72.29 MB / 0.553 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.6572, allocations: 103.4 MB / 0.654 GB, free: 5.258 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.6575, allocations: 72.8 kB / 0.654 GB, free: 5.188 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.01605/0.6736, allocations: 4.896 MB / 0.6588 GB, free: 244 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6736, allocations: 12 kB / 0.6588 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.6737, allocations: 27.72 kB / 0.6588 GB, free: 204 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.6741, allocations: 255.2 kB / 0.6591 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.6742, allocations: 7.984 kB / 0.6591 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.6743, allocations: 19.91 kB / 0.6591 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001305/0.6744, allocations: 49.89 kB / 0.6592 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.6747, allocations: 137.5 kB / 0.6593 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6747, allocations: 3.984 kB / 0.6593 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.6747, allocations: 8 kB / 0.6593 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6747, allocations: 0 / 0.6593 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.6751, allocations: 301.9 kB / 0.6596 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.6753, allocations: 94.55 kB / 0.6597 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.6754, allocations: 60.84 kB / 0.6597 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.6754, allocations: 4 kB / 0.6597 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.6757, allocations: 151.2 kB / 0.6599 GB, free: 15.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.6757, allocations: 0 / 0.6599 GB, free: 15.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004126/0.6761, allocations: 185.2 kB / 0.6601 GB, free: 14.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6761, allocations: 55.41 kB / 0.6601 GB, free: 14.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.6764, allocations: 251.4 kB / 0.6604 GB, free: 14.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.6765, allocations: 37.69 kB / 0.6604 GB, free: 14.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.6765, allocations: 85.14 kB / 0.6605 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6766, allocations: 43.45 kB / 0.6605 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.6766, allocations: 4 kB / 0.6605 GB, free: 14.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6767, allocations: 318.8 kB / 0.6608 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.6769, allocations: 75.98 kB / 0.6609 GB, free: 13.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.6771, allocations: 130 kB / 0.661 GB, free: 13.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.6773, allocations: 77.98 kB / 0.6611 GB, free: 13.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6773, allocations: 0 / 0.6611 GB, free: 13.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005152/0.6778, allocations: 265.3 kB / 0.6613 GB, free: 13.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6778, allocations: 4 kB / 0.6613 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6779, allocations: 7.906 kB / 0.6614 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6779, allocations: 7.984 kB / 0.6614 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.678, allocations: 19.92 kB / 0.6614 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6781, allocations: 7.594 kB / 0.6614 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.6784, allocations: 47.94 kB / 0.6614 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/0.6785, allocations: 43.98 kB / 0.6615 GB, free: 13.32 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.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.0001219/0.6787, allocations: 124 kB / 0.6616 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.6787, allocations: 27.62 kB / 0.6616 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.203e-05/0.6788, allocations: 30.02 kB / 0.6617 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6788, allocations: 4 kB / 0.6617 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6788, allocations: 0 / 0.6617 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6788, allocations: 7.984 kB / 0.6617 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.6795, allocations: 0.4904 MB / 0.6621 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6796, allocations: 0 / 0.6621 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.6796, allocations: 7.938 kB / 0.6621 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6796, allocations: 0 / 0.6621 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.6797, allocations: 19.97 kB / 0.6622 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6797, allocations: 3.906 kB / 0.6622 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6797, allocations: 8 kB / 0.6622 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003375/0.68, allocations: 271.9 kB / 0.6624 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004367/0.6805, allocations: 0.6401 MB / 0.6631 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.6807, allocations: 164.6 kB / 0.6632 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.6808, allocations: 12 kB / 0.6632 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.6812, allocations: 39.97 kB / 0.6633 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.6812, allocations: 11.98 kB / 0.6633 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.6813, allocations: 39.97 kB / 0.6633 GB, free: 11.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000165/0.6815, allocations: 203.1 kB / 0.6635 GB, free: 11.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00091/0.6824, allocations: 49.48 kB / 0.6636 GB, free: 11.09 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 (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.0001496/0.6825, allocations: 116.9 kB / 0.6637 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.683, allocations: 251.2 kB / 0.6639 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.683, allocations: 0 / 0.6639 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.6832, allocations: 63.5 kB / 0.664 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6834, allocations: 20.55 kB / 0.664 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.684, allocations: 279.5 kB / 0.6643 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.6844, allocations: 0.7625 MB / 0.665 GB, free: 9.539 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6844, allocations: 3.656 kB / 0.665 GB, free: 9.539 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)