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: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_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.004747/0.004747, allocations: 182.9 kB / 7.461 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.7948/0.7948, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.738/1.738, allocations: 221.3 MB / 395 MB, free: 10.21 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.001098/0.001098, allocations: 89.19 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4996/0.5007, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.6987, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5986/1.297, allocations: 112.4 MB / 0.7431 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/1.298, allocations: 72.8 kB / 0.7432 GB, free: 10.69 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.01516/1.313, allocations: 4.733 MB / 0.7478 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.313, allocations: 15.53 kB / 0.7478 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/1.313, allocations: 31.66 kB / 0.7478 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/1.314, allocations: 252.5 kB / 0.7481 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/1.314, allocations: 4.516 kB / 0.7481 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/1.314, allocations: 19.94 kB / 0.7481 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001438/1.314, allocations: 36.81 kB / 0.7481 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/1.314, allocations: 136.1 kB / 0.7483 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.314, allocations: 3.906 kB / 0.7483 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/1.314, allocations: 4.734 kB / 0.7483 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/1.314, allocations: 0 / 0.7483 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/1.315, allocations: 301.8 kB / 0.7486 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/1.315, allocations: 125 kB / 0.7487 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/1.315, allocations: 49.19 kB / 0.7487 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/1.315, allocations: 4.453 kB / 0.7487 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/1.315, allocations: 168.9 kB / 0.7489 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/1.315, allocations: 0 / 0.7489 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004127/1.316, allocations: 174.1 kB / 0.7491 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/1.316, allocations: 65.34 kB / 0.7491 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/1.316, allocations: 245.5 kB / 0.7494 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/1.316, allocations: 34.69 kB / 0.7494 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/1.316, allocations: 89.53 kB / 0.7495 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/1.316, allocations: 39.09 kB / 0.7495 GB, free: 25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/1.316, allocations: 0.8438 kB / 0.7495 GB, free: 25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.317, allocations: 324.6 kB / 0.7498 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/1.317, allocations: 86.14 kB / 0.7499 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/1.317, allocations: 139.6 kB / 0.75 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/1.317, allocations: 72.3 kB / 0.7501 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.317, allocations: 8.438 kB / 0.7501 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005228/1.318, allocations: 287.7 kB / 0.7504 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.318, allocations: 3.844 kB / 0.7504 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.318, allocations: 3.531 kB / 0.7504 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.318, allocations: 4.453 kB / 0.7504 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.318, allocations: 25.09 kB / 0.7504 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.318, allocations: 4.406 kB / 0.7504 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/1.318, allocations: 46.84 kB / 0.7505 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/1.318, allocations: 57.48 kB / 0.7505 GB, free: 24.55 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.0001868/1.319, allocations: 137.3 kB / 0.7507 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/1.319, allocations: 23.47 kB / 0.7507 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.891e-05/1.319, allocations: 32.12 kB / 0.7507 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.319, allocations: 3.906 kB / 0.7507 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.319, allocations: 7.781 kB / 0.7507 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.319, allocations: 1.219 kB / 0.7507 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/1.32, allocations: 488.8 kB / 0.7512 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.32, allocations: 0.75 kB / 0.7512 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/1.32, allocations: 12.42 kB / 0.7512 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.32, allocations: 1.344 kB / 0.7512 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/1.32, allocations: 13.66 kB / 0.7512 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.32, allocations: 2.016 kB / 0.7512 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.32, allocations: 1.281 kB / 0.7512 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003956/1.32, allocations: 272.2 kB / 0.7515 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005376/1.321, allocations: 0.6387 MB / 0.7521 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/1.321, allocations: 156.2 kB / 0.7522 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/1.321, allocations: 9.406 kB / 0.7523 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.321, allocations: 8.453 kB / 0.7523 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/1.321, allocations: 18.28 kB / 0.7523 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/1.321, allocations: 28.12 kB / 0.7523 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002506/1.322, allocations: 197 kB / 0.7525 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009222/1.323, allocations: 56.7 kB / 0.7526 GB, free: 23.24 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.0001895/1.323, allocations: 119.1 kB / 0.7527 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005565/1.323, allocations: 257.2 kB / 0.7529 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.323, allocations: 0 / 0.7529 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/1.324, allocations: 66.17 kB / 0.753 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/1.324, allocations: 17.52 kB / 0.753 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/1.325, allocations: 277.1 kB / 0.7533 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.325, allocations: 0.8032 MB / 0.754 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/1.325, allocations: 0 / 0.754 GB, free: 22.22 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)