Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7/0.7, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001126/0.001126, allocations: 185.3 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.354/1.354, allocations: 205.1 MB / 399.1 MB, free: 6.156 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.0008973/0.000897, allocations: 99.27 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3028/0.3038, allocations: 82.86 MB / 0.546 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.4633, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.9289, allocations: 103.8 MB / 0.7223 GB, free: 8.543 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.9292, allocations: 75.94 kB / 0.7224 GB, free: 8.469 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.01508/0.9443, allocations: 4.88 MB / 0.7272 GB, free: 3.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.9443, allocations: 8 kB / 0.7272 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.9445, allocations: 31.7 kB / 0.7272 GB, free: 3.492 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.9447, allocations: 187.9 kB / 0.7274 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.9447, allocations: 4 kB / 0.7274 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.9448, allocations: 15.98 kB / 0.7274 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/0.945, allocations: 36 kB / 0.7274 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.9452, allocations: 134.4 kB / 0.7276 GB, free: 3.074 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.9452, allocations: 0 / 0.7276 GB, free: 3.074 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.9453, allocations: 7.984 kB / 0.7276 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.9453, allocations: 4 kB / 0.7276 GB, free: 3.062 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.9457, allocations: 278.8 kB / 0.7278 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.946, allocations: 102.7 kB / 0.7279 GB, free: 2.645 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.9461, allocations: 52.84 kB / 0.728 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.9461, allocations: 4.375 kB / 0.728 GB, free: 2.586 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.9464, allocations: 160.1 kB / 0.7282 GB, free: 2.418 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.9464, allocations: 8 kB / 0.7282 GB, free: 2.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003921/0.9468, allocations: 159.5 kB / 0.7283 GB, free: 2.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.9469, allocations: 67.3 kB / 0.7284 GB, free: 2.172 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.9471, allocations: 191 kB / 0.7286 GB, free: 1.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.9472, allocations: 33.7 kB / 0.7286 GB, free: 1.941 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.9473, allocations: 92.84 kB / 0.7287 GB, free: 1.848 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.9474, allocations: 47.44 kB / 0.7287 GB, free: 1.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.9474, allocations: 4 kB / 0.7287 GB, free: 1.797 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9475, allocations: 326.8 kB / 0.729 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.9477, allocations: 84.16 kB / 0.7291 GB, free: 1.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.9479, allocations: 138.1 kB / 0.7293 GB, free: 1.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.9481, allocations: 75.89 kB / 0.7293 GB, free: 1.156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9481, allocations: 0 / 0.7293 GB, free: 1.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005296/0.9487, allocations: 271.7 kB / 0.7296 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9487, allocations: 4 kB / 0.7296 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9487, allocations: 0 / 0.7296 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9487, allocations: 4 kB / 0.7296 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.9489, allocations: 31.91 kB / 0.7296 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.9489, allocations: 4.188 kB / 0.7296 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.9493, allocations: 55.8 kB / 0.7297 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.9494, allocations: 39.98 kB / 0.7297 GB, free: 0.75 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.0001449/0.9496, allocations: 135.4 kB / 0.7298 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.9496, allocations: 15.81 kB / 0.7299 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.9497, allocations: 21.59 kB / 0.7299 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.9497, allocations: 3.984 kB / 0.7299 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.9497, allocations: 3.906 kB / 0.7299 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9497, allocations: 0 / 0.7299 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.9504, allocations: 474.7 kB / 0.7303 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.9504, allocations: 0 / 0.7303 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.9505, allocations: 4 kB / 0.7303 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9505, allocations: 4 kB / 0.7304 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.9505, allocations: 11.97 kB / 0.7304 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.9505, allocations: 0 / 0.7304 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9506, allocations: 0 / 0.7304 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003835/0.9509, allocations: 261.4 kB / 0.7306 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004628/0.9514, allocations: 0.6284 MB / 0.7312 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.9516, allocations: 136.8 kB / 0.7314 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.9516, allocations: 8 kB / 0.7314 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.9519, allocations: 11.98 kB / 0.7314 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.9519, allocations: 19.88 kB / 0.7314 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.952, allocations: 23.98 kB / 0.7314 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001388/0.9521, allocations: 157.9 kB / 0.7316 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00096/0.9531, allocations: 44 kB / 0.7316 GB, free: 14.71 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.000182/0.9533, allocations: 111.5 kB / 0.7317 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.9538, allocations: 259.7 kB / 0.732 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9538, allocations: 0 / 0.732 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.9539, allocations: 63.92 kB / 0.732 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.9542, allocations: 24.94 kB / 0.732 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.9548, allocations: 224.7 kB / 0.7323 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.9553, allocations: 0.7722 MB / 0.733 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.9553, allocations: 4 kB / 0.733 GB, free: 13.2 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)