Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_AirProperties",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.859/3.859, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.613/4.472, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/4.724, allocations: 98.72 MB / 0.6283 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.697/10.42, allocations: 2.2 GB / 2.828 GB, free: 150.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/10.42, allocations: 71.91 kB / 2.828 GB, free: 150.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.2243/10.65, allocations: 50.51 MB / 2.877 GB, free: 108.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/10.65, allocations: 12 kB / 2.877 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/10.65, allocations: 155.3 kB / 2.877 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/10.65, allocations: 222.6 kB / 2.878 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/10.65, allocations: 7.938 kB / 2.878 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/10.65, allocations: 16 kB / 2.878 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008666/10.65, allocations: 318.6 kB / 2.878 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/10.65, allocations: 292.9 kB / 2.878 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/10.65, allocations: 0 / 2.878 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/10.65, allocations: 0 / 2.878 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/10.65, allocations: 16.31 kB / 2.878 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/10.65, allocations: 1.144 MB / 2.879 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/10.65, allocations: 182.2 kB / 2.879 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/10.65, allocations: 71.95 kB / 2.88 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/10.65, allocations: 358.3 kB / 2.88 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/10.65, allocations: 36.06 kB / 2.88 GB, free: 106.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/10.65, allocations: 0 / 2.88 GB, free: 106.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0007668/10.66, allocations: 178.9 kB / 2.88 GB, free: 105.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/10.66, allocations: 55.41 kB / 2.88 GB, free: 105.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/10.66, allocations: 153 kB / 2.88 GB, free: 105.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/10.66, allocations: 25.7 kB / 2.88 GB, free: 105.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/10.66, allocations: 154.1 kB / 2.88 GB, free: 105.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/10.66, allocations: 65.27 kB / 2.881 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/10.66, allocations: 4 kB / 2.881 GB, free: 105.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/10.66, allocations: 324.6 kB / 2.881 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/10.66, allocations: 71.23 kB / 2.881 GB, free: 105.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/10.66, allocations: 155.7 kB / 2.881 GB, free: 104.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/10.66, allocations: 90.69 kB / 2.881 GB, free: 104.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/10.66, allocations: 4 kB / 2.881 GB, free: 104.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008877/10.66, allocations: 251 kB / 2.881 GB, free: 104.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/10.66, allocations: 4 kB / 2.881 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/10.66, allocations: 8.391 kB / 2.881 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/10.66, allocations: 8 kB / 2.881 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/10.66, allocations: 51.92 kB / 2.881 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/10.66, allocations: 7.906 kB / 2.881 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/10.66, allocations: 27.67 kB / 2.881 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/10.66, allocations: 15.56 kB / 2.882 GB, free: 104.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000188/10.66, allocations: 113.7 kB / 2.882 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/10.66, allocations: 19.75 kB / 2.882 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/10.66, allocations: 232.4 kB / 2.882 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/10.66, allocations: 0 / 2.882 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/10.66, allocations: 0 / 2.882 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/10.66, allocations: 3.984 kB / 2.882 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009692/10.66, allocations: 490.6 kB / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/10.66, allocations: 0 / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/10.66, allocations: 32.02 kB / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/10.66, allocations: 0 / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/10.66, allocations: 4 kB / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/10.66, allocations: 0 / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/10.66, allocations: 0 / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007302/10.66, allocations: 296.8 kB / 2.883 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001184/10.66, allocations: 0.6886 MB / 2.883 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/10.66, allocations: 116.6 kB / 2.883 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/10.66, allocations: 4 kB / 2.883 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/10.67, allocations: 11.89 kB / 2.883 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/10.67, allocations: 13.73 kB / 2.883 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/10.67, allocations: 14.56 kB / 2.883 GB, free: 102.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001872/10.67, allocations: 123.8 kB / 2.884 GB, free: 102.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003033/10.67, allocations: 202.1 kB / 2.884 GB, free: 102.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001864/10.67, allocations: 0.7336 MB / 2.885 GB, free: 101.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007776/10.67, allocations: 176 kB / 2.885 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/10.67, allocations: 3.938 kB / 2.885 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/10.67, allocations: 79.72 kB / 2.885 GB, free: 101.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/10.67, allocations: 43.69 kB / 2.885 GB, free: 101.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/10.67, allocations: 235.5 kB / 2.885 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/10.67, allocations: 0.7622 MB / 2.886 GB, free: 100.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.542e-06/10.67, allocations: 0 / 2.886 GB, free: 100.3 MB / 0.823 GB