Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.282/4.282, allocations: 433 MB / 440.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5416/4.824, allocations: 104.4 MB / 0.5319 GB, free: 16.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/5.061, allocations: 98.71 MB / 0.6283 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/5.338, allocations: 126.2 MB / 0.7516 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004486/5.339, allocations: 83.94 kB / 0.7516 GB, free: 2.305 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.05152/5.39, allocations: 7.548 MB / 0.759 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/5.39, allocations: 15.94 kB / 0.759 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/5.39, allocations: 75.28 kB / 0.7591 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/5.391, allocations: 250.3 kB / 0.7593 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.01e-05/5.391, allocations: 150.6 kB / 0.7595 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/5.391, allocations: 154.5 kB / 0.7596 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.009e-05/5.391, allocations: 154.5 kB / 0.7598 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/5.391, allocations: 105 kB / 0.7599 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/5.391, allocations: 75.28 kB / 0.7599 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/5.391, allocations: 158.5 kB / 0.7601 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/5.391, allocations: 154.5 kB / 0.7602 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/5.392, allocations: 434.5 kB / 0.7607 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/5.392, allocations: 165.1 kB / 0.7608 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/5.392, allocations: 88.14 kB / 0.7609 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/5.392, allocations: 75.28 kB / 0.761 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.908e-05/5.392, allocations: 113.8 kB / 0.7611 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 3.006e-06/5.392, allocations: 0 / 0.7611 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001442/5.392, allocations: 29.64 kB / 0.7611 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/5.392, allocations: 51.41 kB / 0.7612 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/5.393, allocations: 101 kB / 0.7612 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/5.393, allocations: 29.7 kB / 0.7613 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/5.393, allocations: 80.14 kB / 0.7614 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/5.393, allocations: 0 / 0.7614 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/5.393, allocations: 0 / 0.7614 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001784/5.393, allocations: 310.8 kB / 0.7616 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/5.393, allocations: 8 kB / 0.7617 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/5.393, allocations: 18.58 kB / 0.7617 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/5.394, allocations: 27.88 kB / 0.7617 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/5.394, allocations: 0 / 0.7617 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004687/5.394, allocations: 65.59 kB / 0.7618 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/5.394, allocations: 4 kB / 0.7618 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/5.394, allocations: 0 / 0.7618 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/5.394, allocations: 4 kB / 0.7618 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/5.394, allocations: 4 kB / 0.7618 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/5.394, allocations: 256 / 0.7618 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/5.395, allocations: 15.94 kB / 0.7618 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/5.395, allocations: 4 kB / 0.7618 GB, free: 7.676 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001557/5.395, allocations: 188.2 kB / 0.762 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/5.395, allocations: 105 kB / 0.7621 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/5.395, allocations: 107.9 kB / 0.7622 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.45e-05/5.395, allocations: 188.1 kB / 0.7624 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.871e-05/5.395, allocations: 180.3 kB / 0.7625 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-05/5.395, allocations: 184.2 kB / 0.7627 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/5.396, allocations: 385.7 kB / 0.7631 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.437e-05/5.396, allocations: 104.9 kB / 0.7632 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/5.396, allocations: 105 kB / 0.7633 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.336e-05/5.396, allocations: 184.2 kB / 0.7634 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/5.396, allocations: 180.3 kB / 0.7636 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-05/5.396, allocations: 180.3 kB / 0.7638 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.977e-05/5.396, allocations: 180.2 kB / 0.764 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002199/5.397, allocations: 311.7 kB / 0.7643 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004772/5.397, allocations: 0.6758 MB / 0.7649 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/5.397, allocations: 178.4 kB / 0.7651 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/5.397, allocations: 184.2 kB / 0.7653 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/5.397, allocations: 109 kB / 0.7654 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/5.398, allocations: 180.3 kB / 0.7655 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/5.398, allocations: 108.9 kB / 0.7656 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.83e-05/5.398, allocations: 79.28 kB / 0.7657 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002203/5.4, allocations: 135.8 kB / 0.7659 GB, free: 3.281 MB / 0.6387 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 (0): * Single equations (assignments): 0 * 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.001733/5.402, allocations: 487 kB / 0.7663 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001404/5.402, allocations: 11.94 kB / 0.7663 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.402, allocations: 0 / 0.7663 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/5.402, allocations: 0 / 0.7663 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/5.402, allocations: 0.5226 MB / 0.7668 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/5.403, allocations: 127.1 kB / 0.767 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/5.403, allocations: 0.6918 MB / 0.7676 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/5.403, allocations: 0 / 0.7676 GB, free: 1.398 MB / 0.6387 GB