Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Convection.Examples.Interior.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.Convection.Examples.Interior,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Convection_Examples_Interior",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.307/4.307, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5233/4.83, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/5.073, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2443/5.317, allocations: 127.3 MB / 0.7526 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004034/5.317, allocations: 91.58 kB / 0.7527 GB, free: 10.21 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.04133/5.359, allocations: 8.296 MB / 0.7608 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/5.359, allocations: 8 kB / 0.7608 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/5.359, allocations: 39.53 kB / 0.7609 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/5.36, allocations: 301.5 kB / 0.7611 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/5.36, allocations: 4 kB / 0.7611 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/5.36, allocations: 15.91 kB / 0.7612 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003489/5.36, allocations: 96.86 kB / 0.7612 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/5.36, allocations: 138.4 kB / 0.7614 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/5.36, allocations: 7.938 kB / 0.7614 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/5.36, allocations: 0 / 0.7614 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/5.36, allocations: 4 kB / 0.7614 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/5.362, allocations: 0.7725 MB / 0.7621 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/5.363, allocations: 118.5 kB / 0.7623 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/5.363, allocations: 52.84 kB / 0.7623 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/5.363, allocations: 0 / 0.7623 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/5.363, allocations: 42.56 kB / 0.7624 GB, free: 112 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/5.363, allocations: 0 / 0.7624 GB, free: 112 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000583/5.363, allocations: 121.7 kB / 0.7625 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/5.363, allocations: 55.34 kB / 0.7625 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/5.364, allocations: 171.9 kB / 0.7627 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/5.364, allocations: 29.64 kB / 0.7627 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/5.364, allocations: 144.2 kB / 0.7628 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/5.364, allocations: 43.36 kB / 0.7629 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/5.364, allocations: 0 / 0.7629 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001408/5.364, allocations: 330.8 kB / 0.7632 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/5.364, allocations: 20 kB / 0.7632 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/5.364, allocations: 20 kB / 0.7632 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/5.365, allocations: 43.95 kB / 0.7633 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/5.365, allocations: 0 / 0.7633 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004755/5.365, allocations: 121.4 kB / 0.7634 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-05/5.365, allocations: 101.1 kB / 0.7635 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/5.365, allocations: 0 / 0.7635 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/5.365, allocations: 4 kB / 0.7635 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/5.366, allocations: 31.92 kB / 0.7635 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/5.366, allocations: 3.984 kB / 0.7635 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/5.366, allocations: 19.83 kB / 0.7636 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/5.366, allocations: 11.98 kB / 0.7636 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/5.366, allocations: 4 kB / 0.7636 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003436/5.366, allocations: 71.95 kB / 0.7636 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/5.366, allocations: 0 / 0.7636 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/5.366, allocations: 0 / 0.7636 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/5.367, allocations: 27.98 kB / 0.7637 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/5.367, allocations: 0 / 0.7637 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/5.367, allocations: 24 kB / 0.7637 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/5.367, allocations: 7.875 kB / 0.7637 GB, free: 14.68 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 (13): * Single equations (assignments): 13 * 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.0001035/5.367, allocations: 109 kB / 0.7638 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/5.367, allocations: 19.72 kB / 0.7638 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/5.368, allocations: 124 kB / 0.7639 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/5.368, allocations: 0 / 0.7639 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/5.368, allocations: 11.98 kB / 0.7639 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/5.368, allocations: 3.938 kB / 0.764 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/5.368, allocations: 234 kB / 0.7642 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/5.368, allocations: 0 / 0.7642 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/5.369, allocations: 31.92 kB / 0.7642 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/5.369, allocations: 4 kB / 0.7642 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/5.369, allocations: 0 / 0.7642 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/5.369, allocations: 0 / 0.7642 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/5.369, allocations: 4 kB / 0.7642 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007145/5.37, allocations: 219.3 kB / 0.7644 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008671/5.37, allocations: 0.5933 MB / 0.765 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/5.371, allocations: 108.8 kB / 0.7651 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/5.371, allocations: 4 kB / 0.7651 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/5.371, allocations: 15.98 kB / 0.7651 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/5.371, allocations: 7.984 kB / 0.7651 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/5.371, allocations: 8 kB / 0.7651 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003662/5.372, allocations: 140.5 kB / 0.7653 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004998/5.377, allocations: 95.59 kB / 0.7654 GB, free: 12.87 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 (13): * Single equations (assignments): 13 * 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.0003889/5.377, allocations: 119.2 kB / 0.7655 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005629/5.378, allocations: 109.2 kB / 0.7656 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/5.378, allocations: 0 / 0.7656 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/5.378, allocations: 35.94 kB / 0.7656 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008821/5.379, allocations: 44.28 kB / 0.7657 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/5.38, allocations: 232 kB / 0.7659 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/5.381, allocations: 0.7787 MB / 0.7666 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/5.381, allocations: 0 / 0.7666 GB, free: 11.5 MB / 0.6511 GB