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.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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.989/3.989, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5416/4.53, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/4.76, allocations: 98.74 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/5.006, allocations: 130.3 MB / 0.7555 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004496/5.007, allocations: 87.59 kB / 0.7556 GB, free: 7.242 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.05424/5.061, allocations: 10.49 MB / 0.7659 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/5.061, allocations: 8 kB / 0.7659 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/5.061, allocations: 59.34 kB / 0.7659 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008144/5.062, allocations: 335.8 kB / 0.7663 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/5.062, allocations: 12 kB / 0.7663 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/5.062, allocations: 28 kB / 0.7663 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000974/5.063, allocations: 285.9 kB / 0.7666 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/5.064, allocations: 312.5 kB / 0.7669 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/5.064, allocations: 3.984 kB / 0.7669 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/5.064, allocations: 3.906 kB / 0.7669 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/5.064, allocations: 16 kB / 0.7669 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/5.069, allocations: 1.205 MB / 0.7681 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/5.07, allocations: 351.2 kB / 0.7684 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/5.07, allocations: 208.8 kB / 0.7686 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-05/5.071, allocations: 11.97 kB / 0.7686 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/5.071, allocations: 42.5 kB / 0.7687 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.617e-06/5.071, allocations: 0 / 0.7687 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.003776/5.074, allocations: 0.6461 MB / 0.7693 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/5.074, allocations: 55.41 kB / 0.7693 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/5.075, allocations: 235.4 kB / 0.7696 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/5.075, allocations: 25.7 kB / 0.7696 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/5.075, allocations: 184.3 kB / 0.7698 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/5.076, allocations: 134 kB / 0.7699 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/5.076, allocations: 4 kB / 0.7699 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00016/5.076, allocations: 346.8 kB / 0.7702 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/5.076, allocations: 120 kB / 0.7703 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/5.077, allocations: 174 kB / 0.7705 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/5.077, allocations: 148.5 kB / 0.7706 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/5.077, allocations: 4 kB / 0.7706 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003674/5.081, allocations: 0.638 MB / 0.7713 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/5.081, allocations: 92.91 kB / 0.7714 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/5.081, allocations: 4 kB / 0.7714 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/5.084, allocations: 400.5 kB / 0.7717 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/5.085, allocations: 27.92 kB / 0.7718 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/5.088, allocations: 1.146 MB / 0.7729 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/5.089, allocations: 47.69 kB / 0.7729 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/5.089, allocations: 7.906 kB / 0.7729 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/5.089, allocations: 4 kB / 0.7729 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003308/5.092, allocations: 0.5902 MB / 0.7735 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/5.092, allocations: 0 / 0.7735 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/5.095, allocations: 404.7 kB / 0.7739 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/5.096, allocations: 31.92 kB / 0.7739 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/5.106, allocations: 3.464 MB / 0.7773 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/5.107, allocations: 31.67 kB / 0.7774 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/5.107, allocations: 8 kB / 0.7774 GB, free: 0.5078 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 (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/5.107, allocations: 117.2 kB / 0.7775 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/5.107, allocations: 39.61 kB / 0.7775 GB, free: 356 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/5.107, allocations: 43.17 kB / 0.7776 GB, free: 316 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/5.107, allocations: 7.984 kB / 0.7776 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/5.108, allocations: 0 / 0.7776 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/5.108, allocations: 0 / 0.7776 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3087/5.416, allocations: 431 kB / 0.778 GB, free: 225 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/5.416, allocations: 0 / 0.778 GB, free: 225 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/5.417, allocations: 29.48 kB / 0.778 GB, free: 225 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/5.42, allocations: 392.5 kB / 0.7784 GB, free: 225 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/5.42, allocations: 3.688 kB / 0.7784 GB, free: 225 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/5.43, allocations: 3.413 MB / 0.7817 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/5.43, allocations: 0 / 0.7817 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005577/5.436, allocations: 0.7363 MB / 0.7824 GB, free: 223.5 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005004/5.441, allocations: 1.1 MB / 0.7835 GB, free: 223 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/5.441, allocations: 143.3 kB / 0.7836 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/5.441, allocations: 0 / 0.7836 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/5.442, allocations: 23.2 kB / 0.7837 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/5.442, allocations: 18.67 kB / 0.7837 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/5.442, allocations: 9.406 kB / 0.7837 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003879/5.443, allocations: 186.8 kB / 0.7839 GB, free: 222.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005404/5.448, allocations: 259.7 kB / 0.7841 GB, free: 222.8 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.000255/5.449, allocations: 109.5 kB / 0.7842 GB, free: 222.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003937/5.452, allocations: 0.8338 MB / 0.785 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/5.453, allocations: 0 / 0.785 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/5.454, allocations: 406.3 kB / 0.7854 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/5.456, allocations: 81.61 kB / 0.7855 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/5.458, allocations: 0.5774 MB / 0.7861 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/5.459, allocations: 0.8515 MB / 0.7869 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.813e-06/5.459, allocations: 0 / 0.7869 GB, free: 221.5 MB / 0.6511 GB