Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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.449/2.449, allocations: 248.6 MB / 255.9 MB, free: 7.234 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.001856/0.001855, allocations: 195.6 kB / 315.1 MB, free: 4.316 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.064/2.064, allocations: 205.1 MB / 0.5658 GB, free: 420 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.001372/0.001372, allocations: 101.1 kB / 0.67 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4877/0.4891, allocations: 112.3 MB / 0.7797 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.7438, allocations: 106.2 MB / 0.8835 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7583/1.502, allocations: 141.3 MB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.503, allocations: 76.41 kB / 1.022 GB, free: 15.02 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.1521/1.655, allocations: 18.47 MB / 1.04 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.655, allocations: 8 kB / 1.04 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000706/1.655, allocations: 102.8 kB / 1.04 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.66, allocations: 1.08 MB / 1.041 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/1.66, allocations: 12 kB / 1.041 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/1.661, allocations: 32 kB / 1.041 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006411/1.661, allocations: 182 kB / 1.041 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/1.662, allocations: 350.8 kB / 1.041 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/1.662, allocations: 3.938 kB / 1.041 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/1.662, allocations: 3.906 kB / 1.041 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/1.662, allocations: 8 kB / 1.041 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/1.667, allocations: 2.165 MB / 1.043 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/1.668, allocations: 297.3 kB / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/1.668, allocations: 147.3 kB / 1.044 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/1.668, allocations: 240 / 1.044 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.668, allocations: 38.3 kB / 1.044 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/1.668, allocations: 4 kB / 1.044 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.003025/1.671, allocations: 0.9418 MB / 1.045 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.671, allocations: 59.41 kB / 1.045 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.673, allocations: 0.7495 MB / 1.046 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/1.673, allocations: 29.7 kB / 1.046 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/1.673, allocations: 254.9 kB / 1.046 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/1.674, allocations: 114.9 kB / 1.046 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/1.674, allocations: 0 / 1.046 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002224/1.674, allocations: 389.4 kB / 1.046 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/1.674, allocations: 203.8 kB / 1.047 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000879/1.675, allocations: 0.5972 MB / 1.047 GB, free: 8.637 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/1.679, allocations: 1.014 MB / 1.048 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.679, allocations: 4 kB / 1.048 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002335/1.682, allocations: 0.7778 MB / 1.049 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.682, allocations: 11.94 kB / 1.049 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/1.682, allocations: 12 kB / 1.049 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/1.682, allocations: 52.33 kB / 1.049 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.684, allocations: 214.5 kB / 1.049 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/1.685, allocations: 1.32 MB / 1.05 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.687, allocations: 43.89 kB / 1.05 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.687, allocations: 42.31 kB / 1.051 GB, free: 5.336 MB / 0.6667 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002704/1.687, allocations: 175.8 kB / 1.051 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/1.688, allocations: 74.97 kB / 1.051 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/1.688, allocations: 72.92 kB / 1.051 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.688, allocations: 7.984 kB / 1.051 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.688, allocations: 0 / 1.051 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.688, allocations: 3.984 kB / 1.051 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/1.691, allocations: 1.125 MB / 1.052 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.691, allocations: 4 kB / 1.052 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/1.692, allocations: 79.88 kB / 1.052 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/1.692, allocations: 39.97 kB / 1.052 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/1.692, allocations: 7.984 kB / 1.052 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/1.694, allocations: 1.298 MB / 1.053 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.694, allocations: 4.031 kB / 1.053 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001607/1.696, allocations: 0.6657 MB / 1.054 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002101/1.698, allocations: 1.217 MB / 1.055 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/1.699, allocations: 207.7 kB / 1.055 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/1.699, allocations: 4 kB / 1.055 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.7, allocations: 27.81 kB / 1.055 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.7, allocations: 19.84 kB / 1.055 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/1.7, allocations: 7.938 kB / 1.055 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001449/1.702, allocations: 0.563 MB / 1.056 GB, free: 220 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002635/1.704, allocations: 191.4 kB / 1.056 GB, free: 32 kB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006792/1.705, allocations: 155.2 kB / 1.056 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001816/1.707, allocations: 0.5992 MB / 1.057 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.707, allocations: 0 / 1.057 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/1.707, allocations: 245.6 kB / 1.057 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.709, allocations: 154.1 kB / 1.057 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/1.713, allocations: 1.268 MB / 1.059 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.714, allocations: 1.081 MB / 1.06 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.293e-06/1.714, allocations: 0 / 1.06 GB, free: 12.73 MB / 0.6823 GB