Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") [: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.168/2.168, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.001577/0.001577, allocations: 181.3 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.86/1.86, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.001297/0.001297, allocations: 102.3 kB / 0.6746 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.456e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.871/6.096, allocations: 2.201 GB / 3.089 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/6.096, allocations: 82.45 kB / 3.089 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.544/9.64, allocations: 0.7616 GB / 3.851 GB, free: 59.31 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001443/9.64, allocations: 28.12 kB / 3.851 GB, free: 59.28 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003831/9.644, allocations: 1.187 MB / 3.852 GB, free: 58.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/9.644, allocations: 12.03 kB / 3.852 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/9.647, allocations: 270.5 kB / 3.852 GB, free: 57.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/9.651, allocations: 0.8041 MB / 3.853 GB, free: 56.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/9.651, allocations: 20 kB / 3.853 GB, free: 56.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/9.651, allocations: 32 kB / 3.853 GB, free: 56.87 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001707/9.653, allocations: 0.5564 MB / 3.854 GB, free: 56.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/9.654, allocations: 0.5228 MB / 3.854 GB, free: 55.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/9.654, allocations: 0 / 3.854 GB, free: 55.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/9.654, allocations: 3.984 kB / 3.854 GB, free: 55.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/9.654, allocations: 12 kB / 3.854 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007113/9.661, allocations: 2.901 MB / 3.857 GB, free: 52.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/9.662, allocations: 375.1 kB / 3.857 GB, free: 52.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/9.663, allocations: 261.4 kB / 3.858 GB, free: 52.01 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/9.664, allocations: 0.6406 MB / 3.858 GB, free: 51.24 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/9.664, allocations: 34.88 kB / 3.858 GB, free: 51.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 3.737e-06/9.664, allocations: 4 kB / 3.858 GB, free: 51.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.00381/9.668, allocations: 0.7602 MB / 3.859 GB, free: 50.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/9.668, allocations: 59.34 kB / 3.859 GB, free: 50.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/9.669, allocations: 459.7 kB / 3.86 GB, free: 49.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/9.669, allocations: 33.7 kB / 3.86 GB, free: 49.87 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/9.669, allocations: 252.5 kB / 3.86 GB, free: 49.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/9.669, allocations: 138 kB / 3.86 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/9.669, allocations: 0 / 3.86 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001312/9.67, allocations: 378.7 kB / 3.86 GB, free: 49.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/9.67, allocations: 188.4 kB / 3.86 GB, free: 48.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/9.671, allocations: 300.8 kB / 3.861 GB, free: 48.58 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/9.672, allocations: 316.2 kB / 3.861 GB, free: 48.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/9.672, allocations: 3.938 kB / 3.861 GB, free: 48.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002082/9.674, allocations: 0.629 MB / 3.862 GB, free: 47.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/9.674, allocations: 4 kB / 3.862 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/9.674, allocations: 0 / 3.862 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/9.674, allocations: 4 kB / 3.862 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/9.675, allocations: 112 kB / 3.862 GB, free: 47.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/9.675, allocations: 4 kB / 3.862 GB, free: 47.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/9.677, allocations: 67.69 kB / 3.862 GB, free: 47.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/9.677, allocations: 23.98 kB / 3.862 GB, free: 47.42 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001765/9.677, allocations: 117.2 kB / 3.862 GB, free: 47.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/9.677, allocations: 67.16 kB / 3.862 GB, free: 47.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/9.679, allocations: 0.6789 MB / 3.863 GB, free: 46.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/9.68, allocations: 4 kB / 3.863 GB, free: 46.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/9.68, allocations: 3.984 kB / 3.863 GB, free: 46.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/9.68, allocations: 4 kB / 3.863 GB, free: 46.53 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/9.684, allocations: 1.479 MB / 3.864 GB, free: 44.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/9.684, allocations: 7.984 kB / 3.864 GB, free: 44.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/9.685, allocations: 94.89 kB / 3.864 GB, free: 44.87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/9.685, allocations: 8 kB / 3.864 GB, free: 44.86 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/9.685, allocations: 12.16 kB / 3.864 GB, free: 44.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/9.685, allocations: 4 kB / 3.864 GB, free: 44.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/9.685, allocations: 7.938 kB / 3.864 GB, free: 44.84 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002538/9.687, allocations: 1.196 MB / 3.865 GB, free: 43.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/9.688, allocations: 188.1 kB / 3.866 GB, free: 43.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/9.688, allocations: 4 kB / 3.866 GB, free: 43.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/9.689, allocations: 59.78 kB / 3.866 GB, free: 43.24 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/9.689, allocations: 35.95 kB / 3.866 GB, free: 43.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/9.69, allocations: 12 kB / 3.866 GB, free: 43.19 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006168/9.69, allocations: 359.2 kB / 3.866 GB, free: 42.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001602/9.692, allocations: 347.5 kB / 3.866 GB, free: 42.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.003781/9.696, allocations: 2.375 MB / 3.869 GB, free: 39.99 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001405/9.697, allocations: 463.5 kB / 3.869 GB, free: 39.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/9.697, allocations: 0 / 3.869 GB, free: 39.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/9.698, allocations: 244.2 kB / 3.869 GB, free: 39.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/9.702, allocations: 386.5 kB / 3.87 GB, free: 38.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009609/9.711, allocations: 1.478 MB / 3.871 GB, free: 37.37 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/9.712, allocations: 1.049 MB / 3.872 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.353e-06/9.712, allocations: 0 / 3.872 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.0681/9.781, allocations: 24.16 MB / 3.896 GB, free: 12.32 MB / 0.8698 GB