Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.149/2.149, allocations: 253.1 MB / 260.4 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001603, allocations: 197.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 83.39 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.168e-05/1.216e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2235, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6404/0.864, allocations: 131.2 MB / 1.016 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.8643, allocations: 75.02 kB / 1.016 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002795/0.8671, allocations: 445 kB / 1.017 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8671, allocations: 0 / 1.017 GB, free: 6.77 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.000277/0.8674, allocations: 324.6 kB / 1.017 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.8675, allocations: 12.03 kB / 1.017 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.8675, allocations: 3.906 kB / 1.017 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8677, allocations: 160.1 kB / 1.017 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.8677, allocations: 0 / 1.017 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.8677, allocations: 0 / 1.017 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.516e-05/0.8678, allocations: 1.5 kB / 1.017 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.298e-05/0.8678, allocations: 33.64 kB / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8679, allocations: 0 / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.8679, allocations: 0 / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8679, allocations: 0 / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.868, allocations: 134.1 kB / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.8681, allocations: 21.23 kB / 1.017 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.8681, allocations: 8.359 kB / 1.017 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.8684, allocations: 89.09 kB / 1.017 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.8684, allocations: 30.56 kB / 1.017 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.597e-06/0.8685, allocations: 4 kB / 1.017 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001685/0.8686, allocations: 33.64 kB / 1.017 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.8687, allocations: 51.41 kB / 1.018 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.699e-05/0.8687, allocations: 89 kB / 1.018 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.8688, allocations: 25.7 kB / 1.018 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.8688, allocations: 80.14 kB / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.8689, allocations: 7.594 kB / 1.018 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.8689, allocations: 0 / 1.018 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.869, allocations: 310.8 kB / 1.018 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-06/0.869, allocations: 4.031 kB / 1.018 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.8691, allocations: 7.984 kB / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.8691, allocations: 0 / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8691, allocations: 0 / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.726e-05/0.8692, allocations: 29.7 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8692, allocations: 4 kB / 1.018 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8693, allocations: 4 kB / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8693, allocations: 0 / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.316e-05/0.8693, allocations: 3.938 kB / 1.018 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.8694, allocations: 4.094 kB / 1.018 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.8694, allocations: 3.906 kB / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.8694, allocations: 4.812 kB / 1.018 GB, free: 5.117 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 7.841e-05/0.8695, allocations: 109 kB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.8695, allocations: 0 / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.8696, allocations: 39.91 kB / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8697, allocations: 0 / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8697, allocations: 0 / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8697, allocations: 4.031 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.728e-05/0.8698, allocations: 130.1 kB / 1.018 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8698, allocations: 4.812 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.8698, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.8698, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.8699, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8699, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8699, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001255/0.87, allocations: 76.34 kB / 1.018 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.8701, allocations: 77.11 kB / 1.018 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.8701, allocations: 0 / 1.018 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.8701, allocations: 0 / 1.018 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.8701, allocations: 0 / 1.018 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.8701, allocations: 4 kB / 1.018 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.465e-05/0.8702, allocations: 79.22 kB / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002808/0.8705, allocations: 15.94 kB / 1.019 GB, free: 4.512 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.000291/0.8708, allocations: 123.2 kB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.8708, allocations: 4 kB / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8709, allocations: 0 / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.8709, allocations: 7.938 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.871, allocations: 12.02 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/0.8712, allocations: 54.47 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.8715, allocations: 0.6763 MB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.8715, allocations: 0 / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of Templates: time 0.002898/0.8744, allocations: 417.1 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB