Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) 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) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002437/0.002437, allocations: 177.6 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.055/1.055, allocations: 221.4 MB / 229.3 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008375, allocations: 98.7 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007949/0.007949, allocations: 1.577 MB / 332.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4157/0.4157, allocations: 90.04 MB / 473.6 MB, free: 7.223 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.631e-06, allocations: 0 / 0.5369 GB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 69.36 MB / 0.6046 GB, free: 8.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.432/1.548, allocations: 0.755 GB / 1.36 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/1.548, allocations: 80.66 kB / 1.36 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.33/2.878, allocations: 0.5631 GB / 1.923 GB, free: 69.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.531e-05/2.878, allocations: 32.3 kB / 1.923 GB, free: 69.91 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004858/2.883, allocations: 1.947 MB / 1.925 GB, free: 67.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/2.883, allocations: 8.031 kB / 1.925 GB, free: 67.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/2.885, allocations: 269.8 kB / 1.925 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009487/2.886, allocations: 0.5639 MB / 1.926 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/2.886, allocations: 167.4 kB / 1.926 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/2.886, allocations: 59.89 kB / 1.926 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/2.887, allocations: 0.617 MB / 1.926 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/2.888, allocations: 0.7679 MB / 1.927 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/2.888, allocations: 0 / 1.927 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/2.888, allocations: 0 / 1.927 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/2.889, allocations: 23.98 kB / 1.927 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/2.892, allocations: 3.489 MB / 1.931 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/2.893, allocations: 0.6762 MB / 1.931 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/2.893, allocations: 351.5 kB / 1.932 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/2.894, allocations: 1.424 MB / 1.933 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/2.894, allocations: 43.16 kB / 1.933 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 2.114e-06/2.894, allocations: 3.938 kB / 1.933 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.003032/2.897, allocations: 1.109 MB / 1.934 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/2.897, allocations: 67.97 kB / 1.934 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/2.898, allocations: 370.2 kB / 1.934 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/2.898, allocations: 25.7 kB / 1.934 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/2.898, allocations: 288.3 kB / 1.935 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/2.898, allocations: 282.8 kB / 1.935 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/2.898, allocations: 0 / 1.935 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/2.898, allocations: 386.7 kB / 1.935 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/2.898, allocations: 241.5 kB / 1.936 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/2.899, allocations: 316.3 kB / 1.936 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/2.9, allocations: 355.5 kB / 1.936 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/2.9, allocations: 0 / 1.936 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002846/2.903, allocations: 1.164 MB / 1.937 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/2.903, allocations: 11.91 kB / 1.937 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/2.903, allocations: 0 / 1.937 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/2.903, allocations: 165.5 kB / 1.938 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/2.904, allocations: 208.7 kB / 1.938 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/2.908, allocations: 4.419 MB / 1.942 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/2.908, allocations: 83.03 kB / 1.942 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/2.908, allocations: 63.97 kB / 1.942 GB, free: 49.08 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 75 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/2.908, allocations: 116.4 kB / 1.942 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/2.909, allocations: 71.16 kB / 1.942 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/2.913, allocations: 2.257 MB / 1.945 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/2.913, allocations: 15.81 kB / 1.945 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/2.913, allocations: 0 / 1.945 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/2.913, allocations: 11.92 kB / 1.945 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/2.918, allocations: 2.272 MB / 1.947 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/2.918, allocations: 0 / 1.947 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/2.919, allocations: 211.1 kB / 1.947 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/2.919, allocations: 180.7 kB / 1.947 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/2.919, allocations: 27.97 kB / 1.947 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/2.923, allocations: 4.419 MB / 1.952 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.923, allocations: 4 kB / 1.952 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003451/2.926, allocations: 1.759 MB / 1.953 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/2.926, allocations: 235.9 kB / 1.954 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/2.927, allocations: 11.94 kB / 1.954 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/2.927, allocations: 51.95 kB / 1.954 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/2.927, allocations: 64.59 kB / 1.954 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/2.927, allocations: 63.97 kB / 1.954 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002472/2.928, allocations: 283 kB / 1.954 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001725/2.929, allocations: 0.5731 MB / 1.955 GB, free: 36.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(3,88.9%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/2.932, allocations: 1.665 MB / 1.956 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001842/2.933, allocations: 1.237 MB / 1.957 GB, free: 33.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.933, allocations: 0 / 1.957 GB, free: 33.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/2.935, allocations: 0.9602 MB / 1.958 GB, free: 32.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/2.936, allocations: 158.1 kB / 1.958 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/2.939, allocations: 1.609 MB / 1.96 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/2.94, allocations: 1.223 MB / 1.961 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/2.94, allocations: 8 kB / 1.961 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.03036/2.97, allocations: 23.87 MB / 1.985 GB, free: 5.691 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1)