Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.058/2.058, allocations: 253.1 MB / 260.4 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 189.2 kB / 319.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 82.58 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.649e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2199, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6612/0.8812, allocations: 134.1 MB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.8815, allocations: 81.38 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03779/0.9193, allocations: 7.202 MB / 1.026 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.734e-05/0.9194, allocations: 12 kB / 1.026 GB, free: 14.18 MB / 0.6511 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.001556/0.921, allocations: 0.5597 MB / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.9211, allocations: 8.031 kB / 1.027 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.9215, allocations: 31.62 kB / 1.027 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.9224, allocations: 302.7 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.9224, allocations: 15.83 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.9225, allocations: 11.94 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003624/0.9229, allocations: 87.98 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.9233, allocations: 161.2 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.9233, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.9233, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.9234, allocations: 4 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.9252, allocations: 0.9245 MB / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.9262, allocations: 176.6 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.9264, allocations: 55.94 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.9265, allocations: 0 / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.9265, allocations: 41.69 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.9265, allocations: 0 / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0007187/0.9272, allocations: 146.3 kB / 1.029 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.9273, allocations: 81.11 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.9277, allocations: 216.2 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.9277, allocations: 25.7 kB / 1.029 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.9278, allocations: 138 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.928, allocations: 51.02 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.928, allocations: 0 / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9282, allocations: 337.6 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.9283, allocations: 46.05 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.9285, allocations: 84.2 kB / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.9288, allocations: 52.55 kB / 1.03 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9288, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006633/0.9295, allocations: 178.1 kB / 1.03 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9295, allocations: 4 kB / 1.03 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9295, allocations: 3.906 kB / 1.03 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9296, allocations: 4.156 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.9302, allocations: 87.81 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9303, allocations: 4.328 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.9308, allocations: 51.75 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.9309, allocations: 8 kB / 1.03 GB, free: 10.45 MB / 0.6511 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.0001222/0.931, allocations: 108.9 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.9312, allocations: 27.62 kB / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.9319, allocations: 186.3 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.9319, allocations: 4 kB / 1.03 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.9319, allocations: 7.922 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.9319, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.9325, allocations: 254.9 kB / 1.03 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9325, allocations: 4 kB / 1.03 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.9331, allocations: 63.95 kB / 1.031 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.9331, allocations: 4 kB / 1.031 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.9332, allocations: 7.906 kB / 1.031 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.9332, allocations: 3.984 kB / 1.031 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.9332, allocations: 4 kB / 1.031 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006959/0.9339, allocations: 344.2 kB / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.934, allocations: 96.83 kB / 1.031 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.9341, allocations: 3.984 kB / 1.031 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/0.9347, allocations: 43.97 kB / 1.031 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.9348, allocations: 23.12 kB / 1.031 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.9348, allocations: 7.5 kB / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002462/0.9351, allocations: 166.6 kB / 1.031 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005344/0.9356, allocations: 52.19 kB / 1.031 GB, free: 9.113 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.00027/0.9359, allocations: 127.1 kB / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.9364, allocations: 125.3 kB / 1.032 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9364, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.9366, allocations: 74.23 kB / 1.032 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.9373, allocations: 68.39 kB / 1.032 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.9384, allocations: 299.9 kB / 1.032 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.939, allocations: 0.782 MB / 1.033 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of SimCode: time 2.014e-06/0.939, allocations: 0 / 1.033 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of Templates: time 0.01227/0.9513, allocations: 3.449 MB / 1.036 GB, free: 4.309 MB / 0.6511 GB