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.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.914/3.914, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.549/4.463, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/4.713, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9467/5.66, allocations: 345.7 MB / 0.9659 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005159/5.66, allocations: 95.69 kB / 0.966 GB, free: 9.344 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.06991/5.73, allocations: 13.5 MB / 0.9791 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/5.73, allocations: 12 kB / 0.9792 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/5.73, allocations: 11.81 kB / 0.9792 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/5.731, allocations: 183.5 kB / 0.9793 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/5.731, allocations: 7.984 kB / 0.9793 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/5.731, allocations: 4 kB / 0.9794 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003186/5.731, allocations: 91.72 kB / 0.9794 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/5.731, allocations: 76.36 kB / 0.9795 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/5.731, allocations: 0 / 0.9795 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/5.731, allocations: 3.906 kB / 0.9795 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/5.731, allocations: 4 kB / 0.9795 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/5.732, allocations: 400.5 kB / 0.9799 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/5.732, allocations: 90.75 kB / 0.98 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/5.733, allocations: 43.11 kB / 0.98 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/5.734, allocations: 0.9233 MB / 0.9809 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/5.734, allocations: 30.56 kB / 0.981 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.875e-06/5.734, allocations: 11.94 kB / 0.981 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.00077/5.735, allocations: 142.3 kB / 0.9811 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/5.735, allocations: 51.41 kB / 0.9812 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/5.736, allocations: 143 kB / 0.9813 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/5.736, allocations: 25.7 kB / 0.9813 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/5.736, allocations: 105.7 kB / 0.9814 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/5.736, allocations: 34.41 kB / 0.9815 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/5.736, allocations: 0 / 0.9815 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001185/5.736, allocations: 326.4 kB / 0.9818 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/5.736, allocations: 44.98 kB / 0.9818 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/5.736, allocations: 84.09 kB / 0.9819 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/5.737, allocations: 150.3 kB / 0.982 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/5.737, allocations: 3.938 kB / 0.982 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002444/5.74, allocations: 260.8 kB / 0.9823 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/5.74, allocations: 12 kB / 0.9823 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/5.74, allocations: 3.984 kB / 0.9823 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/5.74, allocations: 0 / 0.9823 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/5.741, allocations: 59.47 kB / 0.9824 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/5.741, allocations: 7.938 kB / 0.9824 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/5.741, allocations: 47.59 kB / 0.9824 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/5.741, allocations: 4 kB / 0.9824 GB, free: 11.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001197/5.741, allocations: 108.9 kB / 0.9825 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/5.741, allocations: 15.81 kB / 0.9825 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/5.742, allocations: 155.6 kB / 0.9827 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/5.742, allocations: 0 / 0.9827 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/5.742, allocations: 0 / 0.9827 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/5.742, allocations: 4 kB / 0.9827 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/5.742, allocations: 184 kB / 0.9829 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/5.742, allocations: 0 / 0.9829 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/5.743, allocations: 35.98 kB / 0.9829 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/5.743, allocations: 0 / 0.9829 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/5.743, allocations: 3.984 kB / 0.9829 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/5.743, allocations: 7.906 kB / 0.9829 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/5.743, allocations: 0 / 0.9829 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006562/5.744, allocations: 244.1 kB / 0.9831 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007948/5.744, allocations: 0.6072 MB / 0.9837 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/5.744, allocations: 88.95 kB / 0.9838 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/5.745, allocations: 0 / 0.9838 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/5.745, allocations: 23.97 kB / 0.9838 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/5.745, allocations: 19.58 kB / 0.9839 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/5.745, allocations: 4 kB / 0.9839 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001082/5.745, allocations: 102.3 kB / 0.984 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001326/5.746, allocations: 67.25 kB / 0.984 GB, free: 9.75 MB / 0.7292 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 (12): * Single equations (assignments): 12 * 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.0004549/5.747, allocations: 194.8 kB / 0.9842 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003882/5.747, allocations: 108.8 kB / 0.9843 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/5.747, allocations: 0 / 0.9843 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/5.747, allocations: 46.55 kB / 0.9844 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/5.748, allocations: 15.38 kB / 0.9844 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/5.748, allocations: 154 kB / 0.9845 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/5.749, allocations: 0.7313 MB / 0.9852 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/5.749, allocations: 0 / 0.9852 GB, free: 8.52 MB / 0.7292 GB