Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 3.082/3.082, allocations: 248.6 MB / 255.9 MB, free: 7.199 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.002707/0.002707, allocations: 186.5 kB / 315.1 MB, free: 4.266 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.319/2.319, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002573/0.002573, allocations: 90.58 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.541/0.5436, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.8095, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7162/1.526, allocations: 131.9 MB / 1.012 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/1.526, allocations: 72.14 kB / 1.012 GB, free: 8.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.008287/1.535, allocations: 1.069 MB / 1.013 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/1.535, allocations: 12 kB / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/1.535, allocations: 4 kB / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/1.535, allocations: 167 kB / 1.014 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.535, allocations: 3.938 kB / 1.014 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/1.535, allocations: 4 kB / 1.014 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001184/1.535, allocations: 7.25 kB / 1.014 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/1.535, allocations: 37.56 kB / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.535, allocations: 0 / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/1.535, allocations: 3.984 kB / 1.014 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/1.535, allocations: 0 / 1.014 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/1.536, allocations: 252.4 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.536, allocations: 26.2 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/1.536, allocations: 8.922 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/1.537, allocations: 88.22 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/1.537, allocations: 37.19 kB / 1.014 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.267e-06/1.537, allocations: 0 / 1.014 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/1.537, allocations: 41.44 kB / 1.014 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.537, allocations: 51.41 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/1.538, allocations: 96.97 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/1.538, allocations: 25.7 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/1.538, allocations: 87.11 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/1.538, allocations: 3.938 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-06/1.538, allocations: 0 / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002129/1.538, allocations: 326.4 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/1.538, allocations: 0 / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/1.538, allocations: 4 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.961e-05/1.538, allocations: 11.97 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.538, allocations: 0 / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002455/1.539, allocations: 37.64 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/1.539, allocations: 8 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.539, allocations: 0 / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.539, allocations: 0 / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/1.539, allocations: 11.98 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.539, allocations: 4.031 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/1.539, allocations: 15.89 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/1.539, allocations: 3.938 kB / 1.015 GB, free: 5.754 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 (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 0.0001231/1.539, allocations: 104.9 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/1.539, allocations: 4 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/1.54, allocations: 57.16 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.54, allocations: 4.031 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.54, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.54, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/1.54, allocations: 133.7 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.54, allocations: 0 / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/1.54, allocations: 15.98 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/1.54, allocations: 0 / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.54, allocations: 0 / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.54, allocations: 4 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/1.54, allocations: 3.906 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003206/1.541, allocations: 142.5 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005118/1.541, allocations: 0.5068 MB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/1.541, allocations: 81.17 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/1.542, allocations: 0 / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/1.542, allocations: 19.33 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/1.542, allocations: 0 / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/1.542, allocations: 0 / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.482e-05/1.542, allocations: 79.28 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001961/1.544, allocations: 22.8 kB / 1.016 GB, free: 4.516 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 (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.0005207/1.545, allocations: 127.5 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001612/1.545, allocations: 18.98 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.545, allocations: 4.062 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/1.545, allocations: 7.062 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/1.545, allocations: 5.875 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/1.546, allocations: 67.08 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/1.546, allocations: 0.6841 MB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of SimCode: time 2.725e-06/1.546, allocations: 0 / 1.017 GB, free: 3.555 MB / 0.6355 GB