Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3") [: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.038/2.038, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.00168/0.001679, allocations: 185 kB / 319.6 MB, free: 3.324 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.983/1.983, allocations: 205.4 MB / 0.5704 GB, free: 15.16 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.001332/0.001331, allocations: 102.9 kB / 0.6746 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.657e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2216, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/1.71, allocations: 398 MB / 1.277 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.71, allocations: 86.23 kB / 1.277 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.147/4.857, allocations: 0.6863 GB / 1.963 GB, free: 183 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003864/4.857, allocations: 46.83 kB / 1.963 GB, free: 183 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006903/4.864, allocations: 1.825 MB / 1.965 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/4.864, allocations: 11.75 kB / 1.965 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/4.867, allocations: 294.4 kB / 1.965 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/4.878, allocations: 2.555 MB / 1.968 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/4.878, allocations: 32.72 kB / 1.968 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/4.878, allocations: 63.78 kB / 1.968 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002612/4.881, allocations: 0.8508 MB / 1.969 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/4.883, allocations: 1.086 MB / 1.97 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.984e-05/4.883, allocations: 6.531 kB / 1.97 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/4.883, allocations: 3.969 kB / 1.97 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/4.883, allocations: 27.36 kB / 1.97 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/4.896, allocations: 6.559 MB / 1.976 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/4.898, allocations: 0.5773 MB / 1.977 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/4.898, allocations: 371 kB / 1.977 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004495/4.903, allocations: 1.658 MB / 1.979 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006969/4.904, allocations: 322.7 kB / 1.979 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.165e-06/4.904, allocations: 3.969 kB / 1.979 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.003277/4.907, allocations: 0.836 MB / 1.98 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/4.907, allocations: 55.81 kB / 1.98 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/4.91, allocations: 1.377 MB / 1.981 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002171/4.91, allocations: 33.02 kB / 1.981 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/4.911, allocations: 0.541 MB / 1.982 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/4.911, allocations: 160.2 kB / 1.982 GB, free: 176 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/4.911, allocations: 3.75 kB / 1.982 GB, free: 176 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/4.911, allocations: 337.5 kB / 1.982 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/4.912, allocations: 258 kB / 1.983 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000906/4.913, allocations: 0.7009 MB / 1.983 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/4.915, allocations: 430.4 kB / 1.984 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/4.915, allocations: 3.25 kB / 1.984 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003864/4.918, allocations: 1.128 MB / 1.985 GB, free: 175 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009396/4.919, allocations: 4.068 MB / 1.989 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/4.92, allocations: 10.88 kB / 1.989 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005543/4.92, allocations: 122 kB / 1.989 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/4.922, allocations: 180.3 kB / 1.989 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/4.923, allocations: 0.8145 MB / 1.99 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/4.925, allocations: 127.3 kB / 1.99 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/4.925, allocations: 54.27 kB / 1.99 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/4.925, allocations: 3.781 kB / 1.99 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003051/4.928, allocations: 0.9403 MB / 1.991 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/4.928, allocations: 11.75 kB / 1.991 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/4.929, allocations: 107.1 kB / 1.991 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/4.93, allocations: 171 kB / 1.991 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/4.933, allocations: 1.986 MB / 1.993 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/4.935, allocations: 102.6 kB / 1.993 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/4.935, allocations: 45.77 kB / 1.993 GB, free: 168.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003429/4.936, allocations: 137.5 kB / 1.993 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/4.936, allocations: 167.8 kB / 1.994 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/4.939, allocations: 0.9905 MB / 1.994 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/4.94, allocations: 7.938 kB / 1.994 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/4.94, allocations: 3.688 kB / 1.995 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002019/4.942, allocations: 0.8961 MB / 1.995 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/4.947, allocations: 1.947 MB / 1.997 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/4.947, allocations: 0 / 1.997 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/4.948, allocations: 96.19 kB / 1.997 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/4.948, allocations: 100 kB / 1.997 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/4.949, allocations: 10.77 kB / 1.997 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00079/4.949, allocations: 0.7562 MB / 1.998 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/4.949, allocations: 0 / 1.998 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003363/4.953, allocations: 1.295 MB / 1.999 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/4.954, allocations: 317.5 kB / 2 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/4.954, allocations: 3.844 kB / 2 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/4.956, allocations: 64.91 kB / 2 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/4.956, allocations: 45.83 kB / 2 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.322e-05/4.956, allocations: 25.39 kB / 2 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002198/4.958, allocations: 1.065 MB / 2.001 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004328/4.963, allocations: 0.8427 MB / 2.002 GB, free: 166.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002055/4.965, allocations: 0.7647 MB / 2.003 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003351/4.968, allocations: 1.306 MB / 2.004 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/4.968, allocations: 3.25 kB / 2.004 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008166/4.969, allocations: 303.7 kB / 2.004 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005301/4.975, allocations: 0.5934 MB / 2.005 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/4.981, allocations: 2.286 MB / 2.007 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/4.983, allocations: 1.666 MB / 2.009 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.253e-06/4.983, allocations: 0 / 2.009 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.0889/5.072, allocations: 33.23 MB / 2.041 GB, free: 164 MB / 0.8698 GB