Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [: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.0009482/0.0009482, allocations: 185 kB / 7.799 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.447/0.447, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 221.4 MB / 342.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 101.2 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.052e-05/1.054e-05, allocations: 8 kB / 493.9 MB, free: 8.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3396, allocations: 72.3 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.4444, allocations: 100.2 MB / 0.6507 GB, free: 9.914 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4447, allocations: 76.66 kB / 0.6508 GB, free: 9.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002003/0.4467, allocations: 441.5 kB / 0.6512 GB, free: 9.422 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.4468, allocations: 4 kB / 0.6512 GB, free: 9.418 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002249/0.447, allocations: 319.4 kB / 0.6515 GB, free: 9.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.447, allocations: 8.594 kB / 0.6515 GB, free: 9.055 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.4471, allocations: 3.906 kB / 0.6515 GB, free: 9.051 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.4472, allocations: 164.1 kB / 0.6517 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.4472, allocations: 3.938 kB / 0.6517 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.4472, allocations: 0 / 0.6517 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.481e-05/0.4472, allocations: 8.5 kB / 0.6517 GB, free: 8.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.187e-05/0.4473, allocations: 30.44 kB / 0.6517 GB, free: 8.805 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.4473, allocations: 0.7188 kB / 0.6517 GB, free: 8.805 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.4473, allocations: 0 / 0.6517 GB, free: 8.805 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4473, allocations: 0.5 kB / 0.6517 GB, free: 8.805 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.4475, allocations: 131.8 kB / 0.6519 GB, free: 8.645 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.94e-05/0.4475, allocations: 22.61 kB / 0.6519 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.4475, allocations: 4.859 kB / 0.6519 GB, free: 8.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.4477, allocations: 86 kB / 0.652 GB, free: 8.504 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4478, allocations: 35.69 kB / 0.652 GB, free: 8.461 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.4478, allocations: 3.938 kB / 0.652 GB, free: 8.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001457/0.4479, allocations: 29.7 kB / 0.652 GB, free: 8.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.448, allocations: 52.22 kB / 0.6521 GB, free: 8.359 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.018e-05/0.448, allocations: 89.73 kB / 0.6522 GB, free: 8.266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.448, allocations: 25.7 kB / 0.6522 GB, free: 8.234 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.4481, allocations: 81.08 kB / 0.6523 GB, free: 8.152 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.4481, allocations: 3.906 kB / 0.6523 GB, free: 8.148 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.4481, allocations: 1.938 kB / 0.6523 GB, free: 8.148 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4482, allocations: 314.8 kB / 0.6526 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-06/0.4483, allocations: 4 kB / 0.6526 GB, free: 7.828 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.4483, allocations: 0 / 0.6526 GB, free: 7.828 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.4483, allocations: 0.9688 kB / 0.6526 GB, free: 7.828 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4483, allocations: 0 / 0.6526 GB, free: 7.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.913e-05/0.4484, allocations: 34.42 kB / 0.6526 GB, free: 7.789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4484, allocations: 10.53 kB / 0.6526 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4484, allocations: 0 / 0.6526 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4484, allocations: 3.984 kB / 0.6526 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.822e-05/0.4485, allocations: 3.25 kB / 0.6526 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4485, allocations: 1.484 kB / 0.6526 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.4485, allocations: 0.9375 kB / 0.6526 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.4485, allocations: 7.906 kB / 0.6527 GB, free: 7.77 MB / 474.7 MB 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 (1): * Single equations (assignments): 1 * 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.05e-05/0.4486, allocations: 101.6 kB / 0.6527 GB, free: 7.664 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.4486, allocations: 0.75 kB / 0.6527 GB, free: 7.664 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.4487, allocations: 33.33 kB / 0.6528 GB, free: 7.625 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4487, allocations: 7.922 kB / 0.6528 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4487, allocations: 0.5312 kB / 0.6528 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4487, allocations: 0.75 kB / 0.6528 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.634e-05/0.4488, allocations: 134.2 kB / 0.6529 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4488, allocations: 0.9062 kB / 0.6529 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.4488, allocations: 0 / 0.6529 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4488, allocations: 0 / 0.6529 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.4488, allocations: 6.781 kB / 0.6529 GB, free: 7.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4488, allocations: 4 kB / 0.6529 GB, free: 7.441 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4488, allocations: 0.6562 kB / 0.6529 GB, free: 7.441 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.173e-05/0.4489, allocations: 58.84 kB / 0.653 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.449, allocations: 77.11 kB / 0.6531 GB, free: 7.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.449, allocations: 2.656 kB / 0.6531 GB, free: 7.273 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-06/0.449, allocations: 0 / 0.6531 GB, free: 7.273 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.4491, allocations: 5 kB / 0.6531 GB, free: 7.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.4491, allocations: 0 / 0.6531 GB, free: 7.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.187e-05/0.4491, allocations: 75.81 kB / 0.6531 GB, free: 7.195 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.4493, allocations: 24.67 kB / 0.6532 GB, free: 7.172 MB / 474.7 MB 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 (1): * Single equations (assignments): 1 * 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.0002241/0.4496, allocations: 118.2 kB / 0.6533 GB, free: 7.047 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.473e-05/0.4496, allocations: 12.58 kB / 0.6533 GB, free: 7.035 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4496, allocations: 0.5 kB / 0.6533 GB, free: 7.035 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/0.4496, allocations: 4.562 kB / 0.6533 GB, free: 7.031 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.539e-05/0.4497, allocations: 5.938 kB / 0.6533 GB, free: 7.027 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001368/0.4499, allocations: 46.03 kB / 0.6533 GB, free: 6.961 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.4501, allocations: 0.6802 MB / 0.654 GB, free: 6.254 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4501, allocations: 4 kB / 0.654 GB, free: 6.25 MB / 474.7 MB Notification: Performance of Templates: time 0.002043/0.4522, allocations: 414 kB / 0.6544 GB, free: 5.887 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)