Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [: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.002811/0.002811, allocations: 182.5 kB / 7.458 MB, free: 2.52 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.7 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.262/1.262, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009699/0.00097, allocations: 108.2 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.775e-06, allocations: 2.531 kB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.644, allocations: 113 MB / 0.7436 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.6443, allocations: 82.64 kB / 0.7436 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01913/0.6634, allocations: 7.033 MB / 0.7505 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6635, allocations: 1.312 kB / 0.7505 GB, free: 10.39 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005057/0.664, allocations: 387.9 kB / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.664, allocations: 9.188 kB / 0.7509 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.6641, allocations: 80.98 kB / 0.751 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.6643, allocations: 241.6 kB / 0.7512 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.6644, allocations: 155.1 kB / 0.7513 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.6645, allocations: 157.1 kB / 0.7515 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.775e-05/0.6646, allocations: 150.6 kB / 0.7516 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.737e-05/0.6646, allocations: 103 kB / 0.7517 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.6647, allocations: 83.12 kB / 0.7518 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.6647, allocations: 151.4 kB / 0.752 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/0.6648, allocations: 155.9 kB / 0.7521 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.6651, allocations: 434.3 kB / 0.7525 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.6652, allocations: 171.1 kB / 0.7527 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.6652, allocations: 85.44 kB / 0.7528 GB, free: 24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.6653, allocations: 75.28 kB / 0.7528 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.6653, allocations: 111.7 kB / 0.7529 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6653, allocations: 0 / 0.7529 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.081e-05/0.6654, allocations: 34.11 kB / 0.753 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.6655, allocations: 53.23 kB / 0.753 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.6656, allocations: 107.5 kB / 0.7531 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.6656, allocations: 25.7 kB / 0.7532 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.6656, allocations: 82.14 kB / 0.7532 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.6656, allocations: 4 kB / 0.7532 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.6656, allocations: 0 / 0.7532 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6658, allocations: 315.8 kB / 0.7535 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-06/0.6658, allocations: 2.562 kB / 0.7535 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.6658, allocations: 24.41 kB / 0.7536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.666, allocations: 18.48 kB / 0.7536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.666, allocations: 4 kB / 0.7536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002035/0.6662, allocations: 66.3 kB / 0.7536 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.6662, allocations: 3.969 kB / 0.7537 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6662, allocations: 1.281 kB / 0.7537 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6663, allocations: 1.312 kB / 0.7537 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.6663, allocations: 8.703 kB / 0.7537 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.6663, allocations: 0 / 0.7537 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.6664, allocations: 2.594 kB / 0.7537 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.6664, allocations: 3.75 kB / 0.7537 GB, free: 23.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.0001056/0.6666, allocations: 185.5 kB / 0.7538 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.6666, allocations: 108.8 kB / 0.7539 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.6667, allocations: 108.8 kB / 0.7541 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/0.6668, allocations: 177.5 kB / 0.7542 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-05/0.6668, allocations: 180.2 kB / 0.7544 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.932e-05/0.6669, allocations: 181.6 kB / 0.7546 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.6671, allocations: 387 kB / 0.7549 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/0.6672, allocations: 106.2 kB / 0.755 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.6672, allocations: 104.4 kB / 0.7551 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.647e-05/0.6673, allocations: 177.5 kB / 0.7553 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.6674, allocations: 182.8 kB / 0.7555 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-05/0.6674, allocations: 184 kB / 0.7557 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.877e-05/0.6675, allocations: 181 kB / 0.7558 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001399/0.6677, allocations: 307.4 kB / 0.7561 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.6677, allocations: 185.8 kB / 0.7563 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.6678, allocations: 189.5 kB / 0.7565 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.6679, allocations: 101 kB / 0.7566 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.668, allocations: 177.9 kB / 0.7567 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.668, allocations: 114.2 kB / 0.7569 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.644e-05/0.6681, allocations: 90.47 kB / 0.7569 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005432/0.6686, allocations: 104 kB / 0.757 GB, free: 19.59 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 (0): * Single equations (assignments): 0 * 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.0008826/0.6695, allocations: 470.9 kB / 0.7575 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.706e-05/0.6696, allocations: 14.88 kB / 0.7575 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6696, allocations: 0 / 0.7575 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.6696, allocations: 0 / 0.7575 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.6699, allocations: 0.526 MB / 0.758 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.6701, allocations: 124.3 kB / 0.7581 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.6704, allocations: 0.6933 MB / 0.7588 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.6704, allocations: 0 / 0.7588 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.005543/0.6759, allocations: 2.23 MB / 0.761 GB, free: 17.51 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)