Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.6/2.6, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.001606/0.001606, allocations: 181.2 kB / 315.1 MB, free: 4.293 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.218/2.218, allocations: 205.2 MB / 0.5658 GB, free: 464 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.001329/0.001329, allocations: 83.34 kB / 0.67 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5077/0.5091, allocations: 112.4 MB / 0.7797 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.7411, allocations: 106.2 MB / 0.8835 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7169/1.458, allocations: 144.4 MB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/1.458, allocations: 70.41 kB / 1.025 GB, free: 11.95 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.1694/1.628, allocations: 27.18 MB / 1.051 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.628, allocations: 11.94 kB / 1.051 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/1.629, allocations: 79.06 kB / 1.051 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/1.633, allocations: 1.245 MB / 1.052 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/1.634, allocations: 8 kB / 1.052 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/1.634, allocations: 23.44 kB / 1.052 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006694/1.634, allocations: 208.5 kB / 1.053 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/1.635, allocations: 339.7 kB / 1.053 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.635, allocations: 0 / 1.053 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/1.635, allocations: 0 / 1.053 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/1.635, allocations: 7.906 kB / 1.053 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/1.64, allocations: 1.931 MB / 1.055 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/1.641, allocations: 284.3 kB / 1.055 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/1.641, allocations: 128.8 kB / 1.055 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/1.642, allocations: 3.906 kB / 1.055 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/1.642, allocations: 37.44 kB / 1.055 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/1.642, allocations: 0 / 1.055 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.001378/1.643, allocations: 327.9 kB / 1.056 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.643, allocations: 67.28 kB / 1.056 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/1.646, allocations: 0.8962 MB / 1.057 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.646, allocations: 25.7 kB / 1.057 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/1.646, allocations: 207.8 kB / 1.057 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/1.646, allocations: 65.27 kB / 1.057 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/1.646, allocations: 0 / 1.057 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.647, allocations: 379.8 kB / 1.057 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/1.647, allocations: 229.1 kB / 1.057 GB, free: 336 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/1.648, allocations: 0.4946 MB / 1.058 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/1.649, allocations: 299.5 kB / 1.058 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.649, allocations: 3.906 kB / 1.058 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002766/1.652, allocations: 0.7417 MB / 1.059 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.652, allocations: 8.156 kB / 1.059 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.652, allocations: 8 kB / 1.059 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/1.652, allocations: 59.94 kB / 1.059 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.653, allocations: 130.5 kB / 1.059 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.655, allocations: 1.417 MB / 1.06 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/1.657, allocations: 131.5 kB / 1.061 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/1.657, allocations: 27.5 kB / 1.061 GB, free: 13.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001898/1.657, allocations: 130.3 kB / 1.061 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/1.658, allocations: 67.12 kB / 1.061 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/1.658, allocations: 65.45 kB / 1.061 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.658, allocations: 4 kB / 1.061 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.658, allocations: 4 kB / 1.061 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/1.658, allocations: 7.891 kB / 1.061 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/1.659, allocations: 0.6218 MB / 1.061 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.659, allocations: 4 kB / 1.061 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/1.66, allocations: 43.16 kB / 1.062 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/1.66, allocations: 47.55 kB / 1.062 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/1.66, allocations: 7.984 kB / 1.062 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/1.662, allocations: 1.4 MB / 1.063 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.662, allocations: 3.906 kB / 1.063 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001295/1.663, allocations: 0.5556 MB / 1.063 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001714/1.665, allocations: 1.087 MB / 1.065 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/1.666, allocations: 353.6 kB / 1.065 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/1.666, allocations: 8 kB / 1.065 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.667, allocations: 59.84 kB / 1.065 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/1.667, allocations: 11.3 kB / 1.065 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/1.667, allocations: 4 kB / 1.065 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00142/1.669, allocations: 0.6686 MB / 1.066 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00194/1.671, allocations: 191.1 kB / 1.066 GB, free: 8.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0003768/1.671, allocations: 160.2 kB / 1.066 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001457/1.672, allocations: 0.5379 MB / 1.066 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.673, allocations: 2.25 kB / 1.066 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005003/1.673, allocations: 236.7 kB / 1.067 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.675, allocations: 146.2 kB / 1.067 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/1.679, allocations: 1.254 MB / 1.068 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.681, allocations: 1.073 MB / 1.069 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of SimCode: time 1.373e-06/1.681, allocations: 4 kB / 1.069 GB, free: 5.133 MB / 0.6823 GB