Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") [: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.238/2.238, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.00171/0.001709, allocations: 184.9 kB / 319.6 MB, free: 3.328 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.051/2.051, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001282/0.001282, allocations: 94.69 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.797e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 106.3 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.514/5.732, allocations: 2.2 GB / 3.089 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/5.732, allocations: 89.2 kB / 3.089 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.46/10.19, allocations: 0.8896 GB / 3.978 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001844/10.19, allocations: 40.25 kB / 3.978 GB, free: 129.4 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.005381/10.2, allocations: 1.535 MB / 3.98 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/10.2, allocations: 7.312 kB / 3.98 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/10.2, allocations: 425.9 kB / 3.98 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/10.21, allocations: 1.094 MB / 3.981 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/10.21, allocations: 26.22 kB / 3.981 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/10.21, allocations: 54.17 kB / 3.981 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002403/10.21, allocations: 0.742 MB / 3.982 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/10.21, allocations: 0.7331 MB / 3.983 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/10.21, allocations: 0 / 3.983 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/10.21, allocations: 3.469 kB / 3.983 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/10.21, allocations: 25.72 kB / 3.983 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008496/10.22, allocations: 3.809 MB / 3.987 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/10.22, allocations: 0.5874 MB / 3.987 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/10.22, allocations: 360.9 kB / 3.987 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/10.22, allocations: 0.6434 MB / 3.988 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/10.22, allocations: 41.22 kB / 3.988 GB, free: 126 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 3.296e-06/10.22, allocations: 0 / 3.988 GB, free: 126 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.004573/10.23, allocations: 0.9088 MB / 3.989 GB, free: 126 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/10.23, allocations: 57.22 kB / 3.989 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/10.23, allocations: 0.6028 MB / 3.99 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/10.23, allocations: 25.7 kB / 3.99 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/10.23, allocations: 349.9 kB / 3.99 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/10.23, allocations: 203.3 kB / 3.99 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/10.23, allocations: 7.719 kB / 3.99 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/10.23, allocations: 326.9 kB / 3.99 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/10.23, allocations: 234.8 kB / 3.991 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/10.23, allocations: 376.9 kB / 3.991 GB, free: 125 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/10.23, allocations: 377.6 kB / 3.991 GB, free: 125 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/10.23, allocations: 0 / 3.991 GB, free: 125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002378/10.24, allocations: 0.7761 MB / 3.992 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/10.24, allocations: 454.6 kB / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/10.24, allocations: 0 / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/10.24, allocations: 3.75 kB / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/10.24, allocations: 142.8 kB / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/10.24, allocations: 3.812 kB / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/10.24, allocations: 110.4 kB / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/10.24, allocations: 29.38 kB / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/10.24, allocations: 3.719 kB / 3.993 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002069/10.24, allocations: 0.6432 MB / 3.994 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/10.24, allocations: 7.062 kB / 3.994 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/10.24, allocations: 6.344 kB / 3.994 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/10.24, allocations: 142.1 kB / 3.994 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/10.24, allocations: 2.625 kB / 3.994 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/10.25, allocations: 115.8 kB / 3.994 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/10.25, allocations: 22.03 kB / 3.994 GB, free: 124.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002821/10.25, allocations: 116 kB / 3.994 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/10.25, allocations: 97.31 kB / 3.994 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/10.25, allocations: 0.8082 MB / 3.995 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/10.25, allocations: 3.281 kB / 3.995 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/10.25, allocations: 3.312 kB / 3.995 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/10.25, allocations: 0.9687 MB / 3.996 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006002/10.26, allocations: 1.992 MB / 3.998 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/10.26, allocations: 3.469 kB / 3.998 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/10.26, allocations: 161.9 kB / 3.998 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.809e-05/10.26, allocations: 3.562 kB / 3.998 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.321e-05/10.26, allocations: 16.34 kB / 3.998 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/10.26, allocations: 9.844 kB / 3.998 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/10.26, allocations: 3.031 kB / 3.998 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003223/10.26, allocations: 1.423 MB / 3.999 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009621/10.26, allocations: 266.7 kB / 4 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/10.26, allocations: 7.531 kB / 4 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/10.27, allocations: 125.1 kB / 4 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/10.27, allocations: 48.41 kB / 4 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/10.27, allocations: 19.56 kB / 4 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001017/10.27, allocations: 481.9 kB / 4 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003224/10.27, allocations: 0.6962 MB / 4.001 GB, free: 122.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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 (63): * Single equations (assignments): 63 * 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.005693/10.28, allocations: 2.596 MB / 4.003 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002661/10.28, allocations: 0.9257 MB / 4.004 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/10.28, allocations: 0 / 4.004 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008841/10.28, allocations: 324.7 kB / 4.005 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006314/10.29, allocations: 0.5984 MB / 4.005 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/10.29, allocations: 1.739 MB / 4.007 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/10.29, allocations: 1.245 MB / 4.008 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.583e-06/10.29, allocations: 0 / 4.008 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.08846/10.38, allocations: 35.25 MB / 4.043 GB, free: 119.5 MB / 0.8698 GB