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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.009244/0.009244, allocations: 171.8 kB / 7.448 MB, free: 2.012 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.576/2.576, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.001586/0.001586, allocations: 105.1 kB / 280.1 MB, free: 1.254 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.02555/0.02555, allocations: 1.574 MB / 332.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.304/1.304, allocations: 90.05 MB / 473.6 MB, free: 7.266 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.6461/1.95, allocations: 76.21 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/2.228, allocations: 69.36 MB / 0.6047 GB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.845/6.073, allocations: 0.755 GB / 1.36 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004909/6.073, allocations: 85.44 kB / 1.36 GB, free: 155.3 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.574/9.647, allocations: 0.565 GB / 1.925 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.981e-05/9.648, allocations: 8 kB / 1.925 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004054/9.652, allocations: 266.4 kB / 1.925 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/9.654, allocations: 0.5582 MB / 1.926 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/9.654, allocations: 172.2 kB / 1.926 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/9.655, allocations: 55.91 kB / 1.926 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002168/9.657, allocations: 0.6209 MB / 1.926 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/9.659, allocations: 0.7726 MB / 1.927 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/9.659, allocations: 0 / 1.927 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/9.659, allocations: 0 / 1.927 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/9.659, allocations: 20 kB / 1.927 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008082/9.667, allocations: 3.49 MB / 1.931 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/9.669, allocations: 0.6729 MB / 1.931 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009284/9.67, allocations: 351.5 kB / 1.932 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/9.672, allocations: 1.426 MB / 1.933 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/9.672, allocations: 39.22 kB / 1.933 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 7.414e-06/9.672, allocations: 0 / 1.933 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.007601/9.68, allocations: 1.113 MB / 1.934 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/9.68, allocations: 63.97 kB / 1.934 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/9.681, allocations: 366.3 kB / 1.935 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/9.681, allocations: 25.7 kB / 1.935 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/9.682, allocations: 296.3 kB / 1.935 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/9.682, allocations: 283.2 kB / 1.935 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/9.682, allocations: 0 / 1.935 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003129/9.683, allocations: 382.7 kB / 1.935 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/9.683, allocations: 245.5 kB / 1.936 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008609/9.684, allocations: 315.3 kB / 1.936 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/9.687, allocations: 351.6 kB / 1.936 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/9.687, allocations: 0 / 1.936 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00693/9.694, allocations: 1.16 MB / 1.937 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/9.694, allocations: 14.41 kB / 1.938 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/9.694, allocations: 3.938 kB / 1.938 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009951/9.695, allocations: 173.1 kB / 1.938 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/9.697, allocations: 202.5 kB / 1.938 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/9.704, allocations: 4.42 MB / 1.942 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/9.706, allocations: 82.69 kB / 1.942 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/9.706, allocations: 67.97 kB / 1.942 GB, free: 46.75 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.0003717/9.707, allocations: 114.8 kB / 1.942 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/9.707, allocations: 74.44 kB / 1.943 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/9.718, allocations: 2.265 MB / 1.945 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-05/9.718, allocations: 15.94 kB / 1.945 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/9.718, allocations: 4 kB / 1.945 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/9.718, allocations: 3.984 kB / 1.945 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009928/9.728, allocations: 2.269 MB / 1.947 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/9.728, allocations: 3.531 kB / 1.947 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/9.73, allocations: 211.6 kB / 1.947 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/9.731, allocations: 170.3 kB / 1.947 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/9.732, allocations: 35.28 kB / 1.947 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007702/9.739, allocations: 4.425 MB / 1.952 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/9.74, allocations: 0 / 1.952 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008129/9.748, allocations: 1.752 MB / 1.953 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01036/9.758, allocations: 2.704 MB / 1.956 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009831/9.759, allocations: 239.8 kB / 1.956 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/9.76, allocations: 4 kB / 1.956 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/9.761, allocations: 47.97 kB / 1.956 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/9.761, allocations: 72.58 kB / 1.956 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/9.761, allocations: 55.98 kB / 1.956 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006443/9.762, allocations: 282.9 kB / 1.957 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006232/9.768, allocations: 0.7662 MB / 1.957 GB, free: 30.95 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.006109/9.774, allocations: 1.66 MB / 1.959 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005436/9.78, allocations: 1.238 MB / 1.96 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/9.78, allocations: 0 / 1.96 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00373/9.784, allocations: 0.9648 MB / 1.961 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/9.786, allocations: 153.8 kB / 1.961 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008449/9.795, allocations: 1.622 MB / 1.963 GB, free: 25.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003129/9.798, allocations: 1.235 MB / 1.964 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.715e-06/9.798, allocations: 0 / 1.964 GB, free: 24.09 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1)