Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.27/1.27, allocations: 249.4 MB / 256.7 MB, free: 7.652 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 185.2 kB / 316 MB, free: 7.918 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.1 MB / 0.5667 GB, free: 3.352 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 100.6 kB / 0.671 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.356/0.357, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.5282, allocations: 106.3 MB / 0.8846 GB, free: 280 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5005/1.029, allocations: 133.7 MB / 1.015 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/1.029, allocations: 64.59 kB / 1.015 GB, free: 11.02 MB / 0.6387 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.01346/1.042, allocations: 4.702 MB / 1.02 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.042, allocations: 8 kB / 1.02 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/1.043, allocations: 39.61 kB / 1.02 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/1.043, allocations: 246.1 kB / 1.02 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/1.043, allocations: 4 kB / 1.02 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/1.043, allocations: 18.84 kB / 1.02 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001606/1.043, allocations: 41.48 kB / 1.02 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/1.043, allocations: 141 kB / 1.02 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/1.043, allocations: 0 / 1.02 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/1.043, allocations: 4 kB / 1.02 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.043, allocations: 4 kB / 1.02 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/1.044, allocations: 299.1 kB / 1.021 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/1.044, allocations: 118.4 kB / 1.021 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/1.044, allocations: 50.91 kB / 1.021 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/1.044, allocations: 4 kB / 1.021 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/1.044, allocations: 171.3 kB / 1.021 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/1.044, allocations: 8 kB / 1.021 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18): time 0.0003319/1.045, allocations: 167.7 kB / 1.021 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.045, allocations: 66.83 kB / 1.021 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/1.045, allocations: 240 kB / 1.021 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/1.045, allocations: 32.95 kB / 1.021 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/1.045, allocations: 96.91 kB / 1.022 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/1.045, allocations: 38.05 kB / 1.022 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/1.045, allocations: 4 kB / 1.022 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.045, allocations: 326.5 kB / 1.022 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/1.046, allocations: 93.33 kB / 1.022 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/1.046, allocations: 135.8 kB / 1.022 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/1.046, allocations: 78.31 kB / 1.022 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.046, allocations: 0 / 1.022 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005186/1.046, allocations: 278.4 kB / 1.022 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.046, allocations: 4 kB / 1.022 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.047, allocations: 4 kB / 1.022 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.047, allocations: 4.656 kB / 1.022 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/1.047, allocations: 27.92 kB / 1.022 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.047, allocations: 192 / 1.022 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/1.047, allocations: 55.81 kB / 1.023 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/1.047, allocations: 55.09 kB / 1.023 GB, free: 4.297 MB / 0.6387 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.0001266/1.047, allocations: 130.4 kB / 1.023 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/1.047, allocations: 27.62 kB / 1.023 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/1.047, allocations: 27.53 kB / 1.023 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.047, allocations: 7.938 kB / 1.023 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.047, allocations: 0 / 1.023 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.047, allocations: 3.984 kB / 1.023 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/1.048, allocations: 492 kB / 1.023 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.048, allocations: 4 kB / 1.023 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/1.048, allocations: 11.38 kB / 1.023 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.048, allocations: 0 / 1.023 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/1.048, allocations: 11.97 kB / 1.023 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.048, allocations: 4 kB / 1.023 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.048, allocations: 0 / 1.023 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002805/1.048, allocations: 261.1 kB / 1.024 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000396/1.049, allocations: 0.6464 MB / 1.024 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.049, allocations: 154.2 kB / 1.024 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/1.049, allocations: 10.98 kB / 1.024 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.049, allocations: 8 kB / 1.024 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/1.049, allocations: 23.44 kB / 1.024 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/1.049, allocations: 27.98 kB / 1.024 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of sort global known variables: time 0.0001438/1.05, allocations: 201.7 kB / 1.025 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009283/1.051, allocations: 48.36 kB / 1.025 GB, free: 2.309 MB / 0.6387 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.0001395/1.051, allocations: 125.3 kB / 1.025 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004154/1.051, allocations: 255 kB / 1.025 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.051, allocations: 0 / 1.025 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/1.051, allocations: 68.61 kB / 1.025 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/1.051, allocations: 24.5 kB / 1.025 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/1.052, allocations: 266.1 kB / 1.025 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/1.053, allocations: 0.7967 MB / 1.026 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/1.053, allocations: 0 / 1.026 GB, free: 0.8281 MB / 0.6387 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)