Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.6675/0.6675, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 193.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 85.2 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3277/0.3287, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.5093, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5168/1.026, allocations: 103.7 MB / 0.7223 GB, free: 8.672 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.027, allocations: 71.95 kB / 0.7223 GB, free: 8.602 MB / 490.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.01525/1.042, allocations: 4.877 MB / 0.7271 GB, free: 3.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.042, allocations: 8 kB / 0.7271 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/1.042, allocations: 31.7 kB / 0.7271 GB, free: 3.629 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/1.042, allocations: 191.9 kB / 0.7273 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/1.042, allocations: 4 kB / 0.7273 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.099e-05/1.043, allocations: 19.98 kB / 0.7273 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001421/1.043, allocations: 32 kB / 0.7274 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/1.043, allocations: 133.5 kB / 0.7275 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.043, allocations: 4 kB / 0.7275 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/1.043, allocations: 3.984 kB / 0.7275 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.043, allocations: 7.984 kB / 0.7275 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/1.043, allocations: 273.9 kB / 0.7278 GB, free: 2.887 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/1.044, allocations: 106.7 kB / 0.7279 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/1.044, allocations: 52.84 kB / 0.7279 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/1.044, allocations: 4.375 kB / 0.7279 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/1.044, allocations: 167.1 kB / 0.7281 GB, free: 2.539 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.335e-06/1.044, allocations: 0 / 0.7281 GB, free: 2.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004908/1.045, allocations: 161.3 kB / 0.7282 GB, free: 2.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/1.045, allocations: 63.3 kB / 0.7283 GB, free: 2.301 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/1.045, allocations: 187 kB / 0.7285 GB, free: 2.113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/1.045, allocations: 37.7 kB / 0.7285 GB, free: 2.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/1.045, allocations: 92.84 kB / 0.7286 GB, free: 1.977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/1.045, allocations: 39.45 kB / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/1.045, allocations: 8 kB / 0.7287 GB, free: 1.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/1.045, allocations: 326.8 kB / 0.729 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/1.046, allocations: 80.22 kB / 0.729 GB, free: 1.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/1.046, allocations: 142.1 kB / 0.7292 GB, free: 1.363 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/1.046, allocations: 68.7 kB / 0.7292 GB, free: 1.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.046, allocations: 0 / 0.7292 GB, free: 1.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005445/1.047, allocations: 267.7 kB / 0.7295 GB, free: 1.027 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.047, allocations: 10.78 kB / 0.7295 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.047, allocations: 0 / 0.7295 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.047, allocations: 4 kB / 0.7295 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/1.047, allocations: 36.09 kB / 0.7295 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.047, allocations: 4 kB / 0.7296 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/1.047, allocations: 43.81 kB / 0.7296 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/1.047, allocations: 47.98 kB / 0.7296 GB, free: 0.8867 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: 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.0001574/1.048, allocations: 127.7 kB / 0.7298 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.048, allocations: 23.75 kB / 0.7298 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/1.048, allocations: 13.59 kB / 0.7298 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.048, allocations: 7.984 kB / 0.7298 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.048, allocations: 3.906 kB / 0.7298 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.048, allocations: 0 / 0.7298 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/1.048, allocations: 474.7 kB / 0.7303 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/1.049, allocations: 0 / 0.7303 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/1.049, allocations: 4 kB / 0.7303 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/1.049, allocations: 0 / 0.7303 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/1.049, allocations: 15.97 kB / 0.7303 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.049, allocations: 0 / 0.7303 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.049, allocations: 0 / 0.7303 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003405/1.049, allocations: 269.4 kB / 0.7305 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004792/1.049, allocations: 0.6245 MB / 0.7311 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/1.05, allocations: 140.8 kB / 0.7313 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/1.05, allocations: 8 kB / 0.7313 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.05, allocations: 11.98 kB / 0.7313 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/1.05, allocations: 15.88 kB / 0.7313 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/1.05, allocations: 31.98 kB / 0.7313 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000156/1.05, allocations: 153.9 kB / 0.7315 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009849/1.051, allocations: 48 kB / 0.7315 GB, free: 14.84 MB / 0.4948 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.0002052/1.051, allocations: 115.2 kB / 0.7316 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004851/1.052, allocations: 252.7 kB / 0.7319 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.052, allocations: 384 / 0.7319 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/1.052, allocations: 78.88 kB / 0.732 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/1.052, allocations: 20.56 kB / 0.732 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/1.053, allocations: 212.3 kB / 0.7322 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/1.053, allocations: 0.7785 MB / 0.7329 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of SimCode: time 3.41e-07/1.053, allocations: 0 / 0.7329 GB, free: 13.33 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)