Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [: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.137/2.137, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001678/0.001677, allocations: 177.2 kB / 319.6 MB, free: 3.316 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.003/2.003, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001349/0.001349, allocations: 87.33 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.148e-06/9.307e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1961, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.424/1.621, allocations: 394.2 MB / 1.273 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.621, allocations: 83.95 kB / 1.273 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.5334/2.154, allocations: 162.3 MB / 1.432 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.755e-05/2.155, allocations: 19.92 kB / 1.432 GB, free: 171.7 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001253/2.156, allocations: 0.6576 MB / 1.432 GB, free: 171 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/2.156, allocations: 12.03 kB / 1.432 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/2.156, allocations: 43.44 kB / 1.432 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07005/2.226, allocations: 13.38 MB / 1.445 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/2.226, allocations: 4 kB / 1.445 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/2.226, allocations: 12 kB / 1.445 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005031/2.227, allocations: 104.6 kB / 1.446 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/2.227, allocations: 131.8 kB / 1.446 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/2.227, allocations: 0 / 1.446 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/2.227, allocations: 0 / 1.446 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/2.227, allocations: 4 kB / 1.446 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/2.23, allocations: 0.8167 MB / 1.446 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/2.23, allocations: 94.67 kB / 1.447 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/2.231, allocations: 57.06 kB / 1.447 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/2.231, allocations: 336.4 kB / 1.447 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/2.231, allocations: 42.45 kB / 1.447 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 4.969e-06/2.231, allocations: 0 / 1.447 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0008634/2.232, allocations: 141.2 kB / 1.447 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/2.232, allocations: 51.41 kB / 1.447 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/2.233, allocations: 242.1 kB / 1.447 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/2.233, allocations: 25.7 kB / 1.447 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/2.233, allocations: 148.3 kB / 1.448 GB, free: 155 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/2.233, allocations: 47.3 kB / 1.448 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/2.233, allocations: 0 / 1.448 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/2.233, allocations: 342.8 kB / 1.448 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/2.233, allocations: 27.98 kB / 1.448 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/2.234, allocations: 86.78 kB / 1.448 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/2.234, allocations: 43.91 kB / 1.448 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/2.234, allocations: 4 kB / 1.448 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007178/2.235, allocations: 145.2 kB / 1.448 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/2.235, allocations: 181.9 kB / 1.448 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/2.235, allocations: 3.984 kB / 1.448 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/2.235, allocations: 0 / 1.448 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/2.235, allocations: 31.98 kB / 1.448 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/2.235, allocations: 0 / 1.448 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/2.236, allocations: 23.97 kB / 1.448 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/2.236, allocations: 8 kB / 1.448 GB, free: 154 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/2.236, allocations: 4 kB / 1.448 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005661/2.237, allocations: 75.89 kB / 1.449 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/2.237, allocations: 4 kB / 1.449 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/2.237, allocations: 3.906 kB / 1.449 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/2.237, allocations: 31.92 kB / 1.449 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/2.237, allocations: 4 kB / 1.449 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/2.238, allocations: 31.91 kB / 1.449 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/2.238, allocations: 7.984 kB / 1.449 GB, free: 153.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001457/2.238, allocations: 108.2 kB / 1.449 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/2.238, allocations: 31.62 kB / 1.449 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/2.239, allocations: 196.7 kB / 1.449 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/2.239, allocations: 7.906 kB / 1.449 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/2.239, allocations: 0 / 1.449 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/2.239, allocations: 3.984 kB / 1.449 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/2.241, allocations: 0.5208 MB / 1.449 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/2.241, allocations: 3.984 kB / 1.449 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/2.241, allocations: 36.02 kB / 1.449 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/2.241, allocations: 4 kB / 1.449 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/2.241, allocations: 3.906 kB / 1.449 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/2.242, allocations: 0 / 1.449 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/2.242, allocations: 4 kB / 1.449 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007901/2.242, allocations: 314 kB / 1.45 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/2.243, allocations: 124.6 kB / 1.45 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/2.243, allocations: 7.938 kB / 1.45 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/2.243, allocations: 27.91 kB / 1.45 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/2.243, allocations: 11.98 kB / 1.45 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/2.244, allocations: 8 kB / 1.45 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003958/2.244, allocations: 192.6 kB / 1.45 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001348/2.245, allocations: 163.7 kB / 1.45 GB, free: 152 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001017/2.246, allocations: 298.1 kB / 1.451 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006814/2.247, allocations: 149.9 kB / 1.451 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/2.247, allocations: 0 / 1.451 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/2.247, allocations: 59.92 kB / 1.451 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/2.249, allocations: 117.9 kB / 1.451 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/2.251, allocations: 382.9 kB / 1.451 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/2.251, allocations: 0.8381 MB / 1.452 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of SimCode: time 3.526e-06/2.251, allocations: 0 / 1.452 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.02963/2.281, allocations: 6.243 MB / 1.458 GB, free: 143.9 MB / 0.8698 GB