Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.002568/0.002568, allocations: 180.7 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6822/0.6822, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.571/1.571, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009261/0.0009261, allocations: 99.52 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5089/0.5099, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.7316, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6782/1.41, allocations: 112.4 MB / 0.7431 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.41, allocations: 69.86 kB / 0.7432 GB, free: 11.05 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.01496/1.425, allocations: 4.732 MB / 0.7478 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.425, allocations: 12.23 kB / 0.7478 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/1.425, allocations: 31.45 kB / 0.7478 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/1.426, allocations: 255 kB / 0.7481 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/1.426, allocations: 4.562 kB / 0.7481 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/1.426, allocations: 13.45 kB / 0.7481 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001243/1.426, allocations: 45.34 kB / 0.7481 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/1.426, allocations: 135.9 kB / 0.7483 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/1.426, allocations: 7.906 kB / 0.7483 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/1.426, allocations: 1.406 kB / 0.7483 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.426, allocations: 0 / 0.7483 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/1.427, allocations: 301.9 kB / 0.7486 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/1.427, allocations: 128.2 kB / 0.7487 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/1.427, allocations: 48.81 kB / 0.7487 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/1.427, allocations: 8.922 kB / 0.7487 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/1.427, allocations: 170 kB / 0.7489 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/1.427, allocations: 0 / 0.7489 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003945/1.428, allocations: 174.6 kB / 0.7491 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/1.428, allocations: 64.06 kB / 0.7491 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/1.428, allocations: 241.7 kB / 0.7494 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/1.428, allocations: 34.17 kB / 0.7494 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/1.428, allocations: 90.77 kB / 0.7495 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/1.428, allocations: 38.97 kB / 0.7495 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/1.428, allocations: 3.688 kB / 0.7495 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.429, allocations: 326.3 kB / 0.7498 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/1.429, allocations: 87.92 kB / 0.7499 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/1.429, allocations: 137.5 kB / 0.75 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/1.429, allocations: 85.56 kB / 0.7501 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.429, allocations: 3.844 kB / 0.7501 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005404/1.43, allocations: 276.1 kB / 0.7504 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.43, allocations: 10.56 kB / 0.7504 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.43, allocations: 3.844 kB / 0.7504 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.43, allocations: 4.5 kB / 0.7504 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.43, allocations: 21.34 kB / 0.7504 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.43, allocations: 12.56 kB / 0.7504 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/1.43, allocations: 41.86 kB / 0.7505 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/1.43, allocations: 62.58 kB / 0.7505 GB, free: 24.9 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.0001483/1.431, allocations: 125.2 kB / 0.7507 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/1.431, allocations: 24.08 kB / 0.7507 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/1.431, allocations: 31.41 kB / 0.7507 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.431, allocations: 3.906 kB / 0.7507 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.431, allocations: 4.406 kB / 0.7507 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.431, allocations: 0.6562 kB / 0.7507 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/1.432, allocations: 490.9 kB / 0.7512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.432, allocations: 0 / 0.7512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/1.432, allocations: 16.58 kB / 0.7512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.432, allocations: 1.312 kB / 0.7512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/1.432, allocations: 10.31 kB / 0.7512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.432, allocations: 1.375 kB / 0.7512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.432, allocations: 0.7031 kB / 0.7512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003893/1.432, allocations: 266.6 kB / 0.7515 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005648/1.433, allocations: 0.6384 MB / 0.7521 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/1.433, allocations: 158.6 kB / 0.7522 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/1.433, allocations: 12.8 kB / 0.7523 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/1.433, allocations: 8.75 kB / 0.7523 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/1.433, allocations: 18.34 kB / 0.7523 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/1.433, allocations: 34.8 kB / 0.7523 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002253/1.434, allocations: 199.2 kB / 0.7525 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009073/1.435, allocations: 48.84 kB / 0.7526 GB, free: 23.6 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.0002028/1.435, allocations: 114.9 kB / 0.7527 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005851/1.435, allocations: 264.1 kB / 0.7529 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.435, allocations: 0 / 0.7529 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.435, allocations: 61.25 kB / 0.753 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/1.436, allocations: 23.19 kB / 0.753 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/1.437, allocations: 276.1 kB / 0.7533 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/1.437, allocations: 0.7943 MB / 0.754 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.437, allocations: 0 / 0.754 GB, free: 22.59 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)