Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.002987/0.002987, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6878/0.6878, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.752/1.752, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 101.4 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5677/0.5687, allocations: 88.42 MB / 0.5529 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.7738, allocations: 82.3 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7041/1.478, allocations: 112.4 MB / 0.743 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/1.478, allocations: 70.36 kB / 0.7431 GB, free: 10.82 MB / 0.4948 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.01479/1.493, allocations: 4.725 MB / 0.7477 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.493, allocations: 7.562 kB / 0.7477 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/1.493, allocations: 35.64 kB / 0.7478 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/1.494, allocations: 257.2 kB / 0.748 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/1.494, allocations: 1.266 kB / 0.748 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/1.494, allocations: 20.45 kB / 0.748 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/1.494, allocations: 36.41 kB / 0.7481 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/1.494, allocations: 137.7 kB / 0.7482 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.494, allocations: 3.906 kB / 0.7482 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/1.494, allocations: 12.33 kB / 0.7482 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.494, allocations: 0 / 0.7482 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/1.495, allocations: 298.6 kB / 0.7485 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/1.495, allocations: 121.8 kB / 0.7486 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/1.495, allocations: 48.44 kB / 0.7487 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/1.495, allocations: 0.5156 kB / 0.7487 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/1.496, allocations: 174.2 kB / 0.7488 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/1.496, allocations: 4 kB / 0.7488 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004387/1.496, allocations: 177.6 kB / 0.749 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.496, allocations: 63.34 kB / 0.7491 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/1.496, allocations: 243 kB / 0.7493 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/1.497, allocations: 34.56 kB / 0.7493 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/1.497, allocations: 87.12 kB / 0.7494 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/1.497, allocations: 41.27 kB / 0.7494 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/1.497, allocations: 4.531 kB / 0.7495 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.497, allocations: 327.3 kB / 0.7498 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/1.497, allocations: 87.19 kB / 0.7498 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/1.497, allocations: 137.3 kB / 0.75 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/1.497, allocations: 78.75 kB / 0.7501 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.497, allocations: 3.938 kB / 0.7501 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006848/1.498, allocations: 281.3 kB / 0.7503 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.498, allocations: 7.781 kB / 0.7503 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.498, allocations: 7.781 kB / 0.7503 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.498, allocations: 0.7969 kB / 0.7503 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/1.498, allocations: 25.53 kB / 0.7504 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.498, allocations: 7.453 kB / 0.7504 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/1.499, allocations: 46.05 kB / 0.7504 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.499, allocations: 53.84 kB / 0.7505 GB, free: 24.67 MB / 0.5105 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.0002028/1.499, allocations: 131.2 kB / 0.7506 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/1.499, allocations: 23.91 kB / 0.7506 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/1.499, allocations: 33.91 kB / 0.7506 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.499, allocations: 9.266 kB / 0.7507 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.499, allocations: 1.312 kB / 0.7507 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.499, allocations: 1.219 kB / 0.7507 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/1.5, allocations: 487.9 kB / 0.7511 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.501, allocations: 1.344 kB / 0.7511 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/1.501, allocations: 14.38 kB / 0.7511 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.501, allocations: 1.938 kB / 0.7511 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/1.501, allocations: 11.23 kB / 0.7512 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.501, allocations: 1.281 kB / 0.7512 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.501, allocations: 0 / 0.7512 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004819/1.501, allocations: 267.3 kB / 0.7514 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006711/1.502, allocations: 0.638 MB / 0.752 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/1.502, allocations: 156.6 kB / 0.7522 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/1.502, allocations: 8.391 kB / 0.7522 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/1.503, allocations: 12.12 kB / 0.7522 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/1.503, allocations: 16.75 kB / 0.7522 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/1.503, allocations: 39.89 kB / 0.7523 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002961/1.503, allocations: 195 kB / 0.7524 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001071/1.504, allocations: 52.97 kB / 0.7525 GB, free: 23.36 MB / 0.5105 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.0002306/1.504, allocations: 114.2 kB / 0.7526 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006083/1.505, allocations: 264.3 kB / 0.7529 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.505, allocations: 1.25 kB / 0.7529 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/1.505, allocations: 66.16 kB / 0.7529 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/1.505, allocations: 27.8 kB / 0.7529 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/1.506, allocations: 270.5 kB / 0.7532 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/1.507, allocations: 0.8021 MB / 0.754 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.507, allocations: 0 / 0.754 GB, free: 22.34 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)