Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [: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.231/2.231, allocations: 253.1 MB / 260.4 MB, free: 7.426 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.001696/0.001696, allocations: 169.3 kB / 319.6 MB, free: 3.27 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 2.178/2.178, allocations: 205.4 MB / 0.5704 GB, free: 14.98 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.001338/0.001338, allocations: 101.9 kB / 0.6746 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.797e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2002, allocations: 106.2 MB / 0.888 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6671/0.8674, allocations: 143.8 MB / 1.028 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.8677, allocations: 84.08 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08802/0.9558, allocations: 10.76 MB / 1.039 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.027e-05/0.9559, allocations: 8 kB / 1.039 GB, free: 1.641 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001818/0.9577, allocations: 0.531 MB / 1.04 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.9578, allocations: 8.031 kB / 1.04 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/0.9588, allocations: 55.58 kB / 1.04 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.9623, allocations: 0.6259 MB / 1.04 GB, free: 496 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.9624, allocations: 0 / 1.04 GB, free: 496 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.9625, allocations: 8 kB / 1.04 GB, free: 488 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005632/0.9631, allocations: 122.9 kB / 1.04 GB, free: 396 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.9636, allocations: 126.2 kB / 1.04 GB, free: 288 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.9637, allocations: 4 kB / 1.04 GB, free: 284 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.9637, allocations: 7.984 kB / 1.04 GB, free: 276 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.9638, allocations: 3.906 kB / 1.04 GB, free: 272 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.9658, allocations: 462.5 kB / 1.041 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.9664, allocations: 144.1 kB / 1.041 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.9667, allocations: 68.61 kB / 1.041 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.9668, allocations: 7.875 kB / 1.041 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.9668, allocations: 30.56 kB / 1.041 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 4.919e-06/0.9668, allocations: 3.938 kB / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.001215/0.9681, allocations: 185 kB / 1.041 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.9682, allocations: 51.41 kB / 1.041 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/0.9689, allocations: 270.1 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.969, allocations: 25.7 kB / 1.042 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.9692, allocations: 121.6 kB / 1.042 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.9693, allocations: 35.42 kB / 1.042 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.9693, allocations: 0 / 1.042 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.9696, allocations: 336.7 kB / 1.042 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.9699, allocations: 64.66 kB / 1.042 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.9703, allocations: 133.5 kB / 1.042 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.9711, allocations: 95.12 kB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.9712, allocations: 4 kB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00144/0.9726, allocations: 250.8 kB / 1.043 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000422/0.9731, allocations: 0.7046 MB / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.9731, allocations: 0 / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.9732, allocations: 4 kB / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/0.974, allocations: 55.22 kB / 1.043 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.974, allocations: 4 kB / 1.043 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.9746, allocations: 23.83 kB / 1.043 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.9747, allocations: 15.98 kB / 1.043 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9748, allocations: 8 kB / 1.043 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/0.9758, allocations: 160.5 kB / 1.044 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.9759, allocations: 4 kB / 1.044 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9759, allocations: 3.906 kB / 1.044 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.9766, allocations: 59.73 kB / 1.044 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.9766, allocations: 4 kB / 1.044 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.9771, allocations: 19.83 kB / 1.044 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.9772, allocations: 12 kB / 1.044 GB, free: 13.14 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0002053/0.9775, allocations: 108.9 kB / 1.044 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.9776, allocations: 19.72 kB / 1.044 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.9787, allocations: 184 kB / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.9788, allocations: 0 / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.9788, allocations: 96 / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.9788, allocations: 7.922 kB / 1.044 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.9795, allocations: 237.3 kB / 1.044 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.9795, allocations: 3.906 kB / 1.044 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.98, allocations: 31.95 kB / 1.044 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.9801, allocations: 4 kB / 1.044 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.9801, allocations: 4 kB / 1.044 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9801, allocations: 0 / 1.044 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9801, allocations: 0 / 1.044 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007559/0.9809, allocations: 243.4 kB / 1.045 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.9812, allocations: 106.7 kB / 1.045 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.9813, allocations: 0 / 1.045 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.9818, allocations: 15.98 kB / 1.045 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.982, allocations: 7.984 kB / 1.045 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.9821, allocations: 4 kB / 1.045 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005572/0.9826, allocations: 208.2 kB / 1.045 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001811/0.9845, allocations: 180.3 kB / 1.045 GB, free: 11.87 MB / 0.6667 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 (9): * Single equations (assignments): 9 * 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.001676/0.9862, allocations: 388 kB / 1.045 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.9876, allocations: 253.5 kB / 1.046 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.9877, allocations: 0 / 1.046 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.9879, allocations: 42.73 kB / 1.046 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.9891, allocations: 88.27 kB / 1.046 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.991, allocations: 315.1 kB / 1.046 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/0.9921, allocations: 0.8133 MB / 1.047 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of SimCode: time 1.743e-06/0.9922, allocations: 4 kB / 1.047 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of Templates: time 0.03251/1.025, allocations: 7.401 MB / 1.054 GB, free: 2.762 MB / 0.6667 GB