Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") [: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 9.1.1-maint.9.1.x/package.mo): time 2.026/2.026, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001145, allocations: 177.3 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 102.5 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.834e-06/7.874e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3139, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.577, allocations: 439.1 MB / 1.634 GB, free: 0.9883 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/1.578, allocations: 88.42 kB / 1.634 GB, free: 0.9453 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.355/2.933, allocations: 295.1 MB / 1.922 GB, free: 229 MB / 1.135 GB Notification: Performance of Transformations before backend: time 8.72e-05/2.933, allocations: 19.67 kB / 1.922 GB, free: 229 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002215/2.936, allocations: 1.029 MB / 1.923 GB, free: 227.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/2.936, allocations: 8.031 kB / 1.923 GB, free: 227.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/2.938, allocations: 294.7 kB / 1.924 GB, free: 227.7 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/2.939, allocations: 0.8617 MB / 1.924 GB, free: 226.8 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/2.94, allocations: 20 kB / 1.924 GB, free: 226.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/2.94, allocations: 39.91 kB / 1.925 GB, free: 226.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008152/2.94, allocations: 426.5 kB / 1.925 GB, free: 226.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/2.941, allocations: 0.6299 MB / 1.926 GB, free: 225.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/2.941, allocations: 3.938 kB / 1.926 GB, free: 225.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/2.941, allocations: 4 kB / 1.926 GB, free: 225.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/2.942, allocations: 19.98 kB / 1.926 GB, free: 225.6 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/2.946, allocations: 4.026 MB / 1.929 GB, free: 221.3 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/2.946, allocations: 254.7 kB / 1.93 GB, free: 221.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/2.946, allocations: 108.8 kB / 1.93 GB, free: 221 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/2.947, allocations: 376 kB / 1.93 GB, free: 220.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/2.947, allocations: 46.47 kB / 1.93 GB, free: 220.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=20): time 2.765e-06/2.947, allocations: 0 / 1.93 GB, free: 220.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=20): time 0.0009625/2.948, allocations: 377 kB / 1.931 GB, free: 220.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/2.948, allocations: 110.8 kB / 1.931 GB, free: 220 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/2.948, allocations: 494.2 kB / 1.931 GB, free: 219.5 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/2.948, allocations: 25.7 kB / 1.931 GB, free: 219.4 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/2.949, allocations: 327.2 kB / 1.932 GB, free: 219.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/2.949, allocations: 78.95 kB / 1.932 GB, free: 219 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/2.949, allocations: 0 / 1.932 GB, free: 219 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/2.949, allocations: 366.8 kB / 1.932 GB, free: 218.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/2.949, allocations: 112.8 kB / 1.932 GB, free: 218.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/2.949, allocations: 271.1 kB / 1.932 GB, free: 218.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/2.95, allocations: 195.8 kB / 1.932 GB, free: 218 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/2.95, allocations: 4 kB / 1.932 GB, free: 218 MB / 1.135 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000927/2.951, allocations: 0.49 MB / 1.933 GB, free: 217.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/2.951, allocations: 8.031 kB / 1.933 GB, free: 217.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/2.951, allocations: 4 kB / 1.933 GB, free: 217.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/2.951, allocations: 64.77 kB / 1.933 GB, free: 217.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/2.952, allocations: 131.8 kB / 1.933 GB, free: 217.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003928/2.952, allocations: 0.6342 MB / 1.934 GB, free: 216.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009514/2.953, allocations: 111.6 kB / 1.934 GB, free: 216.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/2.953, allocations: 24.05 kB / 1.934 GB, free: 216.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001295/2.953, allocations: 124.7 kB / 1.934 GB, free: 216.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/2.953, allocations: 59.34 kB / 1.934 GB, free: 216.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/2.954, allocations: 491.1 kB / 1.935 GB, free: 215.8 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/2.954, allocations: 0 / 1.935 GB, free: 215.8 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/2.954, allocations: 4 kB / 1.935 GB, free: 215.8 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007119/2.955, allocations: 0.5776 MB / 1.935 GB, free: 215.2 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/2.957, allocations: 1.003 MB / 1.936 GB, free: 214.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/2.957, allocations: 7.906 kB / 1.936 GB, free: 214.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/2.957, allocations: 79.92 kB / 1.936 GB, free: 214.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/2.957, allocations: 56.95 kB / 1.936 GB, free: 214 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/2.957, allocations: 7.984 kB / 1.936 GB, free: 214 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003441/2.958, allocations: 0.6342 MB / 1.937 GB, free: 213.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/2.958, allocations: 0 / 1.937 GB, free: 213.3 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009818/2.959, allocations: 0.665 MB / 1.938 GB, free: 212.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/2.959, allocations: 196.2 kB / 1.938 GB, free: 212.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/2.959, allocations: 4 kB / 1.938 GB, free: 212.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/2.96, allocations: 71.98 kB / 1.938 GB, free: 212.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/2.96, allocations: 16.08 kB / 1.938 GB, free: 212.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/2.96, allocations: 27.95 kB / 1.938 GB, free: 212.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003877/2.96, allocations: 366.9 kB / 1.938 GB, free: 212 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001171/2.962, allocations: 311.4 kB / 1.938 GB, free: 211.7 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008828/2.963, allocations: 470.1 kB / 1.939 GB, free: 211.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005924/2.963, allocations: 324.4 kB / 1.939 GB, free: 210.9 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.963, allocations: 3.938 kB / 1.939 GB, free: 210.9 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/2.963, allocations: 152 kB / 1.939 GB, free: 210.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/2.965, allocations: 304.8 kB / 1.94 GB, free: 210.5 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/2.966, allocations: 0.7986 MB / 1.94 GB, free: 209.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/2.967, allocations: 1.022 MB / 1.941 GB, free: 208.6 MB / 1.135 GB Notification: Performance of SimCode: time 9.72e-07/2.967, allocations: 0 / 1.941 GB, free: 208.6 MB / 1.135 GB Notification: Performance of Templates: time 0.02237/2.989, allocations: 14.32 MB / 1.955 GB, free: 194.5 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches