Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.39/1.39, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009706/0.0009707, allocations: 181.3 kB / 361.1 MB, free: 7.066 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.15/1.15, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0007803/0.0007803, allocations: 92.78 kB / 0.7325 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2032/0.204, allocations: 121.4 MB / 0.8511 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.6834, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.8354, allocations: 139.1 MB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.8356, allocations: 72.8 kB / 1.1 GB, free: 0.7734 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.01373/0.8494, allocations: 4.699 MB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.8494, allocations: 12 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.8496, allocations: 31.7 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.8499, allocations: 251.2 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.8499, allocations: 5.047 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.85, allocations: 19.94 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001201/0.8501, allocations: 39.98 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.8504, allocations: 141.5 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.8504, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.8504, allocations: 4 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.8504, allocations: 5.406 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.8508, allocations: 301.8 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.851, allocations: 118.7 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.8511, allocations: 52.84 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.8511, allocations: 4 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.8514, allocations: 171.2 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.8514, allocations: 0 / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003452/0.8518, allocations: 173.2 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.8518, allocations: 59.39 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.852, allocations: 247.3 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.8521, allocations: 33.7 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.8522, allocations: 89.12 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.8522, allocations: 39.52 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.8523, allocations: 7.938 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8524, allocations: 326.6 kB / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.8526, allocations: 92.2 kB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.8528, allocations: 134.2 kB / 1.106 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.8529, allocations: 78 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.853, allocations: 0 / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005526/0.8535, allocations: 288.6 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8535, allocations: 4 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.8535, allocations: 4 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8536, allocations: 4 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.8538, allocations: 23.92 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8538, allocations: 0 / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.8542, allocations: 48.06 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/0.8543, allocations: 55.97 kB / 1.107 GB, free: 9.125 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.0001241/0.8544, allocations: 139.4 kB / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.8545, allocations: 23.72 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.8545, allocations: 25.97 kB / 1.107 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8545, allocations: 4 kB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8545, allocations: 0 / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8545, allocations: 3.984 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.8552, allocations: 497.3 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8552, allocations: 7.938 kB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.8552, allocations: 9.812 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8552, allocations: 0 / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.8553, allocations: 19.97 kB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8553, allocations: 0 / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8553, allocations: 0 / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002881/0.8556, allocations: 263 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000407/0.856, allocations: 0.6401 MB / 1.109 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.8562, allocations: 156.6 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.8562, allocations: 11.98 kB / 1.109 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.8564, allocations: 4 kB / 1.109 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.8565, allocations: 19.97 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.8565, allocations: 27.98 kB / 1.109 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001601/0.8567, allocations: 199.1 kB / 1.109 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008748/0.8576, allocations: 47.98 kB / 1.109 GB, free: 6.957 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.0001718/0.8578, allocations: 123 kB / 1.109 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.8582, allocations: 255.4 kB / 1.109 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8582, allocations: 0 / 1.109 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.8584, allocations: 67.92 kB / 1.109 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.8586, allocations: 20.66 kB / 1.109 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.8592, allocations: 269.7 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.8597, allocations: 0.8054 MB / 1.11 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8597, allocations: 0 / 1.11 GB, free: 5.371 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)