Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001114/0.001114, allocations: 181.3 kB / 366.3 MB, free: 2.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 0.6256 GB, free: 7.473 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009271/0.0009275, allocations: 83.94 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3106/0.3116, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/1.065, allocations: 116.3 MB / 0.9727 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/1.247, allocations: 137.6 MB / 1.107 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/1.248, allocations: 77.27 kB / 1.107 GB, free: 12.78 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002647/1.25, allocations: 0.7406 MB / 1.108 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.25, allocations: 12 kB / 1.108 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/1.25, allocations: 2.094 kB / 1.108 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.25, allocations: 164.3 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.251, allocations: 9.891 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/1.251, allocations: 0 / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.362e-05/1.251, allocations: 6.516 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.05e-05/1.251, allocations: 29.69 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.251, allocations: 2.625 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/1.251, allocations: 0 / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/1.251, allocations: 0 / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/1.251, allocations: 126.2 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.728e-05/1.251, allocations: 18.61 kB / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/1.251, allocations: 5.641 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/1.251, allocations: 89.66 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.251, allocations: 39 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.251, allocations: 1.188 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/1.251, allocations: 36.33 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/1.251, allocations: 56.64 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.668e-05/1.251, allocations: 85 kB / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/1.251, allocations: 25.7 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/1.251, allocations: 80.67 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/1.251, allocations: 1.469 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-06/1.251, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.252, allocations: 310.8 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/1.252, allocations: 4.719 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-06/1.252, allocations: 0.5938 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/1.252, allocations: 0.6875 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.252, allocations: 3.906 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.617e-05/1.252, allocations: 38.27 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.252, allocations: 8.719 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.252, allocations: 0 / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.252, allocations: 7.859 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.535e-05/1.252, allocations: 0 / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/1.252, allocations: 0.875 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/1.252, allocations: 4 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/1.252, allocations: 0.7812 kB / 1.109 GB, free: 10.71 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 (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.815e-05/1.252, allocations: 106.7 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/1.252, allocations: 3.906 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/1.252, allocations: 37.34 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.252, allocations: 0.7188 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.252, allocations: 0 / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.252, allocations: 4.5 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/1.252, allocations: 126.2 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.252, allocations: 0.7188 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/1.252, allocations: 3.125 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.252, allocations: 3.906 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/1.252, allocations: 0 / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.252, allocations: 4.531 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.252, allocations: 0.6875 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.264e-05/1.252, allocations: 58.44 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001888/1.253, allocations: 447.8 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/1.253, allocations: 77.11 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/1.253, allocations: 0 / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-06/1.253, allocations: 0.5312 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/1.253, allocations: 4.219 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/1.253, allocations: 0 / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.184e-05/1.253, allocations: 77.88 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007473/1.253, allocations: 23.84 kB / 1.11 GB, free: 9.66 MB / 0.7136 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.0003073/1.254, allocations: 123.2 kB / 1.11 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.872e-05/1.254, allocations: 4 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.254, allocations: 0 / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.233e-06/1.254, allocations: 4 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.497e-05/1.254, allocations: 3.938 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/1.254, allocations: 52 kB / 1.11 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/1.254, allocations: 0.6841 MB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.254, allocations: 5.25 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)