Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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/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/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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [: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.002996/0.002996, allocations: 182.5 kB / 7.455 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6663/0.6663, allocations: 130.6 MB / 138.5 MB, free: 2.227 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 221.3 MB / 391.4 MB, free: 13.1 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.0009344/0.0009344, allocations: 100.3 kB / 473.5 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.706e-06, allocations: 1.844 kB / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1678, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.6599, allocations: 113.9 MB / 0.7388 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.6601, allocations: 85.84 kB / 0.7389 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02343/0.6836, allocations: 9.229 MB / 0.7479 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.6836, allocations: 3.875 kB / 0.7479 GB, free: 11.09 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000663/0.6843, allocations: 0.4965 MB / 0.7484 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.6843, allocations: 11.56 kB / 0.7484 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.6844, allocations: 31.06 kB / 0.7484 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.6848, allocations: 269.7 kB / 0.7487 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.6848, allocations: 7.781 kB / 0.7487 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.6848, allocations: 7.844 kB / 0.7487 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007847/0.6856, allocations: 0.7199 MB / 0.7494 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.6859, allocations: 195.8 kB / 0.7496 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6859, allocations: 3.906 kB / 0.7496 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.6859, allocations: 4 kB / 0.7496 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6859, allocations: 7.859 kB / 0.7496 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.6867, allocations: 0.5222 MB / 0.7501 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.6871, allocations: 271 kB / 0.7504 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.6873, allocations: 96.33 kB / 0.7505 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.6873, allocations: 24.23 kB / 0.7505 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.6875, allocations: 161.5 kB / 0.7507 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.6875, allocations: 0 / 0.7507 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.0004404/0.688, allocations: 257.7 kB / 0.7509 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.6881, allocations: 137 kB / 0.751 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.6883, allocations: 252.5 kB / 0.7513 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.6884, allocations: 25.7 kB / 0.7513 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.6885, allocations: 103.7 kB / 0.7514 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.6885, allocations: 111.6 kB / 0.7515 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.6886, allocations: 0 / 0.7515 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6887, allocations: 337.2 kB / 0.7518 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.6888, allocations: 77.28 kB / 0.7519 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.689, allocations: 111.8 kB / 0.752 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.6891, allocations: 113.1 kB / 0.7521 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6891, allocations: 3.844 kB / 0.7521 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003518/0.6895, allocations: 255.6 kB / 0.7524 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6895, allocations: 3.844 kB / 0.7524 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6895, allocations: 0 / 0.7524 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.6895, allocations: 0 / 0.7524 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.6898, allocations: 68.59 kB / 0.7524 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.6898, allocations: 0 / 0.7524 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.69, allocations: 27.17 kB / 0.7525 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.69, allocations: 10.78 kB / 0.7525 GB, free: 24.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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/0.6901, allocations: 112.8 kB / 0.7526 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.6902, allocations: 27.16 kB / 0.7526 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.6909, allocations: 371.5 kB / 0.753 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.6909, allocations: 7.859 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6909, allocations: 3.938 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.6909, allocations: 4 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.6912, allocations: 298.2 kB / 0.7533 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6912, allocations: 0 / 0.7533 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.6914, allocations: 56.66 kB / 0.7533 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6914, allocations: 3.938 kB / 0.7533 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.6914, allocations: 11.77 kB / 0.7533 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.6914, allocations: 7.812 kB / 0.7533 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6914, allocations: 0 / 0.7533 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003827/0.6918, allocations: 298.1 kB / 0.7536 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.692, allocations: 159 kB / 0.7538 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.6921, allocations: 3.969 kB / 0.7538 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.6922, allocations: 11.67 kB / 0.7538 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.6923, allocations: 19.5 kB / 0.7538 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.6923, allocations: 14.94 kB / 0.7538 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001876/0.6925, allocations: 208.1 kB / 0.754 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003377/0.6929, allocations: 65.98 kB / 0.7541 GB, free: 24.1 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008208/0.6937, allocations: 321.7 kB / 0.7544 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.694, allocations: 207 kB / 0.7546 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.694, allocations: 7.375 kB / 0.7546 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.6942, allocations: 127.9 kB / 0.7547 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.6944, allocations: 20.77 kB / 0.7547 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.6952, allocations: 388.7 kB / 0.7551 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006252/0.6958, allocations: 0.8188 MB / 0.7559 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.6958, allocations: 0 / 0.7559 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.006918/0.7027, allocations: 3.513 MB / 0.7593 GB, free: 21.23 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)