Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.373/1.373, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009949/0.0009949, allocations: 173.3 kB / 361.1 MB, free: 7.078 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.137/1.137, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0007937/0.0007937, allocations: 90.56 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2082/0.209, allocations: 121.5 MB / 0.8512 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.6998, allocations: 115.3 MB / 0.9638 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.8525, allocations: 139.7 MB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.8527, allocations: 89 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0423/0.895, allocations: 14.8 MB / 1.115 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.8951, allocations: 15.98 kB / 1.115 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.8952, allocations: 11.81 kB / 1.115 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.8953, allocations: 167 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.8953, allocations: 4 kB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.8953, allocations: 8 kB / 1.115 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003088/0.8956, allocations: 168.9 kB / 1.115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.8959, allocations: 203.4 kB / 1.115 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.8959, allocations: 4 kB / 1.115 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.896, allocations: 0 / 1.115 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.896, allocations: 4 kB / 1.115 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.8963, allocations: 250.5 kB / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.8969, allocations: 391.9 kB / 1.116 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.8971, allocations: 176.7 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.8974, allocations: 190.1 kB / 1.116 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.8974, allocations: 46.5 kB / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.8975, allocations: 0 / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0005657/0.898, allocations: 273.2 kB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.8981, allocations: 191.9 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.367e-05/0.8981, allocations: 85 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.8982, allocations: 25.7 kB / 1.117 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.8982, allocations: 80.64 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.8983, allocations: 98.56 kB / 1.117 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.8983, allocations: 0 / 1.117 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.8984, allocations: 322.8 kB / 1.117 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.8985, allocations: 87.95 kB / 1.117 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.8986, allocations: 129.1 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.899, allocations: 119 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.899, allocations: 4 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005154/0.8995, allocations: 267.5 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.8995, allocations: 8.75 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8995, allocations: 4 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.8995, allocations: 4 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.8998, allocations: 59.89 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.8998, allocations: 7.938 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.644e-05/0.8999, allocations: 15.78 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.8999, allocations: 11.98 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.9, allocations: 105.7 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.9001, allocations: 19.81 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.9007, allocations: 355 kB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.9007, allocations: 7.984 kB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9007, allocations: 0 / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.9008, allocations: 7.906 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.901, allocations: 218 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.901, allocations: 0 / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.9012, allocations: 59.89 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.9012, allocations: 8 kB / 1.119 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.9012, allocations: 13.3 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.9013, allocations: 6.266 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9013, allocations: 3.938 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005665/0.9018, allocations: 390 kB / 1.119 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007036/0.9026, allocations: 0.7631 MB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.9026, allocations: 104.8 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.9026, allocations: 3.75 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.9027, allocations: 4 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.9028, allocations: 19.91 kB / 1.12 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.9028, allocations: 15.98 kB / 1.12 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.215e-05/0.9029, allocations: 75.28 kB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001049/0.9039, allocations: 111.8 kB / 1.12 GB, free: 11.26 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005636/0.9045, allocations: 217.3 kB / 1.12 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.9049, allocations: 231.8 kB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9049, allocations: 3.938 kB / 1.121 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.9051, allocations: 142.2 kB / 1.121 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.9052, allocations: 4.938 kB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.9058, allocations: 288.8 kB / 1.121 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.9063, allocations: 0.7548 MB / 1.122 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9063, allocations: 0 / 1.122 GB, free: 9.57 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)