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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.383/1.383, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009603/0.0009603, allocations: 181.3 kB / 361.1 MB, free: 7.109 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.134/1.134, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008019/0.0008019, allocations: 95.16 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2205/0.2214, allocations: 121.4 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.7949, allocations: 115.3 MB / 0.9638 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.908/4.703, allocations: 2.333 GB / 3.297 GB, free: 133.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/4.703, allocations: 99.23 kB / 3.297 GB, free: 133.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 2.986/7.689, allocations: 1.008 GB / 4.305 GB, free: 139 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/7.689, allocations: 11.38 kB / 4.305 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/7.692, allocations: 354.2 kB / 4.305 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/7.696, allocations: 1.614 MB / 4.307 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/7.696, allocations: 36.47 kB / 4.307 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/7.696, allocations: 69.69 kB / 4.307 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001634/7.698, allocations: 0.7938 MB / 4.308 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/7.7, allocations: 0.9835 MB / 4.309 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/7.7, allocations: 4.938 kB / 4.309 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/7.7, allocations: 1.062 kB / 4.309 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/7.7, allocations: 44.98 kB / 4.309 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007469/7.708, allocations: 5.59 MB / 4.314 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/7.709, allocations: 0.6555 MB / 4.315 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/7.71, allocations: 390 kB / 4.315 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/7.71, allocations: 0.6044 MB / 4.316 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/7.71, allocations: 45.5 kB / 4.316 GB, free: 134.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.867e-06/7.71, allocations: 0 / 4.316 GB, free: 134.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002313/7.713, allocations: 0.8492 MB / 4.317 GB, free: 134.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/7.713, allocations: 58.69 kB / 4.317 GB, free: 134.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/7.714, allocations: 0.8714 MB / 4.318 GB, free: 134.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/7.714, allocations: 27.23 kB / 4.318 GB, free: 134.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/7.714, allocations: 490.6 kB / 4.318 GB, free: 134.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/7.715, allocations: 237.5 kB / 4.318 GB, free: 134.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/7.715, allocations: 1.156 kB / 4.318 GB, free: 134.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.997e-05/7.715, allocations: 335.7 kB / 4.319 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/7.715, allocations: 237.2 kB / 4.319 GB, free: 133.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/7.716, allocations: 485.6 kB / 4.319 GB, free: 133.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/7.716, allocations: 328.5 kB / 4.32 GB, free: 133.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.716, allocations: 1.094 kB / 4.32 GB, free: 133.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001831/7.718, allocations: 0.8908 MB / 4.321 GB, free: 133.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001979/7.718, allocations: 1.073 MB / 4.322 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.718, allocations: 2.75 kB / 4.322 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/7.719, allocations: 100.7 kB / 4.322 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/7.72, allocations: 172.3 kB / 4.322 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009508/7.721, allocations: 1.803 MB / 4.324 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/7.722, allocations: 135.2 kB / 4.324 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/7.722, allocations: 33.86 kB / 4.324 GB, free: 130.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/7.722, allocations: 7 kB / 4.324 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001396/7.723, allocations: 0.6793 MB / 4.325 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/7.723, allocations: 3.438 kB / 4.325 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/7.724, allocations: 100.2 kB / 4.325 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/7.724, allocations: 159.5 kB / 4.325 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/7.727, allocations: 2.998 MB / 4.328 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/7.729, allocations: 136.6 kB / 4.328 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/7.729, allocations: 28.66 kB / 4.328 GB, free: 127.9 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.0002481/7.729, allocations: 123.6 kB / 4.328 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/7.729, allocations: 140.3 kB / 4.328 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/7.731, allocations: 0.8517 MB / 4.329 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/7.731, allocations: 6.875 kB / 4.329 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/7.731, allocations: 0 / 4.329 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/7.733, allocations: 0.9917 MB / 4.33 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/7.737, allocations: 2.224 MB / 4.332 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/7.737, allocations: 2.812 kB / 4.332 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007523/7.737, allocations: 165 kB / 4.332 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/7.737, allocations: 70.59 kB / 4.332 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/7.738, allocations: 7.344 kB / 4.332 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006595/7.738, allocations: 1.75 MB / 4.334 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/7.738, allocations: 3.469 kB / 4.334 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/7.74, allocations: 1.474 MB / 4.335 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002507/7.742, allocations: 2.368 MB / 4.338 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/7.743, allocations: 313.7 kB / 4.338 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/7.743, allocations: 13.28 kB / 4.338 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/7.745, allocations: 113.2 kB / 4.338 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/7.745, allocations: 48.8 kB / 4.338 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/7.745, allocations: 32.19 kB / 4.338 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008919/7.746, allocations: 0.6696 MB / 4.339 GB, free: 123.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00535/7.751, allocations: 1.467 MB / 4.34 GB, free: 123.3 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.003743/7.755, allocations: 2.243 MB / 4.343 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002529/7.757, allocations: 1.283 MB / 4.344 GB, free: 122.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/7.757, allocations: 0 / 4.344 GB, free: 122.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007/7.758, allocations: 378.9 kB / 4.344 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/7.762, allocations: 0.7169 MB / 4.345 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/7.766, allocations: 2.092 MB / 4.347 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/7.767, allocations: 1.431 MB / 4.348 GB, free: 121.1 MB / 0.948 GB Notification: Performance of SimCode: time 4.2e-07/7.767, allocations: 0 / 4.348 GB, free: 121.1 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)