Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 289.8 MB / 297.1 MB, free: 9.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 186.1 kB / 366.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 0.6256 GB, free: 2.207 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009698/0.0009697, allocations: 89.7 kB / 0.7396 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 1.061e-05/1.073e-05, allocations: 3.5 kB / 0.859 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 116.3 MB / 0.9726 GB, free: 54.35 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.163/5.378, allocations: 2.334 GB / 3.307 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/5.379, allocations: 91.94 kB / 3.307 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.49/8.869, allocations: 1.006 GB / 4.313 GB, free: 94.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001448/8.869, allocations: 46.72 kB / 4.313 GB, free: 94.11 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004512/8.873, allocations: 1.888 MB / 4.315 GB, free: 92.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/8.873, allocations: 12.02 kB / 4.315 GB, free: 92.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/8.875, allocations: 357.4 kB / 4.315 GB, free: 91.83 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/8.879, allocations: 1.611 MB / 4.317 GB, free: 90.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/8.879, allocations: 36 kB / 4.317 GB, free: 90.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/8.879, allocations: 71.98 kB / 4.317 GB, free: 90.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001392/8.88, allocations: 0.7969 MB / 4.318 GB, free: 89.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/8.882, allocations: 0.9861 MB / 4.319 GB, free: 88.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/8.882, allocations: 0 / 4.319 GB, free: 88.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/8.882, allocations: 4 kB / 4.319 GB, free: 88.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/8.882, allocations: 46.12 kB / 4.319 GB, free: 88.22 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006319/8.888, allocations: 5.59 MB / 4.324 GB, free: 82.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/8.889, allocations: 0.6466 MB / 4.325 GB, free: 81.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/8.89, allocations: 386.2 kB / 4.325 GB, free: 81.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005199/8.89, allocations: 0.6057 MB / 4.326 GB, free: 80.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/8.89, allocations: 47.06 kB / 4.326 GB, free: 80.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 3.015e-06/8.89, allocations: 0 / 4.326 GB, free: 80.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.002071/8.892, allocations: 0.8441 MB / 4.327 GB, free: 79.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/8.892, allocations: 56.06 kB / 4.327 GB, free: 79.58 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/8.893, allocations: 0.8772 MB / 4.328 GB, free: 78.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/8.894, allocations: 25.7 kB / 4.328 GB, free: 78.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/8.894, allocations: 475.4 kB / 4.328 GB, free: 78.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/8.894, allocations: 252.3 kB / 4.328 GB, free: 77.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/8.894, allocations: 0 / 4.328 GB, free: 77.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/8.894, allocations: 330 kB / 4.329 GB, free: 77.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/8.894, allocations: 237.5 kB / 4.329 GB, free: 77.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/8.895, allocations: 483.9 kB / 4.329 GB, free: 76.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/8.895, allocations: 333.5 kB / 4.33 GB, free: 76.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/8.895, allocations: 4 kB / 4.33 GB, free: 76.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001482/8.897, allocations: 0.8954 MB / 4.33 GB, free: 75.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002809/8.897, allocations: 1.071 MB / 4.331 GB, free: 74.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/8.897, allocations: 0 / 4.331 GB, free: 74.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/8.897, allocations: 102.6 kB / 4.332 GB, free: 74.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/8.898, allocations: 163.8 kB / 4.332 GB, free: 74.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009427/8.899, allocations: 1.811 MB / 4.333 GB, free: 72.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/8.901, allocations: 139.4 kB / 4.334 GB, free: 72.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/8.901, allocations: 32 kB / 4.334 GB, free: 72.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/8.901, allocations: 4 kB / 4.334 GB, free: 72.12 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/8.902, allocations: 0.6855 MB / 4.334 GB, free: 71.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/8.902, allocations: 0 / 4.334 GB, free: 71.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/8.902, allocations: 101.6 kB / 4.334 GB, free: 71.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/8.903, allocations: 156 kB / 4.335 GB, free: 71.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/8.905, allocations: 2.994 MB / 4.337 GB, free: 67.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/8.907, allocations: 127.4 kB / 4.338 GB, free: 67.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/8.907, allocations: 32.05 kB / 4.338 GB, free: 67.8 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002294/8.907, allocations: 128.8 kB / 4.338 GB, free: 67.67 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/8.907, allocations: 134.3 kB / 4.338 GB, free: 67.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/8.909, allocations: 0.8636 MB / 4.339 GB, free: 66.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/8.909, allocations: 8 kB / 4.339 GB, free: 66.65 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/8.909, allocations: 3.281 kB / 4.339 GB, free: 66.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/8.91, allocations: 0.988 MB / 4.34 GB, free: 65.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/8.913, allocations: 2.217 MB / 4.342 GB, free: 63.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/8.913, allocations: 0 / 4.342 GB, free: 63.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/8.914, allocations: 164.1 kB / 4.342 GB, free: 63.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/8.914, allocations: 69.69 kB / 4.342 GB, free: 63.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/8.914, allocations: 11.98 kB / 4.342 GB, free: 63.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006875/8.915, allocations: 1.754 MB / 4.344 GB, free: 61.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/8.915, allocations: 7.906 kB / 4.344 GB, free: 61.22 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001612/8.917, allocations: 1.471 MB / 4.345 GB, free: 59.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/8.917, allocations: 319.1 kB / 4.346 GB, free: 59.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/8.917, allocations: 8 kB / 4.346 GB, free: 59.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/8.918, allocations: 107.7 kB / 4.346 GB, free: 59.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/8.919, allocations: 44.5 kB / 4.346 GB, free: 59.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/8.919, allocations: 31.98 kB / 4.346 GB, free: 59.15 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.0007834/8.919, allocations: 0.6728 MB / 4.346 GB, free: 58.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002564/8.922, allocations: 0.9197 MB / 4.347 GB, free: 57.55 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002851/8.925, allocations: 2.239 MB / 4.35 GB, free: 55.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002205/8.927, allocations: 1.284 MB / 4.351 GB, free: 54.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/8.927, allocations: 4.125 kB / 4.351 GB, free: 54.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/8.928, allocations: 374.1 kB / 4.351 GB, free: 53.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/8.931, allocations: 0.7225 MB / 4.352 GB, free: 53.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/8.935, allocations: 2.089 MB / 4.354 GB, free: 50.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009064/8.936, allocations: 1.421 MB / 4.355 GB, free: 49.52 MB / 0.9512 GB Notification: Performance of SimCode: time 1.793e-06/8.936, allocations: 0 / 4.355 GB, free: 49.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.06174/8.997, allocations: 40.19 MB / 4.395 GB, free: 9.586 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)