Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",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.061/4.061, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2741/4.335, allocations: 104.4 MB / 0.5319 GB, free: 2.352 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/4.868, allocations: 98.69 MB / 0.6283 GB, free: 128 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/5.142, allocations: 132 MB / 0.7572 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/5.142, allocations: 83.95 kB / 0.7572 GB, free: 11.89 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.1447/5.287, allocations: 26.39 MB / 0.783 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/5.287, allocations: 8 kB / 0.783 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/5.287, allocations: 114.7 kB / 0.7831 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03712/5.324, allocations: 9.454 MB / 0.7924 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001381/5.326, allocations: 418.3 kB / 0.7928 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/5.326, allocations: 44 kB / 0.7928 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002206/5.328, allocations: 0.5819 MB / 0.7934 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/5.33, allocations: 0.6817 MB / 0.794 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/5.33, allocations: 4 kB / 0.794 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/5.331, allocations: 0 / 0.794 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/5.331, allocations: 16 kB / 0.794 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/5.341, allocations: 2.472 MB / 0.7965 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008031/5.349, allocations: 1.002 MB / 0.7974 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/5.351, allocations: 332.8 kB / 0.7978 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/5.351, allocations: 31.81 kB / 0.7978 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/5.351, allocations: 42.5 kB / 0.7978 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=80): time 6.823e-06/5.351, allocations: 4 kB / 0.7978 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80): time 0.002682/5.354, allocations: 0.654 MB / 0.7985 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/5.354, allocations: 144.5 kB / 0.7986 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/5.355, allocations: 470.4 kB / 0.7991 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/5.355, allocations: 25.7 kB / 0.7991 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/5.355, allocations: 256.6 kB / 0.7993 GB, free: 412 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/5.356, allocations: 260.1 kB / 0.7996 GB, free: 148 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/5.356, allocations: 0 / 0.7996 GB, free: 148 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.3068/5.663, allocations: 381.6 kB / 0.7999 GB, free: 228.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/5.664, allocations: 221.3 kB / 0.8002 GB, free: 228.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/5.665, allocations: 306 kB / 0.8004 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/5.665, allocations: 240.9 kB / 0.8007 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/5.665, allocations: 6.406 kB / 0.8007 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001971/5.667, allocations: 0.6432 MB / 0.8013 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/5.667, allocations: 3.469 kB / 0.8013 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/5.667, allocations: 6.781 kB / 0.8013 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/5.667, allocations: 3.625 kB / 0.8013 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/5.67, allocations: 204.9 kB / 0.8015 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/5.67, allocations: 4.125 kB / 0.8015 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/5.672, allocations: 84.86 kB / 0.8016 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/5.672, allocations: 39.22 kB / 0.8016 GB, free: 228.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000241/5.672, allocations: 110.2 kB / 0.8017 GB, free: 228.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/5.673, allocations: 72.84 kB / 0.8018 GB, free: 228.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/5.677, allocations: 1.049 MB / 0.8028 GB, free: 228.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/5.677, allocations: 18.03 kB / 0.8029 GB, free: 228.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/5.677, allocations: 3.469 kB / 0.8029 GB, free: 228.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/5.677, allocations: 6.797 kB / 0.8029 GB, free: 228.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/5.679, allocations: 0.9129 MB / 0.8038 GB, free: 228.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/5.679, allocations: 3.625 kB / 0.8038 GB, free: 228.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/5.682, allocations: 249 kB / 0.804 GB, free: 228.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.24e-05/5.682, allocations: 10.88 kB / 0.804 GB, free: 228.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002475/5.682, allocations: 16.72 kB / 0.804 GB, free: 228.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/5.682, allocations: 5.594 kB / 0.804 GB, free: 228.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/5.682, allocations: 0.7656 kB / 0.804 GB, free: 228.4 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002559/5.685, allocations: 1.175 MB / 0.8052 GB, free: 227.9 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002747/5.688, allocations: 1.563 MB / 0.8067 GB, free: 227.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007324/5.689, allocations: 296 kB / 0.807 GB, free: 226.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/5.689, allocations: 7.406 kB / 0.807 GB, free: 226.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/5.691, allocations: 59.02 kB / 0.807 GB, free: 226.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/5.692, allocations: 78.02 kB / 0.8071 GB, free: 226.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/5.692, allocations: 40.28 kB / 0.8072 GB, free: 226.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008086/5.693, allocations: 415 kB / 0.8076 GB, free: 226.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002751/5.695, allocations: 311.3 kB / 0.8079 GB, free: 226.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/5.697, allocations: 428.7 kB / 0.8083 GB, free: 226.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002068/5.699, allocations: 0.6474 MB / 0.8089 GB, free: 226.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/5.699, allocations: 3.656 kB / 0.8089 GB, free: 226.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/5.7, allocations: 451.1 kB / 0.8093 GB, free: 226.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/5.701, allocations: 40.69 kB / 0.8094 GB, free: 226.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/5.705, allocations: 1.174 MB / 0.8105 GB, free: 226.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/5.707, allocations: 1.152 MB / 0.8116 GB, free: 225.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.513e-06/5.707, allocations: 0 / 0.8116 GB, free: 225.7 MB / 0.6667 GB