Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") [: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.165/2.165, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.001666/0.001666, allocations: 185.2 kB / 319.6 MB, free: 3.332 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.808/1.808, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001327/0.001327, allocations: 90.08 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.293e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2027, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.608/1.811, allocations: 415.2 MB / 1.293 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003847/1.812, allocations: 87.42 kB / 1.294 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.525/7.337, allocations: 1.308 GB / 2.601 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007852/7.338, allocations: 95.95 kB / 2.601 GB, free: 1.027 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.4165/7.754, allocations: 3.394 MB / 2.605 GB, free: 224.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/7.754, allocations: 7.344 kB / 2.605 GB, free: 224.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/7.759, allocations: 0.5538 MB / 2.605 GB, free: 224.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02183/7.781, allocations: 4.362 MB / 2.609 GB, free: 223.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/7.782, allocations: 50.25 kB / 2.609 GB, free: 223.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007148/7.782, allocations: 111.4 kB / 2.61 GB, free: 223.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005545/7.788, allocations: 1.642 MB / 2.611 GB, free: 223.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005856/7.794, allocations: 1.828 MB / 2.613 GB, free: 223.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.961e-05/7.794, allocations: 7.125 kB / 2.613 GB, free: 223.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/7.794, allocations: 9.812 kB / 2.613 GB, free: 223.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/7.794, allocations: 41.28 kB / 2.613 GB, free: 223.4 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/7.818, allocations: 11.52 MB / 2.624 GB, free: 217.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/7.821, allocations: 1.21 MB / 2.625 GB, free: 217.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/7.823, allocations: 0.9074 MB / 2.626 GB, free: 217.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009563/7.833, allocations: 3.359 MB / 2.63 GB, free: 215.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/7.834, allocations: 0.6563 MB / 2.63 GB, free: 215.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 5.37e-06/7.834, allocations: 2.625 kB / 2.63 GB, free: 215.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.007979/7.842, allocations: 2.017 MB / 2.632 GB, free: 215.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/7.842, allocations: 67.03 kB / 2.632 GB, free: 215.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006522/7.849, allocations: 2.229 MB / 2.634 GB, free: 214.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004423/7.849, allocations: 32.67 kB / 2.634 GB, free: 214.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/7.851, allocations: 0.8412 MB / 2.635 GB, free: 214.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007153/7.851, allocations: 335.3 kB / 2.636 GB, free: 214.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/7.852, allocations: 0 / 2.636 GB, free: 214.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001338/7.852, allocations: 359.7 kB / 2.636 GB, free: 214 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/7.853, allocations: 0.557 MB / 2.636 GB, free: 214 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/7.855, allocations: 1.288 MB / 2.638 GB, free: 213.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/7.859, allocations: 0.8655 MB / 2.639 GB, free: 213.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/7.859, allocations: 3.969 kB / 2.639 GB, free: 213.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009382/7.868, allocations: 2.468 MB / 2.641 GB, free: 212.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001356/7.87, allocations: 5.905 MB / 2.647 GB, free: 206.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-05/7.87, allocations: 15.72 kB / 2.647 GB, free: 206.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/7.872, allocations: 443.8 kB / 2.647 GB, free: 206.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/7.874, allocations: 287.3 kB / 2.647 GB, free: 206.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/7.877, allocations: 2.071 MB / 2.649 GB, free: 205.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004373/7.882, allocations: 218.2 kB / 2.65 GB, free: 205.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/7.882, allocations: 81.55 kB / 2.65 GB, free: 205.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/7.883, allocations: 3.812 kB / 2.65 GB, free: 205.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007/7.89, allocations: 2.065 MB / 2.652 GB, free: 205.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-05/7.89, allocations: 16 kB / 2.652 GB, free: 205.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/7.891, allocations: 409.3 kB / 2.652 GB, free: 205.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/7.894, allocations: 284.1 kB / 2.652 GB, free: 205.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/7.904, allocations: 5.394 MB / 2.658 GB, free: 202.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/7.908, allocations: 186.1 kB / 2.658 GB, free: 202.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/7.909, allocations: 78.62 kB / 2.658 GB, free: 202.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006449/7.909, allocations: 157.8 kB / 2.658 GB, free: 202.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/7.91, allocations: 280.1 kB / 2.658 GB, free: 202.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/7.921, allocations: 2.328 MB / 2.661 GB, free: 202.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/7.921, allocations: 20.89 kB / 2.661 GB, free: 202.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/7.921, allocations: 3.844 kB / 2.661 GB, free: 202.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005423/7.926, allocations: 1.899 MB / 2.663 GB, free: 201.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/7.939, allocations: 3.927 MB / 2.666 GB, free: 201.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/7.939, allocations: 0 / 2.666 GB, free: 201.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/7.941, allocations: 180.9 kB / 2.667 GB, free: 201.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/7.942, allocations: 389 kB / 2.667 GB, free: 201.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/7.943, allocations: 25.02 kB / 2.667 GB, free: 201.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/7.945, allocations: 1.915 MB / 2.669 GB, free: 200.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/7.945, allocations: 0 / 2.669 GB, free: 200.2 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008102/7.953, allocations: 2.898 MB / 2.672 GB, free: 199.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/7.956, allocations: 498.5 kB / 2.672 GB, free: 199.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/7.957, allocations: 10.34 kB / 2.672 GB, free: 199.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/7.96, allocations: 121.4 kB / 2.672 GB, free: 199.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/7.96, allocations: 82.78 kB / 2.672 GB, free: 199.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/7.961, allocations: 52.81 kB / 2.672 GB, free: 199.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.004291/7.965, allocations: 1.701 MB / 2.674 GB, free: 199.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.008141/7.973, allocations: 1.366 MB / 2.675 GB, free: 199.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002742/7.976, allocations: 1.028 MB / 2.676 GB, free: 199.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008941/7.985, allocations: 2.716 MB / 2.679 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/7.985, allocations: 0 / 2.679 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/7.987, allocations: 0.6858 MB / 2.68 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009202/7.996, allocations: 1.033 MB / 2.681 GB, free: 198.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/8.01, allocations: 4.058 MB / 2.685 GB, free: 197.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005371/8.015, allocations: 2.34 MB / 2.687 GB, free: 197.1 MB / 0.9011 GB Notification: Performance of SimCode: time 2.324e-06/8.015, allocations: 0 / 2.687 GB, free: 197.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.1549/8.17, allocations: 58.92 MB / 2.745 GB, free: 195.3 MB / 0.9011 GB