Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 285.5 MB / 292.8 MB, free: 9.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 182.8 kB / 361.1 MB, free: 340 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.1 MB / 0.6195 GB, free: 2.93 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 89.95 kB / 0.7326 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.306e-05, allocations: 3.875 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2614, allocations: 115.3 MB / 0.9637 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.691/5.952, allocations: 2.333 GB / 3.297 GB, free: 318.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/5.952, allocations: 96.12 kB / 3.297 GB, free: 318.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.183/9.136, allocations: 1.006 GB / 4.303 GB, free: 63.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000268/9.136, allocations: 48.86 kB / 4.303 GB, free: 63.81 MB / 0.9636 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.006203/9.142, allocations: 1.885 MB / 4.305 GB, free: 61.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/9.142, allocations: 8.031 kB / 4.305 GB, free: 61.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/9.145, allocations: 369.3 kB / 4.305 GB, free: 61.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/9.15, allocations: 1.599 MB / 4.307 GB, free: 59.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/9.15, allocations: 40 kB / 4.307 GB, free: 59.88 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/9.15, allocations: 75.91 kB / 4.307 GB, free: 59.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002065/9.153, allocations: 0.7931 MB / 4.308 GB, free: 59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/9.155, allocations: 0.9862 MB / 4.309 GB, free: 57.97 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/9.155, allocations: 0 / 4.309 GB, free: 57.97 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/9.155, allocations: 4 kB / 4.309 GB, free: 57.97 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/9.155, allocations: 42.14 kB / 4.309 GB, free: 57.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008105/9.163, allocations: 5.597 MB / 4.314 GB, free: 52.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/9.164, allocations: 0.6593 MB / 4.315 GB, free: 51.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/9.165, allocations: 394.1 kB / 4.315 GB, free: 50.97 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/9.165, allocations: 0.604 MB / 4.316 GB, free: 50.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/9.165, allocations: 47.16 kB / 4.316 GB, free: 50.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 2.615e-06/9.165, allocations: 0.875 kB / 4.316 GB, free: 50.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.002457/9.168, allocations: 0.842 MB / 4.317 GB, free: 49.33 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/9.168, allocations: 60.06 kB / 4.317 GB, free: 49.26 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/9.17, allocations: 0.8733 MB / 4.318 GB, free: 48.38 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/9.17, allocations: 29.7 kB / 4.318 GB, free: 48.35 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/9.17, allocations: 473 kB / 4.318 GB, free: 47.88 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/9.17, allocations: 239.3 kB / 4.318 GB, free: 47.64 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/9.17, allocations: 0 / 4.318 GB, free: 47.64 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001002/9.17, allocations: 338 kB / 4.319 GB, free: 47.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/9.171, allocations: 245.5 kB / 4.319 GB, free: 47.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/9.171, allocations: 479.9 kB / 4.319 GB, free: 46.49 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/9.172, allocations: 341.3 kB / 4.32 GB, free: 46.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/9.172, allocations: 0 / 4.32 GB, free: 46.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002121/9.174, allocations: 0.8881 MB / 4.321 GB, free: 45.26 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002722/9.175, allocations: 1.075 MB / 4.322 GB, free: 44.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/9.175, allocations: 4 kB / 4.322 GB, free: 44.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/9.175, allocations: 89.69 kB / 4.322 GB, free: 44.03 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/9.176, allocations: 174.6 kB / 4.322 GB, free: 43.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/9.177, allocations: 1.808 MB / 4.324 GB, free: 41.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/9.179, allocations: 131.4 kB / 4.324 GB, free: 41.85 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/9.179, allocations: 31.98 kB / 4.324 GB, free: 41.82 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/9.179, allocations: 4 kB / 4.324 GB, free: 41.81 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/9.18, allocations: 0.6858 MB / 4.324 GB, free: 41.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/9.18, allocations: 4 kB / 4.324 GB, free: 41.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/9.181, allocations: 101.6 kB / 4.325 GB, free: 41.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/9.181, allocations: 155.9 kB / 4.325 GB, free: 40.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/9.184, allocations: 2.999 MB / 4.328 GB, free: 37.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/9.186, allocations: 127.5 kB / 4.328 GB, free: 37.51 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/9.186, allocations: 24.06 kB / 4.328 GB, free: 37.49 MB / 0.9636 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.0003207/9.186, allocations: 128.8 kB / 4.328 GB, free: 37.36 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/9.187, allocations: 138.4 kB / 4.328 GB, free: 37.22 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/9.189, allocations: 0.8544 MB / 4.329 GB, free: 36.35 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/9.189, allocations: 11.98 kB / 4.329 GB, free: 36.34 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/9.189, allocations: 7.719 kB / 4.329 GB, free: 36.34 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/9.19, allocations: 0.9809 MB / 4.33 GB, free: 35.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/9.195, allocations: 2.217 MB / 4.332 GB, free: 33 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/9.195, allocations: 4 kB / 4.332 GB, free: 32.99 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/9.196, allocations: 160.1 kB / 4.332 GB, free: 32.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/9.196, allocations: 73.62 kB / 4.332 GB, free: 32.76 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/9.196, allocations: 12.12 kB / 4.332 GB, free: 32.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/9.197, allocations: 1.756 MB / 4.334 GB, free: 30.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/9.197, allocations: 8.188 kB / 4.334 GB, free: 30.91 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002155/9.199, allocations: 1.475 MB / 4.335 GB, free: 29.35 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/9.2, allocations: 315.2 kB / 4.336 GB, free: 29.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/9.201, allocations: 11.98 kB / 4.336 GB, free: 29.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/9.202, allocations: 107.7 kB / 4.336 GB, free: 28.91 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/9.202, allocations: 44.5 kB / 4.336 GB, free: 28.86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/9.202, allocations: 31.98 kB / 4.336 GB, free: 28.83 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001368/9.204, allocations: 0.6728 MB / 4.337 GB, free: 28.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003892/9.208, allocations: 0.9158 MB / 4.337 GB, free: 27.24 MB / 0.9636 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.003578/9.211, allocations: 2.246 MB / 4.34 GB, free: 25.14 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002608/9.214, allocations: 1.287 MB / 4.341 GB, free: 23.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/9.214, allocations: 7.938 kB / 4.341 GB, free: 23.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006976/9.215, allocations: 366.4 kB / 4.341 GB, free: 23.48 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/9.219, allocations: 0.7251 MB / 4.342 GB, free: 22.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/9.224, allocations: 2.084 MB / 4.344 GB, free: 20.62 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/9.225, allocations: 1.425 MB / 4.345 GB, free: 19.17 MB / 0.9636 GB Notification: Performance of SimCode: time 1.273e-06/9.225, allocations: 0 / 4.345 GB, free: 19.17 MB / 0.9636 GB Notification: Performance of Templates: time 0.06992/9.295, allocations: 40.19 MB / 4.385 GB, free: 11.38 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)