Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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 3.921/3.921, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5705/4.492, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/4.735, allocations: 98.72 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/4.983, allocations: 131.7 MB / 0.7569 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/4.983, allocations: 95.58 kB / 0.757 GB, free: 5.859 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.08572/5.069, allocations: 16.2 MB / 0.7728 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/5.069, allocations: 8 kB / 0.7728 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05744/5.127, allocations: 2.672 MB / 0.7754 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/5.129, allocations: 0.6082 MB / 0.776 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/5.129, allocations: 8 kB / 0.776 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/5.129, allocations: 16.22 kB / 0.776 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/5.131, allocations: 489 kB / 0.7765 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/5.132, allocations: 0.5191 MB / 0.777 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/5.132, allocations: 0 / 0.777 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/5.132, allocations: 0 / 0.777 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/5.132, allocations: 4 kB / 0.777 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2807/5.413, allocations: 2.959 MB / 0.7799 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/5.414, allocations: 472.8 kB / 0.7803 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/5.415, allocations: 325.9 kB / 0.7807 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/5.415, allocations: 38.95 kB / 0.7807 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/5.415, allocations: 40.06 kB / 0.7807 GB, free: 221.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.526e-06/5.415, allocations: 0 / 0.7807 GB, free: 221.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.01078/5.426, allocations: 1.384 MB / 0.7821 GB, free: 221.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/5.426, allocations: 55.34 kB / 0.7821 GB, free: 221 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/5.426, allocations: 245.5 kB / 0.7824 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002901/5.427, allocations: 25.7 kB / 0.7824 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/5.427, allocations: 172.1 kB / 0.7826 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/5.427, allocations: 69.77 kB / 0.7826 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/5.427, allocations: 0 / 0.7826 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/5.427, allocations: 344.9 kB / 0.7829 GB, free: 220.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/5.43, allocations: 0.8459 MB / 0.7838 GB, free: 220.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/5.432, allocations: 0.9026 MB / 0.7847 GB, free: 220.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02076/5.453, allocations: 2.23 MB / 0.7868 GB, free: 220.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/5.453, allocations: 0 / 0.7868 GB, free: 220.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02494/5.478, allocations: 3.296 MB / 0.7901 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.058e-05/5.478, allocations: 101.6 kB / 0.7901 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02358/5.502, allocations: 2.888 MB / 0.793 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/5.502, allocations: 1.219 kB / 0.793 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01202/5.514, allocations: 0.6016 MB / 0.7936 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/5.514, allocations: 2.125 kB / 0.7936 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/5.525, allocations: 496 kB / 0.794 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/5.526, allocations: 51.56 kB / 0.7941 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/5.526, allocations: 14.03 kB / 0.7941 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02537/5.551, allocations: 3.231 MB / 0.7973 GB, free: 220 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02285/5.574, allocations: 2.883 MB / 0.8001 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/5.574, allocations: 1.969 kB / 0.8001 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/5.586, allocations: 0.5963 MB / 0.8007 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/5.586, allocations: 1.375 kB / 0.8007 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/5.598, allocations: 0.4911 MB / 0.8011 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004441/5.599, allocations: 50.27 kB / 0.8012 GB, free: 219.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003862/5.599, allocations: 106.7 kB / 0.8013 GB, free: 219.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/5.599, allocations: 35.45 kB / 0.8013 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009355/5.609, allocations: 1.403 MB / 0.8027 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/5.609, allocations: 3.203 kB / 0.8027 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/5.609, allocations: 1.406 kB / 0.8027 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/5.609, allocations: 1.359 kB / 0.8027 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/5.61, allocations: 0.8792 MB / 0.8035 GB, free: 219.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007271/5.618, allocations: 1.071 MB / 0.8046 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004633/5.622, allocations: 249.6 kB / 0.8048 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/5.623, allocations: 1.938 kB / 0.8048 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/5.623, allocations: 16.61 kB / 0.8049 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/5.623, allocations: 4.906 kB / 0.8049 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/5.623, allocations: 4.516 kB / 0.8049 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007447/5.63, allocations: 1.206 MB / 0.806 GB, free: 218.5 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007617/5.638, allocations: 1.592 MB / 0.8076 GB, free: 217.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/5.638, allocations: 109 kB / 0.8077 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/5.638, allocations: 4.766 kB / 0.8077 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004301/5.643, allocations: 184.9 kB / 0.8079 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/5.643, allocations: 20.88 kB / 0.8079 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/5.643, allocations: 24.16 kB / 0.8079 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002882/5.643, allocations: 181.9 kB / 0.8081 GB, free: 217.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004013/5.647, allocations: 380.2 kB / 0.8085 GB, free: 217.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008678/5.648, allocations: 267 kB / 0.8087 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006096/5.654, allocations: 1.984 MB / 0.8106 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/5.654, allocations: 0 / 0.8106 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009785/5.655, allocations: 406.6 kB / 0.811 GB, free: 215.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/5.656, allocations: 52.19 kB / 0.8111 GB, free: 215.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/5.659, allocations: 0.7094 MB / 0.8118 GB, free: 215.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/5.661, allocations: 0.9389 MB / 0.8127 GB, free: 214.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/5.661, allocations: 0 / 0.8127 GB, free: 214.4 MB / 0.6511 GB