Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.11/4.11, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5739/4.684, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/4.924, allocations: 98.72 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/5.217, allocations: 133.6 MB / 0.7587 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/5.217, allocations: 79.61 kB / 0.7588 GB, free: 4.012 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.6256/5.843, allocations: 33.19 MB / 0.7912 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/5.843, allocations: 7.688 kB / 0.7912 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/5.844, allocations: 108.8 kB / 0.7913 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/5.848, allocations: 1.088 MB / 0.7924 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/5.848, allocations: 11.69 kB / 0.7924 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/5.848, allocations: 40.72 kB / 0.7924 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006043/5.849, allocations: 198.8 kB / 0.7926 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/5.849, allocations: 350.7 kB / 0.7929 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/5.849, allocations: 12.41 kB / 0.7929 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/5.849, allocations: 1.406 kB / 0.7929 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/5.849, allocations: 7.906 kB / 0.7929 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/5.853, allocations: 2.434 MB / 0.7953 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/5.855, allocations: 356.9 kB / 0.7957 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/5.855, allocations: 152.6 kB / 0.7958 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/5.855, allocations: 3.984 kB / 0.7958 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/5.855, allocations: 32.5 kB / 0.7958 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/5.855, allocations: 0 / 0.7958 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.001629/5.857, allocations: 452.6 kB / 0.7963 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/5.857, allocations: 56.22 kB / 0.7963 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/5.858, allocations: 0.7582 MB / 0.7971 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/5.859, allocations: 30.17 kB / 0.7971 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/5.859, allocations: 248.8 kB / 0.7973 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/5.859, allocations: 115.8 kB / 0.7974 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/5.859, allocations: 0 / 0.7974 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001791/5.859, allocations: 393.1 kB / 0.7978 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/5.86, allocations: 236.3 kB / 0.798 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/5.861, allocations: 0.672 MB / 0.7987 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/5.862, allocations: 336 kB / 0.799 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/5.862, allocations: 3.469 kB / 0.799 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003155/5.865, allocations: 0.8992 MB / 0.7999 GB, free: 133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/5.865, allocations: 7.984 kB / 0.7999 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-05/5.865, allocations: 14.5 kB / 0.7999 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000705/5.866, allocations: 126.6 kB / 0.8 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/5.868, allocations: 191 kB / 0.8002 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/5.873, allocations: 4.017 MB / 0.8042 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/5.877, allocations: 112.6 kB / 0.8043 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/5.877, allocations: 42.8 kB / 0.8043 GB, free: 129.2 MB / 0.6511 GB 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002244/5.877, allocations: 145.5 kB / 0.8044 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/5.877, allocations: 82.25 kB / 0.8045 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/5.878, allocations: 71.25 kB / 0.8046 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/5.878, allocations: 3.656 kB / 0.8046 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/5.878, allocations: 2.375 kB / 0.8046 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/5.878, allocations: 5.266 kB / 0.8046 GB, free: 129 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/5.879, allocations: 0.6601 MB / 0.8052 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/5.879, allocations: 0 / 0.8052 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/5.88, allocations: 60.02 kB / 0.8053 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005882/5.881, allocations: 105.1 kB / 0.8054 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/5.881, allocations: 7.531 kB / 0.8054 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/5.885, allocations: 3.994 MB / 0.8093 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/5.885, allocations: 1.188 kB / 0.8093 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001864/5.887, allocations: 0.7104 MB / 0.81 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002302/5.889, allocations: 1.28 MB / 0.8113 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/5.89, allocations: 216 kB / 0.8115 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/5.89, allocations: 4.922 kB / 0.8115 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/5.892, allocations: 31.97 kB / 0.8115 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/5.892, allocations: 12.95 kB / 0.8115 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/5.892, allocations: 10.39 kB / 0.8115 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001444/5.893, allocations: 0.56 MB / 0.8121 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002823/5.896, allocations: 288.4 kB / 0.8123 GB, free: 123.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003824/5.897, allocations: 161.5 kB / 0.8125 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002176/5.899, allocations: 0.8519 MB / 0.8133 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/5.899, allocations: 1.094 kB / 0.8133 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008684/5.9, allocations: 484.1 kB / 0.8138 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/5.901, allocations: 147.3 kB / 0.8139 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/5.905, allocations: 1.389 MB / 0.8153 GB, free: 122 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/5.907, allocations: 1.076 MB / 0.8163 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.753e-06/5.907, allocations: 0 / 0.8163 GB, free: 121.2 MB / 0.6511 GB