Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.277/2.277, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001671/0.001671, allocations: 185.2 kB / 360.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.1 MB / 0.6187 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 88.58 kB / 0.7317 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3471/0.3484, allocations: 121.4 MB / 0.8502 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/1.045, allocations: 115.3 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.695/6.74, allocations: 2.333 GB / 3.296 GB, free: 146.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/6.741, allocations: 92.91 kB / 3.296 GB, free: 146.2 MB / 0.948 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 5.007/11.75, allocations: 1.008 GB / 4.304 GB, free: 137.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/11.75, allocations: 11.12 kB / 4.304 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/11.75, allocations: 365.2 kB / 4.304 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006066/11.76, allocations: 1.603 MB / 4.306 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/11.76, allocations: 33.19 kB / 4.306 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/11.76, allocations: 73.03 kB / 4.306 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002739/11.76, allocations: 0.7943 MB / 4.307 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/11.76, allocations: 0.9867 MB / 4.308 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/11.76, allocations: 0 / 4.308 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/11.76, allocations: 3.75 kB / 4.308 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/11.76, allocations: 47.77 kB / 4.308 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/11.78, allocations: 5.568 MB / 4.313 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/11.78, allocations: 0.6508 MB / 4.314 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009434/11.78, allocations: 386.7 kB / 4.314 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/11.78, allocations: 0.6119 MB / 4.315 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/11.78, allocations: 44.88 kB / 4.315 GB, free: 133.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.447e-06/11.78, allocations: 0 / 4.315 GB, free: 133.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.003835/11.78, allocations: 0.8423 MB / 4.316 GB, free: 133 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/11.78, allocations: 58.72 kB / 4.316 GB, free: 132.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/11.79, allocations: 0.8717 MB / 4.317 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/11.79, allocations: 32.92 kB / 4.317 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/11.79, allocations: 478.8 kB / 4.317 GB, free: 132.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/11.79, allocations: 231.7 kB / 4.317 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/11.79, allocations: 0 / 4.317 GB, free: 132.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/11.79, allocations: 338.5 kB / 4.318 GB, free: 132 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/11.79, allocations: 240.4 kB / 4.318 GB, free: 132 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009416/11.79, allocations: 494.8 kB / 4.318 GB, free: 131.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/11.79, allocations: 332.6 kB / 4.319 GB, free: 131.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/11.79, allocations: 3.844 kB / 4.319 GB, free: 131.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003106/11.79, allocations: 0.8901 MB / 4.319 GB, free: 131.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/11.79, allocations: 1.066 MB / 4.32 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/11.79, allocations: 6.344 kB / 4.321 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003987/11.79, allocations: 91.11 kB / 4.321 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/11.79, allocations: 171.8 kB / 4.321 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/11.8, allocations: 1.818 MB / 4.323 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/11.8, allocations: 135.6 kB / 4.323 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/11.8, allocations: 31.69 kB / 4.323 GB, free: 128.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/11.8, allocations: 6.531 kB / 4.323 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00228/11.8, allocations: 0.6842 MB / 4.323 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/11.8, allocations: 0 / 4.323 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/11.8, allocations: 102.2 kB / 4.323 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/11.8, allocations: 156 kB / 4.324 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/11.81, allocations: 2.996 MB / 4.327 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/11.81, allocations: 132 kB / 4.327 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/11.81, allocations: 32.66 kB / 4.327 GB, free: 126.2 MB / 0.948 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.0003711/11.81, allocations: 128.5 kB / 4.327 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/11.81, allocations: 132.2 kB / 4.327 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/11.81, allocations: 0.8634 MB / 4.328 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/11.81, allocations: 14.12 kB / 4.328 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/11.81, allocations: 0 / 4.328 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001994/11.82, allocations: 0.9829 MB / 4.329 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/11.82, allocations: 2.228 MB / 4.331 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/11.82, allocations: 0 / 4.331 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/11.82, allocations: 161.5 kB / 4.331 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/11.82, allocations: 68.44 kB / 4.331 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/11.82, allocations: 7.531 kB / 4.331 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/11.83, allocations: 1.762 MB / 4.333 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/11.83, allocations: 0 / 4.333 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003309/11.83, allocations: 1.47 MB / 4.334 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004567/11.83, allocations: 2.364 MB / 4.337 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/11.83, allocations: 322.8 kB / 4.337 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/11.83, allocations: 8.844 kB / 4.337 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/11.84, allocations: 111.3 kB / 4.337 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/11.84, allocations: 46.45 kB / 4.337 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/11.84, allocations: 29.27 kB / 4.337 GB, free: 121.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001777/11.84, allocations: 0.6726 MB / 4.338 GB, free: 121.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008617/11.85, allocations: 1.469 MB / 4.339 GB, free: 121.6 MB / 0.948 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.004872/11.85, allocations: 2.238 MB / 4.341 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004313/11.86, allocations: 1.286 MB / 4.343 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/11.86, allocations: 1.125 kB / 4.343 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/11.86, allocations: 375.3 kB / 4.343 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007276/11.87, allocations: 0.721 MB / 4.344 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/11.87, allocations: 2.1 MB / 4.346 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/11.87, allocations: 1.431 MB / 4.347 GB, free: 119.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.773e-06/11.87, allocations: 0 / 4.347 GB, free: 119.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)