Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.7362/0.7362, allocations: 141.8 MB / 149.1 MB, free: 0.9727 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.001125/0.001125, allocations: 181.6 kB / 182 MB, free: 13.12 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.415/1.415, allocations: 221.3 MB / 436 MB, free: 5.887 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.000933/0.000933, allocations: 97.22 kB / 0.507 GB, free: 19.02 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 279.1 kB / 0.5885 GB, free: 7.059 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.706e-06, allocations: 2.906 kB / 0.6759 GB, free: 140 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1658, allocations: 82.78 MB / 0.7568 GB, free: 89.28 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.2856, allocations: 108 MB / 0.8622 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.2859, allocations: 71.95 kB / 0.8623 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.003038/0.2889, allocations: 0.7519 MB / 0.863 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.289, allocations: 0 / 0.863 GB, free: 12.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003437/0.2893, allocations: 342.4 kB / 0.8634 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2894, allocations: 12.97 kB / 0.8634 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.2894, allocations: 4 kB / 0.8634 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2895, allocations: 170.9 kB / 0.8635 GB, free: 11.69 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2896, allocations: 0 / 0.8635 GB, free: 11.69 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2896, allocations: 0 / 0.8635 GB, free: 11.69 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.392e-05/0.2896, allocations: 12 kB / 0.8636 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.796e-05/0.2897, allocations: 33.69 kB / 0.8636 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2897, allocations: 0 / 0.8636 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2897, allocations: 0 / 0.8636 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2898, allocations: 0 / 0.8636 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.2901, allocations: 245.4 kB / 0.8638 GB, free: 11.36 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.2902, allocations: 34.55 kB / 0.8639 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.2903, allocations: 12.92 kB / 0.8639 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.2904, allocations: 85.11 kB / 0.864 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2905, allocations: 34.55 kB / 0.864 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2905, allocations: 3.938 kB / 0.864 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/0.2907, allocations: 41.61 kB / 0.864 GB, free: 11.11 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2907, allocations: 51.41 kB / 0.8641 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.2908, allocations: 92.98 kB / 0.8642 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2908, allocations: 29.73 kB / 0.8642 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.2908, allocations: 92.12 kB / 0.8643 GB, free: 10.82 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2909, allocations: 3.906 kB / 0.8643 GB, free: 10.82 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2909, allocations: 3.938 kB / 0.8643 GB, free: 10.81 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.291, allocations: 310.8 kB / 0.8646 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.291, allocations: 8 kB / 0.8646 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.291, allocations: 4 kB / 0.8646 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.2911, allocations: 0 / 0.8646 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2911, allocations: 4.062 kB / 0.8646 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.099e-05/0.2912, allocations: 49.59 kB / 0.8646 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.2912, allocations: 4 kB / 0.8647 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2912, allocations: 4 kB / 0.8647 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2912, allocations: 0 / 0.8647 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.2913, allocations: 15.98 kB / 0.8647 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2913, allocations: 0 / 0.8647 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.2914, allocations: 8.031 kB / 0.8647 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2914, allocations: 4 kB / 0.8647 GB, free: 10.39 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 (2): * Single equations (assignments): 2 * 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.921e-05/0.2915, allocations: 104.9 kB / 0.8648 GB, free: 10.29 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.2915, allocations: 3.906 kB / 0.8648 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2916, allocations: 48.94 kB / 0.8648 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2916, allocations: 4 kB / 0.8648 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2916, allocations: 4.031 kB / 0.8648 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2917, allocations: 3.984 kB / 0.8648 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2918, allocations: 138.1 kB / 0.865 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2918, allocations: 0 / 0.865 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.2919, allocations: 11.98 kB / 0.865 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2919, allocations: 0 / 0.865 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2919, allocations: 0 / 0.865 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2919, allocations: 0 / 0.865 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2919, allocations: 8 kB / 0.865 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001227/0.292, allocations: 139.4 kB / 0.8651 GB, free: 9.875 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.2921, allocations: 85.03 kB / 0.8652 GB, free: 9.773 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2921, allocations: 4 kB / 0.8652 GB, free: 9.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.2922, allocations: 4 kB / 0.8652 GB, free: 9.766 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2922, allocations: 12.02 kB / 0.8652 GB, free: 9.754 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2922, allocations: 0 / 0.8652 GB, free: 9.754 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.267e-05/0.2923, allocations: 79.28 kB / 0.8653 GB, free: 9.676 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002232/0.2925, allocations: 12 kB / 0.8653 GB, free: 9.664 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 (2): * Single equations (assignments): 2 * 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.0002402/0.2928, allocations: 127.1 kB / 0.8654 GB, free: 9.527 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.737e-05/0.2928, allocations: 16 kB / 0.8655 GB, free: 9.512 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2929, allocations: 0 / 0.8655 GB, free: 9.512 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.2929, allocations: 8 kB / 0.8655 GB, free: 9.504 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.2931, allocations: 7.844 kB / 0.8655 GB, free: 9.496 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.2933, allocations: 55.92 kB / 0.8655 GB, free: 9.418 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.2936, allocations: 0.6959 MB / 0.8662 GB, free: 8.695 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.2936, allocations: 0 / 0.8662 GB, free: 8.695 MB / 0.5419 GB Notification: Performance of Templates: time 0.002565/0.2962, allocations: 0.6161 MB / 0.8668 GB, free: 8.086 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)