Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4849/0.4849, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001382/0.001382, allocations: 186 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.247/1.247, allocations: 170.5 MB / 319 MB, free: 9.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001708/0.001707, allocations: 110.6 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.466e-06, allocations: 0 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1499, allocations: 61.51 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.01/11.16, allocations: 5.577 GB / 6.075 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/11.16, allocations: 86.58 kB / 6.075 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.917/14.08, allocations: 0.9247 GB / 6.999 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002624/14.08, allocations: 58.97 kB / 7 GB, free: 1.934 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.007255/14.09, allocations: 2.565 MB / 7.002 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/14.09, allocations: 8.031 kB / 7.002 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/14.09, allocations: 241.3 kB / 7.002 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3727/14.46, allocations: 28.04 MB / 7.03 GB, free: 80.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/14.46, allocations: 43.16 kB / 7.03 GB, free: 80.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/14.46, allocations: 76.59 kB / 7.03 GB, free: 80.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001988/14.46, allocations: 1.122 MB / 7.031 GB, free: 80.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/14.47, allocations: 1.246 MB / 7.032 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/14.47, allocations: 3.656 kB / 7.032 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/14.47, allocations: 3.531 kB / 7.032 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/14.47, allocations: 51 kB / 7.032 GB, free: 80.72 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007899/14.47, allocations: 6.194 MB / 7.038 GB, free: 77.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/14.47, allocations: 421.6 kB / 7.039 GB, free: 77.94 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/14.48, allocations: 393 kB / 7.039 GB, free: 77.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/14.48, allocations: 363.3 kB / 7.039 GB, free: 77.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/14.48, allocations: 45.09 kB / 7.039 GB, free: 77.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 2.715e-06/14.48, allocations: 0 / 7.039 GB, free: 77.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=89): time 0.01726/14.49, allocations: 4.311 MB / 7.044 GB, free: 76.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/14.49, allocations: 117.8 kB / 7.044 GB, free: 76.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/14.49, allocations: 1.069 MB / 7.045 GB, free: 76.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/14.49, allocations: 29.3 kB / 7.045 GB, free: 76.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/14.49, allocations: 0.5821 MB / 7.045 GB, free: 75.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/14.5, allocations: 306.1 kB / 7.046 GB, free: 75.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/14.5, allocations: 2.094 kB / 7.046 GB, free: 75.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001059/14.5, allocations: 346.9 kB / 7.046 GB, free: 75.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/14.5, allocations: 416.1 kB / 7.046 GB, free: 75.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/14.5, allocations: 0.7021 MB / 7.047 GB, free: 75.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/14.5, allocations: 0.7205 MB / 7.048 GB, free: 75.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/14.5, allocations: 1.125 kB / 7.048 GB, free: 75.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003538/14.5, allocations: 1.633 MB / 7.049 GB, free: 74.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004362/14.5, allocations: 2.22 MB / 7.051 GB, free: 72.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/14.5, allocations: 7.188 kB / 7.051 GB, free: 72.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/14.5, allocations: 326.8 kB / 7.052 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/14.5, allocations: 278 kB / 7.052 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/14.51, allocations: 5.357 MB / 7.057 GB, free: 68.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/14.51, allocations: 121.7 kB / 7.057 GB, free: 68.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/14.51, allocations: 55.72 kB / 7.057 GB, free: 68.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/14.51, allocations: 3.438 kB / 7.057 GB, free: 68.72 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00345/14.52, allocations: 1.7 MB / 7.059 GB, free: 68.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/14.52, allocations: 6.906 kB / 7.059 GB, free: 68.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/14.52, allocations: 258 kB / 7.059 GB, free: 68.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/14.52, allocations: 236.3 kB / 7.06 GB, free: 68.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/14.52, allocations: 6.23 MB / 7.066 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/14.53, allocations: 115.9 kB / 7.066 GB, free: 63.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/14.53, allocations: 46.14 kB / 7.066 GB, free: 63.28 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.hex.m1_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a1 to port_b1 (m1_flow > 0 is design flow direction)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 3 {1 3,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005026/14.53, allocations: 139.5 kB / 7.066 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005683/14.53, allocations: 154.1 kB / 7.066 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/14.53, allocations: 1.465 MB / 7.068 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/14.53, allocations: 10.97 kB / 7.068 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/14.53, allocations: 3.375 kB / 7.068 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/14.53, allocations: 4.328 kB / 7.068 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/14.54, allocations: 2.971 MB / 7.07 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/14.54, allocations: 0 / 7.07 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/14.54, allocations: 228.2 kB / 7.071 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/14.54, allocations: 293.2 kB / 7.071 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/14.54, allocations: 16.95 kB / 7.071 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/14.54, allocations: 3.952 MB / 7.075 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/14.54, allocations: 0 / 7.075 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004076/14.55, allocations: 1.871 MB / 7.077 GB, free: 58.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/14.55, allocations: 380.2 kB / 7.077 GB, free: 58.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/14.55, allocations: 4.531 kB / 7.077 GB, free: 58.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/14.55, allocations: 95.44 kB / 7.077 GB, free: 58.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/14.55, allocations: 53.31 kB / 7.077 GB, free: 58.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/14.55, allocations: 50.34 kB / 7.077 GB, free: 58.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001718/14.55, allocations: 0.8135 MB / 7.078 GB, free: 58.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006195/14.56, allocations: 1.275 MB / 7.079 GB, free: 58.56 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.vol1.dynBal.medium.T,hex.vol2.dynBal.medium.p,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.medium.T,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 3 {1 3,1 6,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005618/14.56, allocations: 2.281 MB / 7.082 GB, free: 58.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004755/14.57, allocations: 2.292 MB / 7.084 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/14.57, allocations: 0.5 kB / 7.084 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/14.57, allocations: 0.6731 MB / 7.084 GB, free: 57.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/14.57, allocations: 0.6838 MB / 7.085 GB, free: 57.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008105/14.58, allocations: 2.562 MB / 7.088 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/14.58, allocations: 1.546 MB / 7.089 GB, free: 72.26 MB / 0.573 GB Notification: Performance of SimCode: time 7.11e-07/14.58, allocations: 0 / 7.089 GB, free: 72.26 MB / 0.573 GB Notification: Performance of Templates: time 0.08062/14.67, allocations: 53.01 MB / 7.141 GB, free: 69.72 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)