Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.468/2.468, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001686/0.001686, allocations: 182.4 kB / 315.1 MB, free: 4.312 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.158/2.158, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001298/0.001298, allocations: 90.7 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.536/0.5373, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.7782, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7016/1.48, allocations: 134.3 MB / 1.015 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/1.48, allocations: 87.38 kB / 1.015 GB, free: 5.91 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.03876/1.519, allocations: 7.593 MB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/1.519, allocations: 8 kB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/1.519, allocations: 87.22 kB / 1.022 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/1.52, allocations: 234.4 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.52, allocations: 150.6 kB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.52, allocations: 158.1 kB / 1.023 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/1.52, allocations: 162.4 kB / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/1.52, allocations: 101 kB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/1.52, allocations: 79.28 kB / 1.023 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/1.52, allocations: 150.6 kB / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/1.521, allocations: 150.6 kB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/1.521, allocations: 429.4 kB / 1.024 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/1.521, allocations: 177.1 kB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/1.521, allocations: 83.77 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/1.521, allocations: 75.28 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.679e-05/1.522, allocations: 105.8 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 3.277e-06/1.522, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001646/1.522, allocations: 33.61 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.522, allocations: 51.41 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/1.522, allocations: 108.5 kB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.522, allocations: 25.7 kB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/1.522, allocations: 84.14 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-06/1.522, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/1.522, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.522, allocations: 318.2 kB / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/1.522, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.432e-05/1.523, allocations: 30.56 kB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/1.523, allocations: 19.66 kB / 1.025 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.523, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006156/1.524, allocations: 57.52 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/1.524, allocations: 10.66 kB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.524, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.524, allocations: 3.938 kB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/1.524, allocations: 11.84 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.524, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/1.524, allocations: 3.984 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/1.524, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001808/1.525, allocations: 180.2 kB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/1.525, allocations: 108.9 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/1.525, allocations: 104.1 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/1.525, allocations: 184.2 kB / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/1.525, allocations: 180.2 kB / 1.026 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/1.525, allocations: 183.4 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/1.526, allocations: 381.7 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.237e-05/1.526, allocations: 108.9 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/1.526, allocations: 105 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/1.526, allocations: 183.6 kB / 1.027 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.526, allocations: 181.5 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001279/1.526, allocations: 184.3 kB / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000122/1.527, allocations: 180.3 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000291/1.527, allocations: 306.7 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006333/1.527, allocations: 0.6751 MB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/1.528, allocations: 185.6 kB / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/1.528, allocations: 180.3 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/1.528, allocations: 112.9 kB / 1.029 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.528, allocations: 180.3 kB / 1.029 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/1.528, allocations: 101 kB / 1.029 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000107/1.528, allocations: 86.97 kB / 1.029 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002834/1.531, allocations: 129.6 kB / 1.029 GB, free: 8.449 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.001757/1.533, allocations: 484.3 kB / 1.029 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001196/1.533, allocations: 11.94 kB / 1.029 GB, free: 8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.533, allocations: 0 / 1.029 GB, free: 8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/1.533, allocations: 192 / 1.029 GB, free: 8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/1.534, allocations: 0.5258 MB / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/1.534, allocations: 127.2 kB / 1.03 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/1.534, allocations: 0.688 MB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.534, allocations: 0 / 1.031 GB, free: 6.609 MB / 0.6511 GB