Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.738/3.738, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5021/4.24, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/4.46, allocations: 98.72 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/4.696, allocations: 126.1 MB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/4.696, allocations: 79.59 kB / 0.7515 GB, free: 11.41 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0396/4.736, allocations: 7.632 MB / 0.759 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/4.736, allocations: 12 kB / 0.759 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/4.736, allocations: 39.59 kB / 0.759 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008204/4.737, allocations: 302.1 kB / 0.7593 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/4.737, allocations: 4 kB / 0.7593 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/4.737, allocations: 8 kB / 0.7593 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003877/4.738, allocations: 96.48 kB / 0.7594 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/4.738, allocations: 156.5 kB / 0.7596 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/4.738, allocations: 4 kB / 0.7596 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/4.738, allocations: 0 / 0.7596 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/4.738, allocations: 4 kB / 0.7596 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/4.74, allocations: 0.9193 MB / 0.7605 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/4.741, allocations: 173.3 kB / 0.7606 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/4.741, allocations: 53.72 kB / 0.7607 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/4.741, allocations: 8.312 kB / 0.7607 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/4.741, allocations: 34.55 kB / 0.7607 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/4.741, allocations: 0 / 0.7607 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0007739/4.742, allocations: 149.2 kB / 0.7609 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/4.742, allocations: 77.11 kB / 0.7609 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/4.742, allocations: 219.4 kB / 0.7611 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/4.742, allocations: 25.7 kB / 0.7612 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/4.743, allocations: 136.2 kB / 0.7613 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/4.743, allocations: 55.2 kB / 0.7613 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/4.743, allocations: 0 / 0.7613 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001352/4.743, allocations: 330.8 kB / 0.7617 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/4.743, allocations: 47.98 kB / 0.7617 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/4.743, allocations: 89.2 kB / 0.7618 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/4.744, allocations: 55.97 kB / 0.7618 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/4.744, allocations: 0 / 0.7618 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006903/4.744, allocations: 177.2 kB / 0.762 GB, free: 372 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/4.744, allocations: 11.98 kB / 0.762 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/4.744, allocations: 8.094 kB / 0.762 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/4.744, allocations: 4 kB / 0.762 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/4.745, allocations: 79.89 kB / 0.7621 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/4.745, allocations: 0 / 0.7621 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/4.746, allocations: 55.8 kB / 0.7622 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/4.746, allocations: 4 kB / 0.7622 GB, free: 208 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001098/4.746, allocations: 108.9 kB / 0.7623 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/4.746, allocations: 27.62 kB / 0.7623 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/4.747, allocations: 187.7 kB / 0.7625 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/4.747, allocations: 4 kB / 0.7625 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/4.747, allocations: 4.094 kB / 0.7625 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/4.747, allocations: 3.938 kB / 0.7625 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/4.747, allocations: 261.8 kB / 0.7627 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/4.747, allocations: 0 / 0.7627 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/4.748, allocations: 75.86 kB / 0.7628 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/4.748, allocations: 0 / 0.7628 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/4.748, allocations: 0 / 0.7628 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/4.748, allocations: 4 kB / 0.7628 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/4.748, allocations: 3.938 kB / 0.7628 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007271/4.749, allocations: 345.5 kB / 0.7632 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008341/4.75, allocations: 0.7198 MB / 0.7639 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/4.75, allocations: 96.83 kB / 0.7639 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/4.75, allocations: 7.891 kB / 0.764 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/4.75, allocations: 43.95 kB / 0.764 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/4.75, allocations: 15.97 kB / 0.764 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/4.75, allocations: 12 kB / 0.764 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003646/4.751, allocations: 167.1 kB / 0.7642 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002053/4.753, allocations: 60.09 kB / 0.7642 GB, free: 13.96 MB / 0.6511 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 (20): * Single equations (assignments): 20 * 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.0003308/4.753, allocations: 119.2 kB / 0.7644 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000498/4.754, allocations: 126.8 kB / 0.7645 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/4.754, allocations: 0 / 0.7645 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/4.754, allocations: 72.19 kB / 0.7645 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/4.755, allocations: 61.44 kB / 0.7646 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/4.756, allocations: 297.7 kB / 0.7649 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/4.757, allocations: 0.794 MB / 0.7657 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/4.757, allocations: 0 / 0.7657 GB, free: 12.45 MB / 0.6511 GB