Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.285/2.285, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001803/0.001802, allocations: 191.4 kB / 315.1 MB, free: 4.281 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.017/2.017, allocations: 205.2 MB / 0.5658 GB, free: 384 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.002094/0.002094, allocations: 94.08 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5891/0.5913, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.8408, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6518/1.493, allocations: 141.7 MB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.493, allocations: 81.02 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.1083/1.601, allocations: 22.92 MB / 1.044 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.601, allocations: 12 kB / 1.044 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/1.603, allocations: 222.3 kB / 1.045 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/1.605, allocations: 0.5068 MB / 1.045 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/1.605, allocations: 15.91 kB / 1.045 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/1.605, allocations: 28 kB / 1.045 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001005/1.606, allocations: 283.4 kB / 1.045 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.607, allocations: 361.5 kB / 1.046 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/1.607, allocations: 3.938 kB / 1.046 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/1.607, allocations: 3.984 kB / 1.046 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/1.607, allocations: 12 kB / 1.046 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/1.612, allocations: 1.383 MB / 1.047 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/1.612, allocations: 232.6 kB / 1.047 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/1.613, allocations: 117.4 kB / 1.047 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/1.613, allocations: 8.297 kB / 1.047 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.613, allocations: 38.11 kB / 1.047 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 3.296e-06/1.613, allocations: 0 / 1.047 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.001479/1.614, allocations: 348 kB / 1.048 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.614, allocations: 81.05 kB / 1.048 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.616, allocations: 0.6544 MB / 1.048 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/1.616, allocations: 25.7 kB / 1.048 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/1.616, allocations: 268.2 kB / 1.049 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/1.616, allocations: 95.81 kB / 1.049 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/1.616, allocations: 0 / 1.049 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.617, allocations: 317 kB / 1.049 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/1.617, allocations: 91.48 kB / 1.049 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/1.617, allocations: 121.5 kB / 1.049 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/1.617, allocations: 98.03 kB / 1.049 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.618, allocations: 0 / 1.049 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001489/1.619, allocations: 393.9 kB / 1.05 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-05/1.619, allocations: 103.6 kB / 1.05 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.619, allocations: 0 / 1.05 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/1.62, allocations: 78.36 kB / 1.05 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/1.621, allocations: 79.88 kB / 1.05 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008237/1.621, allocations: 0.6246 MB / 1.051 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.623, allocations: 75.7 kB / 1.051 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/1.623, allocations: 14.86 kB / 1.051 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.623, allocations: 4 kB / 1.051 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/1.624, allocations: 264.1 kB / 1.051 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.624, allocations: 0 / 1.051 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/1.625, allocations: 91.45 kB / 1.051 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/1.625, allocations: 78.83 kB / 1.051 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.628, allocations: 1.552 MB / 1.053 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.629, allocations: 59.77 kB / 1.053 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/1.629, allocations: 11 kB / 1.053 GB, free: 4.387 MB / 0.6667 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.629, allocations: 105 kB / 1.053 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.63, allocations: 78.97 kB / 1.053 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/1.63, allocations: 89.66 kB / 1.053 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/1.63, allocations: 4 kB / 1.053 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.63, allocations: 0 / 1.053 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.63, allocations: 3.984 kB / 1.053 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/1.632, allocations: 0.9269 MB / 1.054 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.632, allocations: 3.984 kB / 1.054 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/1.633, allocations: 55.23 kB / 1.054 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006083/1.634, allocations: 78.11 kB / 1.054 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/1.634, allocations: 0 / 1.054 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/1.636, allocations: 1.553 MB / 1.056 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.636, allocations: 4.062 kB / 1.056 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001453/1.638, allocations: 0.5149 MB / 1.056 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001541/1.639, allocations: 0.9121 MB / 1.057 GB, free: 372 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/1.64, allocations: 173.5 kB / 1.057 GB, free: 196 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/1.64, allocations: 7.984 kB / 1.057 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/1.641, allocations: 23.98 kB / 1.057 GB, free: 164 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/1.641, allocations: 23.69 kB / 1.057 GB, free: 144 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/1.641, allocations: 8 kB / 1.057 GB, free: 136 kB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001144/1.642, allocations: 0.5213 MB / 1.058 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003031/1.645, allocations: 285.9 kB / 1.058 GB, free: 15.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000733/1.646, allocations: 387.6 kB / 1.058 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.647, allocations: 492.8 kB / 1.059 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.647, allocations: 0 / 1.059 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004697/1.648, allocations: 221.1 kB / 1.059 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.649, allocations: 101.8 kB / 1.059 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/1.652, allocations: 1.033 MB / 1.06 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.654, allocations: 1.086 MB / 1.061 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of SimCode: time 1.553e-06/1.654, allocations: 0 / 1.061 GB, free: 12.47 MB / 0.6823 GB