Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.185/4.185, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5522/4.738, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/4.989, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/5.272, allocations: 133.4 MB / 0.7586 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/5.272, allocations: 83.59 kB / 0.7587 GB, free: 4.078 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.4294/5.701, allocations: 20.76 MB / 0.779 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/5.701, allocations: 9.688 kB / 0.779 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006029/5.702, allocations: 103.6 kB / 0.7791 GB, free: 219.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00517/5.707, allocations: 1.105 MB / 0.7801 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/5.707, allocations: 11.03 kB / 0.7802 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/5.707, allocations: 39.19 kB / 0.7802 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005676/5.708, allocations: 187.9 kB / 0.7804 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/5.709, allocations: 340.1 kB / 0.7807 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/5.709, allocations: 7.188 kB / 0.7807 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/5.709, allocations: 0 / 0.7807 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/5.709, allocations: 7.531 kB / 0.7807 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/5.713, allocations: 2.192 MB / 0.7828 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/5.714, allocations: 305.4 kB / 0.7831 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/5.714, allocations: 139.5 kB / 0.7833 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/5.714, allocations: 2.891 kB / 0.7833 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/5.714, allocations: 41.58 kB / 0.7833 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/5.714, allocations: 0 / 0.7833 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.00281/5.717, allocations: 0.9356 MB / 0.7842 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/5.717, allocations: 55.34 kB / 0.7843 GB, free: 217.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/5.719, allocations: 0.7593 MB / 0.785 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/5.719, allocations: 25.7 kB / 0.785 GB, free: 217.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/5.719, allocations: 253.8 kB / 0.7853 GB, free: 217.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/5.719, allocations: 115.5 kB / 0.7854 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/5.719, allocations: 0 / 0.7854 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001463/5.719, allocations: 387.5 kB / 0.7858 GB, free: 217 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/5.72, allocations: 209.7 kB / 0.786 GB, free: 217 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/5.721, allocations: 0.6422 MB / 0.7866 GB, free: 216.4 MB / 0.6511 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.003522/5.724, allocations: 1.022 MB / 0.7876 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/5.724, allocations: 7.328 kB / 0.7876 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002127/5.726, allocations: 0.7814 MB / 0.7884 GB, free: 216.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/5.727, allocations: 7.062 kB / 0.7884 GB, free: 216.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/5.727, allocations: 13.75 kB / 0.7884 GB, free: 216.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/5.727, allocations: 53.44 kB / 0.7884 GB, free: 216.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/5.728, allocations: 208.4 kB / 0.7886 GB, free: 216.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/5.73, allocations: 1.326 MB / 0.7899 GB, free: 215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/5.732, allocations: 44.5 kB / 0.79 GB, free: 215 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/5.732, allocations: 41.91 kB / 0.79 GB, free: 215 MB / 0.6511 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.0002703/5.732, allocations: 170.8 kB / 0.7902 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/5.733, allocations: 81.56 kB / 0.7903 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/5.733, allocations: 73.09 kB / 0.7903 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/5.733, allocations: 7.719 kB / 0.7903 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/5.733, allocations: 0 / 0.7903 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/5.733, allocations: 3.469 kB / 0.7903 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/5.736, allocations: 1.123 MB / 0.7914 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/5.736, allocations: 3.875 kB / 0.7914 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008006/5.737, allocations: 82.47 kB / 0.7915 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/5.737, allocations: 35.31 kB / 0.7915 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/5.737, allocations: 7.531 kB / 0.7916 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/5.738, allocations: 1.303 MB / 0.7928 GB, free: 213.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/5.738, allocations: 2.344 kB / 0.7928 GB, free: 213.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001391/5.74, allocations: 0.6678 MB / 0.7935 GB, free: 213 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001612/5.741, allocations: 1.223 MB / 0.7947 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/5.742, allocations: 202.5 kB / 0.7949 GB, free: 212.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/5.742, allocations: 10.45 kB / 0.7949 GB, free: 212.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/5.743, allocations: 29.48 kB / 0.7949 GB, free: 212.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/5.743, allocations: 19.75 kB / 0.7949 GB, free: 212.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/5.743, allocations: 8.5 kB / 0.7949 GB, free: 212.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001049/5.744, allocations: 0.5567 MB / 0.7955 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002203/5.747, allocations: 198.8 kB / 0.7957 GB, free: 212.1 MB / 0.6511 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.000336/5.747, allocations: 163.3 kB / 0.7958 GB, free: 212 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001694/5.749, allocations: 0.5841 MB / 0.7964 GB, free: 211.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/5.749, allocations: 1.094 kB / 0.7964 GB, free: 211.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/5.749, allocations: 254.2 kB / 0.7966 GB, free: 211.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/5.751, allocations: 140.2 kB / 0.7968 GB, free: 211.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/5.754, allocations: 1.272 MB / 0.798 GB, free: 211.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/5.755, allocations: 1.078 MB / 0.7991 GB, free: 210.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/5.755, allocations: 0 / 0.7991 GB, free: 210.6 MB / 0.6511 GB