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.InteriorConvection.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.InteriorConvection,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.975/3.975, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5508/4.526, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/4.763, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.235/4.998, allocations: 127.4 MB / 0.7527 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/4.999, allocations: 87.59 kB / 0.7528 GB, free: 10.12 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01551/5.014, allocations: 3.24 MB / 0.756 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.014, allocations: 15.94 kB / 0.756 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/5.014, allocations: 7.906 kB / 0.756 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/5.015, allocations: 218.7 kB / 0.7562 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/5.015, allocations: 4 kB / 0.7562 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/5.015, allocations: 8 kB / 0.7562 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001556/5.015, allocations: 32 kB / 0.7562 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/5.015, allocations: 77.52 kB / 0.7563 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/5.015, allocations: 0 / 0.7563 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/5.015, allocations: 0 / 0.7563 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/5.015, allocations: 0 / 0.7563 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/5.016, allocations: 361.2 kB / 0.7567 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/5.016, allocations: 34.56 kB / 0.7567 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/5.016, allocations: 20.92 kB / 0.7567 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/5.016, allocations: 0 / 0.7567 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/5.016, allocations: 36.58 kB / 0.7568 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/5.016, allocations: 0 / 0.7568 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003131/5.017, allocations: 57.53 kB / 0.7568 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/5.017, allocations: 51.41 kB / 0.7569 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/5.017, allocations: 119.8 kB / 0.757 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/5.017, allocations: 29.7 kB / 0.757 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/5.017, allocations: 108.1 kB / 0.7571 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/5.017, allocations: 15.69 kB / 0.7571 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/5.017, allocations: 0 / 0.7571 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001185/5.017, allocations: 318.8 kB / 0.7574 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/5.017, allocations: 12 kB / 0.7574 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/5.017, allocations: 4 kB / 0.7574 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.073e-05/5.017, allocations: 15.98 kB / 0.7575 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/5.017, allocations: 0 / 0.7575 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001917/5.018, allocations: 69.58 kB / 0.7575 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/5.018, allocations: 89.38 kB / 0.7576 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/5.018, allocations: 0 / 0.7576 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/5.018, allocations: 3.938 kB / 0.7576 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/5.018, allocations: 19.98 kB / 0.7576 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/5.018, allocations: 0 / 0.7576 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/5.018, allocations: 15.91 kB / 0.7576 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/5.018, allocations: 3.984 kB / 0.7576 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/5.018, allocations: 4 kB / 0.7576 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001259/5.018, allocations: 23.98 kB / 0.7577 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/5.018, allocations: 0 / 0.7577 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/5.018, allocations: 3.938 kB / 0.7577 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/5.018, allocations: 19.98 kB / 0.7577 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/5.018, allocations: 0 / 0.7577 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/5.018, allocations: 8 kB / 0.7577 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/5.019, allocations: 3.984 kB / 0.7577 GB, free: 4.891 MB / 0.6355 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 (4): * Single equations (assignments): 4 * 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 7.984e-05/5.019, allocations: 108.8 kB / 0.7578 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/5.019, allocations: 11.91 kB / 0.7578 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/5.019, allocations: 57.8 kB / 0.7579 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/5.019, allocations: 0 / 0.7579 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/5.019, allocations: 0 / 0.7579 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/5.019, allocations: 4.281 kB / 0.7579 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/5.019, allocations: 170.1 kB / 0.758 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/5.019, allocations: 0 / 0.758 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/5.019, allocations: 15.98 kB / 0.7581 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/5.019, allocations: 7.984 kB / 0.7581 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/5.019, allocations: 0 / 0.7581 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/5.019, allocations: 0 / 0.7581 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/5.019, allocations: 0 / 0.7581 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001573/5.019, allocations: 155.3 kB / 0.7582 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000271/5.02, allocations: 0.5193 MB / 0.7587 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/5.02, allocations: 85 kB / 0.7588 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/5.02, allocations: 4 kB / 0.7588 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/5.02, allocations: 4 kB / 0.7588 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/5.02, allocations: 7.984 kB / 0.7588 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/5.02, allocations: 0 / 0.7588 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.407e-05/5.02, allocations: 99.27 kB / 0.7589 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002055/5.022, allocations: 55.69 kB / 0.759 GB, free: 3.496 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0002054/5.023, allocations: 101.8 kB / 0.7591 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000191/5.023, allocations: 43.92 kB / 0.7591 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/5.023, allocations: 0 / 0.7591 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/5.023, allocations: 12 kB / 0.7591 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/5.023, allocations: 8.516 kB / 0.7591 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/5.024, allocations: 119.1 kB / 0.7592 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/5.024, allocations: 0.711 MB / 0.7599 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/5.024, allocations: 0 / 0.7599 GB, free: 2.449 MB / 0.6355 GB