Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [: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.002351/0.002351, allocations: 178.3 kB / 7.462 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6498/0.6498, 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.33/1.33, 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.001004/0.001004, allocations: 98.3 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.816e-06/8.846e-06, allocations: 2.875 kB / 0.5529 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.161, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5993, allocations: 110.9 MB / 0.7415 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.5995, allocations: 81.53 kB / 0.7416 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002226/0.6018, allocations: 0.5387 MB / 0.7421 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.6018, allocations: 0 / 0.7421 GB, free: 11.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003233/0.6021, allocations: 322.2 kB / 0.7424 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6022, allocations: 7.688 kB / 0.7425 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.6022, allocations: 7.844 kB / 0.7425 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6023, allocations: 166.2 kB / 0.7426 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6024, allocations: 0 / 0.7426 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6024, allocations: 0 / 0.7426 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.622e-05/0.6025, allocations: 12.31 kB / 0.7426 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.094e-05/0.6026, allocations: 37.84 kB / 0.7427 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6026, allocations: 3.938 kB / 0.7427 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6026, allocations: 4 kB / 0.7427 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6026, allocations: 0 / 0.7427 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.6029, allocations: 223 kB / 0.7429 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.6031, allocations: 37 kB / 0.7429 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.6031, allocations: 14.89 kB / 0.7429 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.6031, allocations: 4 kB / 0.7429 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.6032, allocations: 35.02 kB / 0.743 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6032, allocations: 0 / 0.743 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001722/0.6034, allocations: 52.28 kB / 0.743 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.6034, allocations: 55.56 kB / 0.7431 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.169e-05/0.6034, allocations: 85 kB / 0.7432 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.6035, allocations: 30.53 kB / 0.7432 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.6036, allocations: 80.14 kB / 0.7433 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.6036, allocations: 13.25 kB / 0.7433 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.6036, allocations: 0 / 0.7433 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6037, allocations: 311.9 kB / 0.7436 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.6037, allocations: 7.219 kB / 0.7436 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.6038, allocations: 4.656 kB / 0.7436 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.6038, allocations: 9.25 kB / 0.7436 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6038, allocations: 0 / 0.7436 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001021/0.6039, allocations: 48.08 kB / 0.7436 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.6039, allocations: 8.922 kB / 0.7436 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6039, allocations: 0 / 0.7436 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6039, allocations: 4 kB / 0.7436 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.604, allocations: 8.812 kB / 0.7437 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.604, allocations: 1.172 kB / 0.7437 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.604, allocations: 0 / 0.7437 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.6041, allocations: 3.812 kB / 0.7437 GB, free: 25.5 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.43e-05/0.6041, allocations: 104.9 kB / 0.7438 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.6042, allocations: 1.266 kB / 0.7438 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.6043, allocations: 73.22 kB / 0.7438 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6043, allocations: 0 / 0.7438 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6043, allocations: 0.7969 kB / 0.7438 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6043, allocations: 0 / 0.7438 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.6045, allocations: 145.5 kB / 0.744 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.6045, allocations: 3.938 kB / 0.744 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.6045, allocations: 13.06 kB / 0.744 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6045, allocations: 0 / 0.744 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.6045, allocations: 0.8438 kB / 0.744 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6046, allocations: 0 / 0.744 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6046, allocations: 0 / 0.744 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001146/0.6047, allocations: 161.4 kB / 0.7441 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.6047, allocations: 77.62 kB / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.6047, allocations: 0.7969 kB / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.6048, allocations: 0 / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.6048, allocations: 9.141 kB / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.6048, allocations: 4.125 kB / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.428e-05/0.6049, allocations: 75.28 kB / 0.7443 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002192/0.6051, allocations: 7.969 kB / 0.7443 GB, free: 24.86 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001075/0.6052, allocations: 99.17 kB / 0.7444 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.6053, allocations: 20.7 kB / 0.7444 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6053, allocations: 0 / 0.7444 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.6053, allocations: 17.97 kB / 0.7444 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.6055, allocations: 3.281 kB / 0.7444 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.6057, allocations: 71.89 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.606, allocations: 0.7041 MB / 0.7452 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.606, allocations: 0 / 0.7452 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.001904/0.6079, allocations: 362.4 kB / 0.7455 GB, free: 23.94 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)