Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.6739/0.6739, allocations: 127.4 MB / 134.6 MB, free: 4.148 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.0009959/0.0009961, allocations: 189.2 kB / 164.4 MB, free: 6.895 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.391/1.391, allocations: 205.1 MB / 399.1 MB, free: 6.16 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.0009291/0.0009289, allocations: 95.61 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3118/0.3128, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.4844, allocations: 76.74 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.9833, allocations: 103.8 MB / 0.7223 GB, free: 8.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.9836, allocations: 75.95 kB / 0.7224 GB, free: 8.496 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.01563/0.9993, allocations: 4.878 MB / 0.7272 GB, free: 3.555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.9993, allocations: 12 kB / 0.7272 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.9995, allocations: 31.72 kB / 0.7272 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.9997, allocations: 191.9 kB / 0.7274 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.9998, allocations: 4 kB / 0.7274 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.9999, allocations: 15.98 kB / 0.7274 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001563/1, allocations: 39.98 kB / 0.7275 GB, free: 3.223 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/1, allocations: 129.5 kB / 0.7276 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1, allocations: 3.984 kB / 0.7276 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/1, allocations: 8 kB / 0.7276 GB, free: 3.078 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/1, allocations: 0 / 0.7276 GB, free: 3.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/1.001, allocations: 277.9 kB / 0.7279 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/1.001, allocations: 110.7 kB / 0.728 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/1.001, allocations: 48.86 kB / 0.728 GB, free: 2.602 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/1.001, allocations: 4.375 kB / 0.728 GB, free: 2.598 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/1.002, allocations: 167.1 kB / 0.7282 GB, free: 2.422 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/1.002, allocations: 0 / 0.7282 GB, free: 2.422 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004214/1.002, allocations: 159.5 kB / 0.7283 GB, free: 2.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.002, allocations: 63.31 kB / 0.7284 GB, free: 2.188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/1.002, allocations: 195 kB / 0.7286 GB, free: 1.992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/1.002, allocations: 33.69 kB / 0.7286 GB, free: 1.953 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/1.002, allocations: 92.86 kB / 0.7287 GB, free: 1.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/1.003, allocations: 43.45 kB / 0.7287 GB, free: 1.816 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/1.003, allocations: 4 kB / 0.7287 GB, free: 1.812 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/1.003, allocations: 318.8 kB / 0.729 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/1.003, allocations: 84.2 kB / 0.7291 GB, free: 1.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/1.003, allocations: 142.2 kB / 0.7293 GB, free: 1.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/1.003, allocations: 79.62 kB / 0.7293 GB, free: 1.172 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.003, allocations: 1.031 kB / 0.7293 GB, free: 1.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005452/1.004, allocations: 271.7 kB / 0.7296 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.004, allocations: 4 kB / 0.7296 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.004, allocations: 7.984 kB / 0.7296 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.004, allocations: 0 / 0.7296 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/1.004, allocations: 23.92 kB / 0.7296 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.004, allocations: 4 kB / 0.7296 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/1.005, allocations: 52 kB / 0.7297 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/1.005, allocations: 39.98 kB / 0.7297 GB, free: 0.7734 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.0001611/1.005, allocations: 131.4 kB / 0.7298 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/1.005, allocations: 19.81 kB / 0.7299 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/1.005, allocations: 29.52 kB / 0.7299 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.005, allocations: 0 / 0.7299 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.005, allocations: 3.906 kB / 0.7299 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.005, allocations: 0 / 0.7299 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/1.006, allocations: 462.7 kB / 0.7303 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.006, allocations: 0 / 0.7303 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/1.006, allocations: 19.92 kB / 0.7303 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.006, allocations: 4 kB / 0.7304 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/1.006, allocations: 11.98 kB / 0.7304 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/1.006, allocations: 3.984 kB / 0.7304 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.006, allocations: 0 / 0.7304 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003642/1.006, allocations: 257.4 kB / 0.7306 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004851/1.007, allocations: 0.6362 MB / 0.7312 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/1.007, allocations: 132.8 kB / 0.7314 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/1.007, allocations: 11.98 kB / 0.7314 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/1.007, allocations: 4 kB / 0.7314 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/1.007, allocations: 23.88 kB / 0.7314 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/1.007, allocations: 23.97 kB / 0.7314 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001398/1.008, allocations: 157.9 kB / 0.7316 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009641/1.009, allocations: 44 kB / 0.7316 GB, free: 14.72 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.0001906/1.009, allocations: 115.5 kB / 0.7317 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004805/1.009, allocations: 255.7 kB / 0.732 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.009, allocations: 4 kB / 0.732 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/1.009, allocations: 59.92 kB / 0.732 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/1.01, allocations: 20.56 kB / 0.732 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/1.01, allocations: 225.2 kB / 0.7323 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/1.011, allocations: 0.7746 MB / 0.733 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of SimCode: time 3.31e-07/1.011, allocations: 0 / 0.733 GB, free: 13.22 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)