Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.43/1.43, allocations: 285.5 MB / 292.8 MB, free: 9.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 193.2 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 0.6195 GB, free: 2.867 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009049, allocations: 87.42 kB / 0.7326 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4959/0.4968, allocations: 121.4 MB / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.6971, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/1.238, allocations: 137.3 MB / 1.098 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.238, allocations: 72.2 kB / 1.098 GB, free: 43.96 MB / 0.7136 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.003196/1.241, allocations: 1.072 MB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/1.241, allocations: 7.688 kB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/1.241, allocations: 3.906 kB / 1.099 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.41e-05/1.242, allocations: 166.8 kB / 1.099 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/1.242, allocations: 0 / 1.099 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/1.242, allocations: 6.016 kB / 1.099 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.838e-05/1.242, allocations: 12.75 kB / 1.099 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.758e-05/1.242, allocations: 35.62 kB / 1.099 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/1.242, allocations: 0 / 1.099 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/1.242, allocations: 4 kB / 1.099 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.242, allocations: 3.906 kB / 1.099 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/1.242, allocations: 242.5 kB / 1.099 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/1.242, allocations: 21.02 kB / 1.099 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/1.242, allocations: 18.91 kB / 1.099 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/1.242, allocations: 84.86 kB / 1.1 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/1.242, allocations: 36.61 kB / 1.1 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.242, allocations: 0.75 kB / 1.1 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/1.243, allocations: 43.67 kB / 1.1 GB, free: 42.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/1.243, allocations: 51.41 kB / 1.1 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/1.243, allocations: 91.5 kB / 1.1 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/1.243, allocations: 25.7 kB / 1.1 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/1.243, allocations: 87.81 kB / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/1.243, allocations: 10.47 kB / 1.1 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/1.243, allocations: 0 / 1.1 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/1.243, allocations: 312.4 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/1.243, allocations: 6.375 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.141e-05/1.243, allocations: 10.41 kB / 1.1 GB, free: 42.31 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/1.243, allocations: 3.938 kB / 1.1 GB, free: 42.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/1.243, allocations: 0 / 1.1 GB, free: 42.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.05e-05/1.243, allocations: 49.83 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/1.243, allocations: 3.875 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/1.243, allocations: 3.938 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/1.243, allocations: 3.938 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/1.243, allocations: 18.69 kB / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.696e-06/1.243, allocations: 0 / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/1.243, allocations: 7.625 kB / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/1.243, allocations: 3.047 kB / 1.1 GB, free: 42.26 MB / 0.7136 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 4.305e-05/1.243, allocations: 101 kB / 1.1 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/1.243, allocations: 7.656 kB / 1.1 GB, free: 42.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/1.243, allocations: 52 kB / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.243, allocations: 192 / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.243, allocations: 0 / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.243, allocations: 3.984 kB / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.067e-05/1.243, allocations: 142.2 kB / 1.101 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/1.243, allocations: 0 / 1.101 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/1.243, allocations: 12 kB / 1.101 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/1.244, allocations: 4.031 kB / 1.101 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/1.244, allocations: 3.375 kB / 1.101 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.244, allocations: 0 / 1.101 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.244, allocations: 3.188 kB / 1.101 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.187e-05/1.244, allocations: 134.1 kB / 1.101 GB, free: 41.81 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000149/1.244, allocations: 0.5076 MB / 1.101 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/1.244, allocations: 84.2 kB / 1.101 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/1.244, allocations: 3.844 kB / 1.101 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/1.244, allocations: 8.969 kB / 1.101 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/1.244, allocations: 3.797 kB / 1.101 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/1.244, allocations: 3.875 kB / 1.101 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.997e-05/1.244, allocations: 84.53 kB / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007615/1.245, allocations: 14.84 kB / 1.101 GB, free: 57.12 MB / 0.7292 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.0001903/1.245, allocations: 123.6 kB / 1.102 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.168e-05/1.245, allocations: 17.19 kB / 1.102 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/1.245, allocations: 0 / 1.102 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/1.245, allocations: 9.281 kB / 1.102 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/1.245, allocations: 11.62 kB / 1.102 GB, free: 57.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/1.245, allocations: 59.73 kB / 1.102 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/1.246, allocations: 0.6912 MB / 1.102 GB, free: 56.24 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/1.246, allocations: 0 / 1.102 GB, free: 56.24 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)