Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7814/0.7814, allocations: 141.8 MB / 149.1 MB, free: 1.938 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 189.2 kB / 182 MB, free: 1.387 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.3 MB / 436 MB, free: 6.137 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009392, allocations: 104.5 kB / 0.5071 GB, free: 2.82 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001787, allocations: 274.4 kB / 0.5885 GB, free: 47.83 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.229e-05, allocations: 4 kB / 0.6759 GB, free: 6.191 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3903, allocations: 82.76 MB / 0.7567 GB, free: 25.28 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.534, allocations: 107.3 MB / 0.8615 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.5343, allocations: 85.41 kB / 0.8616 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.002443/0.5368, allocations: 462.2 kB / 0.862 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.5368, allocations: 4 kB / 0.862 GB, free: 13.31 MB / 0.5419 GB 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.0003233/0.5372, allocations: 314.5 kB / 0.8623 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.5372, allocations: 8.031 kB / 0.8624 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.5373, allocations: 0 / 0.8624 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.5374, allocations: 163.1 kB / 0.8625 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.5374, allocations: 0 / 0.8625 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.5375, allocations: 3.906 kB / 0.8625 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.371e-05/0.5375, allocations: 4 kB / 0.8625 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.745e-05/0.5376, allocations: 29.7 kB / 0.8625 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5376, allocations: 0 / 0.8625 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.5376, allocations: 0 / 0.8625 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5376, allocations: 0 / 0.8625 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.5378, allocations: 126.2 kB / 0.8627 GB, free: 12.54 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.419e-05/0.5378, allocations: 26.55 kB / 0.8627 GB, free: 12.51 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.5378, allocations: 12.83 kB / 0.8627 GB, free: 12.49 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.5381, allocations: 85.17 kB / 0.8628 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5382, allocations: 38.55 kB / 0.8628 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.5382, allocations: 0 / 0.8628 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.5383, allocations: 33.61 kB / 0.8629 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.5384, allocations: 51.41 kB / 0.8629 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.949e-05/0.5384, allocations: 85 kB / 0.863 GB, free: 12.15 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.5384, allocations: 25.7 kB / 0.863 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.5385, allocations: 84.17 kB / 0.8631 GB, free: 12.04 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.5385, allocations: 4 kB / 0.8631 GB, free: 12.03 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.5385, allocations: 0 / 0.8631 GB, free: 12.03 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5387, allocations: 314.8 kB / 0.8634 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.5387, allocations: 4 kB / 0.8634 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.5387, allocations: 0 / 0.8634 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.5387, allocations: 0 / 0.8634 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5387, allocations: 3.938 kB / 0.8634 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.52e-05/0.5388, allocations: 37.66 kB / 0.8634 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5388, allocations: 12.03 kB / 0.8634 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5388, allocations: 0 / 0.8634 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.5389, allocations: 0 / 0.8634 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.639e-05/0.5389, allocations: 0 / 0.8634 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5389, allocations: 0 / 0.8634 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.5389, allocations: 0 / 0.8634 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.5389, allocations: 4 kB / 0.8635 GB, free: 11.65 MB / 0.5419 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 (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.678e-05/0.539, allocations: 101 kB / 0.8635 GB, free: 11.54 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.539, allocations: 3.906 kB / 0.8636 GB, free: 11.54 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.5391, allocations: 48.62 kB / 0.8636 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5391, allocations: 0 / 0.8636 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5391, allocations: 0 / 0.8636 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5392, allocations: 0 / 0.8636 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.577e-05/0.5392, allocations: 126.2 kB / 0.8637 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5392, allocations: 4 kB / 0.8637 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.5393, allocations: 3.984 kB / 0.8637 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5393, allocations: 0 / 0.8637 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.5393, allocations: 3.906 kB / 0.8637 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5393, allocations: 4 kB / 0.8637 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5393, allocations: 4.031 kB / 0.8637 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.312e-05/0.5394, allocations: 49.14 kB / 0.8638 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.5394, allocations: 77.11 kB / 0.8639 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.5395, allocations: 7.922 kB / 0.8639 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.5395, allocations: 7.844 kB / 0.8639 GB, free: 11.13 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.5395, allocations: 4 kB / 0.8639 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.5395, allocations: 0 / 0.8639 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.772e-05/0.5395, allocations: 83.31 kB / 0.864 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001958/0.5397, allocations: 15.94 kB / 0.864 GB, free: 11.03 MB / 0.5419 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 (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.0002429/0.54, allocations: 119.2 kB / 0.8641 GB, free: 10.9 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 5.243e-05/0.54, allocations: 4 kB / 0.8641 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.54, allocations: 0 / 0.8641 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.5401, allocations: 4 kB / 0.8641 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.205e-05/0.5402, allocations: 3.938 kB / 0.8641 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001439/0.5403, allocations: 44.02 kB / 0.8641 GB, free: 10.82 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5406, allocations: 0.6841 MB / 0.8648 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of SimCode: time 2.21e-07/0.5406, allocations: 0 / 0.8648 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of Templates: time 0.002121/0.5427, allocations: 413 kB / 0.8652 GB, free: 9.711 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)