Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") [: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.4835/0.4835, 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.001151/0.001151, allocations: 179.2 kB / 125.3 MB, free: 12 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.258/1.258, allocations: 170.5 MB / 319 MB, free: 9.344 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.001636/0.001637, allocations: 110.2 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.135e-05, allocations: 4.219 kB / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 61.51 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.36, allocations: 5.582 GB / 6.08 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/11.36, allocations: 92.69 kB / 6.08 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.358/14.72, allocations: 0.9501 GB / 7.03 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002841/14.72, allocations: 57.42 kB / 7.03 GB, free: 54.07 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.008726/14.73, allocations: 2.746 MB / 7.033 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/14.73, allocations: 10.78 kB / 7.033 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/14.73, allocations: 269.5 kB / 7.033 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1048/14.84, allocations: 28.13 MB / 7.06 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/14.84, allocations: 48.72 kB / 7.06 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004644/14.84, allocations: 94.5 kB / 7.061 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002745/14.84, allocations: 1.207 MB / 7.062 GB, free: 51 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/14.84, allocations: 1.345 MB / 7.063 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/14.84, allocations: 13.22 kB / 7.063 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/14.84, allocations: 3.531 kB / 7.063 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/14.84, allocations: 48.5 kB / 7.063 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/14.85, allocations: 6.591 MB / 7.07 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/14.85, allocations: 0.5074 MB / 7.07 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/14.85, allocations: 420.8 kB / 7.07 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/14.86, allocations: 450.7 kB / 7.071 GB, free: 47.44 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/14.86, allocations: 45.94 kB / 7.071 GB, free: 47.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=81): time 2.575e-06/14.86, allocations: 5.297 kB / 7.071 GB, free: 47.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=98): time 0.01823/14.87, allocations: 4.474 MB / 7.075 GB, free: 46.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/14.87, allocations: 116.9 kB / 7.075 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/14.88, allocations: 1.13 MB / 7.077 GB, free: 45.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/14.88, allocations: 29.33 kB / 7.077 GB, free: 45.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/14.88, allocations: 0.619 MB / 7.077 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/14.88, allocations: 334.2 kB / 7.077 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/14.88, allocations: 0 / 7.077 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001337/14.88, allocations: 350.7 kB / 7.078 GB, free: 45.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008469/14.88, allocations: 454.9 kB / 7.078 GB, free: 45.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009229/14.88, allocations: 0.7389 MB / 7.079 GB, free: 44.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/14.88, allocations: 0.7552 MB / 7.08 GB, free: 44.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/14.88, allocations: 6.312 kB / 7.08 GB, free: 44.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004904/14.89, allocations: 1.748 MB / 7.081 GB, free: 44.49 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006873/14.89, allocations: 2.323 MB / 7.084 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/14.89, allocations: 8.875 kB / 7.084 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/14.89, allocations: 348.4 kB / 7.084 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/14.89, allocations: 283.7 kB / 7.084 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008605/14.9, allocations: 6.773 MB / 7.091 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/14.9, allocations: 134.4 kB / 7.091 GB, free: 36.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/14.9, allocations: 59.38 kB / 7.091 GB, free: 36.94 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/14.9, allocations: 3.844 kB / 7.091 GB, free: 36.94 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003577/14.9, allocations: 1.805 MB / 7.093 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/14.9, allocations: 10.97 kB / 7.093 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/14.91, allocations: 285.4 kB / 7.093 GB, free: 36.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/14.91, allocations: 240.9 kB / 7.093 GB, free: 36.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/14.91, allocations: 7.659 MB / 7.101 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/14.91, allocations: 119.4 kB / 7.101 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/14.91, allocations: 54.42 kB / 7.101 GB, free: 30.2 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: 26 * Number of states: 0 () * Number of discrete variables: 1 (hex.vol2.i_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 2 {(2,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 3 {1 3,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005511/14.91, allocations: 136 kB / 7.101 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/14.91, allocations: 161.4 kB / 7.101 GB, free: 30.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/14.92, allocations: 1.546 MB / 7.103 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/14.92, allocations: 20.86 kB / 7.103 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/14.92, allocations: 3.375 kB / 7.103 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/14.92, allocations: 8.656 kB / 7.103 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006641/14.93, allocations: 3.129 MB / 7.106 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/14.93, allocations: 0 / 7.106 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/14.93, allocations: 233.9 kB / 7.106 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/14.93, allocations: 292.9 kB / 7.106 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/14.93, allocations: 20.19 kB / 7.106 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/14.93, allocations: 3.948 MB / 7.11 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/14.93, allocations: 2.656 kB / 7.11 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004045/14.94, allocations: 1.979 MB / 7.112 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/14.94, allocations: 394.7 kB / 7.113 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/14.94, allocations: 6.656 kB / 7.113 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/14.94, allocations: 98.97 kB / 7.113 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/14.94, allocations: 61.75 kB / 7.113 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/14.94, allocations: 58.02 kB / 7.113 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001538/14.94, allocations: 0.8434 MB / 7.114 GB, free: 25.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006298/14.95, allocations: 1.329 MB / 7.115 GB, free: 25.32 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 (94): * Single equations (assignments): 89 * 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.00566/14.95, allocations: 2.344 MB / 7.117 GB, free: 24.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005211/14.96, allocations: 2.682 MB / 7.12 GB, free: 24 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/14.96, allocations: 4.938 kB / 7.12 GB, free: 24 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/14.96, allocations: 0.7162 MB / 7.121 GB, free: 23.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/14.96, allocations: 0.7099 MB / 7.121 GB, free: 23.87 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/14.97, allocations: 2.624 MB / 7.124 GB, free: 23.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/14.97, allocations: 1.594 MB / 7.125 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/14.97, allocations: 0 / 7.125 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.1031/15.08, allocations: 55.57 MB / 7.18 GB, free: 16.29 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)