Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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/Complex 4.0.0+maint.om/package.mo): time 0.01197/0.01197, allocations: 181.5 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.652/2.652, allocations: 221.4 MB / 229.3 MB, free: 3.18 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.001479/0.001478, allocations: 97.23 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.02399/0.02399, allocations: 1.564 MB / 332.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.261/1.261, allocations: 90.04 MB / 473.6 MB, free: 7.23 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.562/1.823, allocations: 76.21 MB / 0.537 GB, free: 14.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/2.112, allocations: 69.36 MB / 0.6047 GB, free: 8.766 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.158/6.27, allocations: 0.755 GB / 1.36 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004643/6.271, allocations: 82.83 kB / 1.36 GB, free: 157.2 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 3.657/9.928, allocations: 0.565 GB / 1.925 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001153/9.928, allocations: 8 kB / 1.925 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/9.933, allocations: 270.3 kB / 1.925 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/9.937, allocations: 0.5681 MB / 1.926 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006778/9.938, allocations: 168.8 kB / 1.926 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007952/9.938, allocations: 54.84 kB / 1.926 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003574/9.942, allocations: 0.6209 MB / 1.926 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004003/9.946, allocations: 0.7689 MB / 1.927 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.288e-05/9.946, allocations: 7.25 kB / 1.927 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/9.946, allocations: 0 / 1.927 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/9.947, allocations: 24 kB / 1.927 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/9.958, allocations: 3.503 MB / 1.931 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/9.96, allocations: 0.677 MB / 1.931 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/9.961, allocations: 355.5 kB / 1.932 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/9.963, allocations: 1.424 MB / 1.933 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/9.963, allocations: 46.78 kB / 1.933 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 9.187e-06/9.963, allocations: 3.938 kB / 1.933 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.007229/9.97, allocations: 1.11 MB / 1.934 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/9.97, allocations: 60.06 kB / 1.934 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/9.971, allocations: 362.3 kB / 1.935 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/9.972, allocations: 29.48 kB / 1.935 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/9.972, allocations: 300.3 kB / 1.935 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/9.972, allocations: 271.9 kB / 1.935 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/9.973, allocations: 0 / 1.935 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002137/9.973, allocations: 386.7 kB / 1.936 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008062/9.974, allocations: 249.5 kB / 1.936 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/9.975, allocations: 319.3 kB / 1.936 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/9.978, allocations: 347.8 kB / 1.936 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/9.978, allocations: 0 / 1.936 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.006491/9.984, allocations: 1.171 MB / 1.938 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/9.984, allocations: 4 kB / 1.938 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/9.984, allocations: 4 kB / 1.938 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/9.985, allocations: 173.5 kB / 1.938 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/9.987, allocations: 206.7 kB / 1.938 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/9.995, allocations: 4.431 MB / 1.942 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/9.996, allocations: 82.88 kB / 1.942 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/9.997, allocations: 67.58 kB / 1.942 GB, free: 47.82 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.0005022/9.997, allocations: 113.5 kB / 1.943 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/9.998, allocations: 71.06 kB / 1.943 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/10.01, allocations: 2.236 MB / 1.945 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.874e-05/10.01, allocations: 8 kB / 1.945 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/10.01, allocations: 7.594 kB / 1.945 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/10.01, allocations: 7.969 kB / 1.945 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/10.02, allocations: 2.262 MB / 1.947 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/10.02, allocations: 4 kB / 1.947 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/10.02, allocations: 211.4 kB / 1.947 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/10.02, allocations: 177.1 kB / 1.947 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/10.02, allocations: 23.98 kB / 1.947 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007792/10.03, allocations: 4.428 MB / 1.952 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/10.03, allocations: 3.984 kB / 1.952 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008481/10.04, allocations: 1.744 MB / 1.953 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01087/10.05, allocations: 2.685 MB / 1.956 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006995/10.05, allocations: 160 kB / 1.956 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/10.05, allocations: 0 / 1.956 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/10.05, allocations: 52.77 kB / 1.956 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/10.05, allocations: 68.59 kB / 1.956 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/10.05, allocations: 67.34 kB / 1.956 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000842/10.06, allocations: 279 kB / 1.957 GB, free: 33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007015/10.06, allocations: 0.7626 MB / 1.957 GB, free: 32.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.inletB.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,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 (82): * Single equations (assignments): 76 * 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.006487/10.07, allocations: 1.657 MB / 1.959 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004734/10.07, allocations: 1.245 MB / 1.96 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/10.07, allocations: 0 / 1.96 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003091/10.08, allocations: 0.9582 MB / 1.961 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/10.08, allocations: 152.5 kB / 1.961 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007951/10.09, allocations: 1.618 MB / 1.963 GB, free: 26.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/10.09, allocations: 1.235 MB / 1.964 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.164e-06/10.09, allocations: 0 / 1.964 GB, free: 25.61 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)