Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.705/2.706, allocations: 248.6 MB / 255.9 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 183.6 kB / 315.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.265/2.265, allocations: 205.1 MB / 0.5658 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002535/0.002535, allocations: 101.5 kB / 0.67 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.6018/0.6044, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.9201, allocations: 106.3 MB / 0.8835 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8247/1.745, allocations: 131.2 MB / 1.012 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004266/1.745, allocations: 77.75 kB / 1.012 GB, free: 8.809 MB / 0.6355 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.005722/1.751, allocations: 0.7458 MB / 1.012 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.47e-05/1.751, allocations: 15.94 kB / 1.012 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/1.751, allocations: 3.906 kB / 1.012 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/1.752, allocations: 159.1 kB / 1.013 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.752, allocations: 0 / 1.013 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/1.752, allocations: 7.938 kB / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.814e-05/1.752, allocations: 0 / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.995e-05/1.752, allocations: 30.39 kB / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.752, allocations: 0 / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.752, allocations: 0 / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.752, allocations: 0 / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/1.752, allocations: 130.1 kB / 1.013 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.924e-05/1.752, allocations: 18.61 kB / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/1.752, allocations: 12.36 kB / 1.013 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/1.753, allocations: 93.12 kB / 1.013 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/1.753, allocations: 41.12 kB / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.557e-06/1.753, allocations: 0 / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000271/1.754, allocations: 25.7 kB / 1.013 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.754, allocations: 55.41 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.379e-05/1.754, allocations: 85 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/1.754, allocations: 29.73 kB / 1.013 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/1.754, allocations: 80.14 kB / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/1.754, allocations: 7.406 kB / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.754, allocations: 0 / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.754, allocations: 314.8 kB / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/1.754, allocations: 0 / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/1.754, allocations: 4 kB / 1.013 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/1.754, allocations: 0 / 1.013 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.754, allocations: 0 / 1.013 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001705/1.754, allocations: 39.08 kB / 1.013 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.754, allocations: 8 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.754, allocations: 0 / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.754, allocations: 0 / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/1.754, allocations: 0 / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/1.754, allocations: 0.8594 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/1.755, allocations: 3.906 kB / 1.014 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/1.755, allocations: 4 kB / 1.014 GB, free: 6.789 MB / 0.6355 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 0.0001144/1.755, allocations: 105 kB / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/1.755, allocations: 4.031 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/1.755, allocations: 47.58 kB / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.755, allocations: 0 / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.755, allocations: 0 / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.755, allocations: 0 / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/1.755, allocations: 142.1 kB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.755, allocations: 0 / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/1.755, allocations: 3.938 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.755, allocations: 0 / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.755, allocations: 0 / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.755, allocations: 4.031 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.755, allocations: 4 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001925/1.756, allocations: 59.91 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004133/1.756, allocations: 437 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/1.756, allocations: 77.11 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/1.756, allocations: 3.984 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/1.756, allocations: 7.844 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/1.756, allocations: 0 / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/1.756, allocations: 0 / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.165e-05/1.756, allocations: 77.84 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001935/1.758, allocations: 23.31 kB / 1.014 GB, free: 5.723 MB / 0.6355 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.0005157/1.759, allocations: 119.2 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001105/1.759, allocations: 4 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.759, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/1.759, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/1.759, allocations: 8.125 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/1.759, allocations: 51.84 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.76, allocations: 0.6802 MB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/1.76, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB