Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [: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.00181/0.001811, allocations: 173.8 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6014/0.6014, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.102/1.102, allocations: 221.3 MB / 395 MB, free: 10.23 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.0007986/0.0007986, allocations: 109.7 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.279e-06/5.3e-06, allocations: 2.594 kB / 0.5528 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.4111, allocations: 112.4 MB / 0.743 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001603/0.4113, allocations: 72.52 kB / 0.7431 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01133/0.4227, allocations: 4.145 MB / 0.7471 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.4227, allocations: 3.719 kB / 0.7471 GB, free: 10.46 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.0006976/0.4234, allocations: 0.5809 MB / 0.7477 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.4234, allocations: 7.656 kB / 0.7477 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.4235, allocations: 36.23 kB / 0.7477 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.4238, allocations: 258 kB / 0.748 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4238, allocations: 4.562 kB / 0.748 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.4239, allocations: 13.45 kB / 0.748 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.916e-05/0.424, allocations: 47.83 kB / 0.748 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.4242, allocations: 133 kB / 0.7482 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4242, allocations: 3.906 kB / 0.7482 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.4243, allocations: 4.125 kB / 0.7482 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.4243, allocations: 0 / 0.7482 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.4246, allocations: 299.1 kB / 0.7485 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.4247, allocations: 125.7 kB / 0.7486 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.4248, allocations: 47.58 kB / 0.7486 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4249, allocations: 4.531 kB / 0.7486 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.4251, allocations: 171.5 kB / 0.7488 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.4251, allocations: 0 / 0.7488 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003078/0.4255, allocations: 179.3 kB / 0.749 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4255, allocations: 60.95 kB / 0.749 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.4257, allocations: 240.9 kB / 0.7493 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.4257, allocations: 33.77 kB / 0.7493 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.4258, allocations: 98 kB / 0.7494 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.4259, allocations: 34.97 kB / 0.7494 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.4259, allocations: 3.844 kB / 0.7494 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.426, allocations: 326.2 kB / 0.7497 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.4261, allocations: 85.45 kB / 0.7498 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.4263, allocations: 135.2 kB / 0.7499 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.4265, allocations: 88.17 kB / 0.75 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4265, allocations: 3.875 kB / 0.75 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004528/0.4269, allocations: 272.4 kB / 0.7503 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.4269, allocations: 8 kB / 0.7503 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4269, allocations: 8.719 kB / 0.7503 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.427, allocations: 3.844 kB / 0.7503 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4271, allocations: 28.48 kB / 0.7503 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4271, allocations: 4.562 kB / 0.7503 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.4275, allocations: 46.69 kB / 0.7504 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.4276, allocations: 55 kB / 0.7504 GB, free: 24.57 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.0001081/0.4277, allocations: 128.4 kB / 0.7506 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.4277, allocations: 24.22 kB / 0.7506 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.4278, allocations: 30.67 kB / 0.7506 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4278, allocations: 6.344 kB / 0.7506 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4278, allocations: 4.656 kB / 0.7506 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4278, allocations: 5.641 kB / 0.7506 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.4284, allocations: 491.9 kB / 0.7511 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4284, allocations: 0 / 0.7511 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.4285, allocations: 8.469 kB / 0.7511 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4285, allocations: 2.156 kB / 0.7511 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4285, allocations: 13.66 kB / 0.7511 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4285, allocations: 1.969 kB / 0.7511 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4285, allocations: 0 / 0.7511 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002644/0.4288, allocations: 272.7 kB / 0.7514 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.429, allocations: 153.2 kB / 0.7515 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.429, allocations: 9.203 kB / 0.7515 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.4292, allocations: 16.83 kB / 0.7516 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.4293, allocations: 18.33 kB / 0.7516 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.4293, allocations: 31.48 kB / 0.7516 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001386/0.4294, allocations: 196.6 kB / 0.7518 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002983/0.4297, allocations: 52.09 kB / 0.7518 GB, free: 23.79 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.0001249/0.4299, allocations: 113 kB / 0.7519 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.4303, allocations: 258.5 kB / 0.7522 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4303, allocations: 0 / 0.7522 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4304, allocations: 66.62 kB / 0.7523 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.4306, allocations: 26.64 kB / 0.7523 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.4311, allocations: 269.4 kB / 0.7525 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.4316, allocations: 0.7965 MB / 0.7533 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.4316, allocations: 0 / 0.7533 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.006606/0.4382, allocations: 4.283 MB / 0.7575 GB, free: 21.61 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)