Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) 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) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.002165/0.002165, allocations: 179.7 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9423/0.9423, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008025/0.0008023, allocations: 100.4 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.49/0.49, allocations: 90.35 MB / 399.4 MB, free: 12.3 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1054/0.5954, allocations: 72.39 MB / 471.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.8278, allocations: 66.26 MB / 0.5254 GB, free: 28.95 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.899, allocations: 0.7558 GB / 1.281 GB, free: 85.84 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/1.899, allocations: 80.58 kB / 1.281 GB, free: 85.8 MB / 0.5886 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 1.698/3.597, allocations: 0.6306 GB / 1.912 GB, free: 73.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/3.598, allocations: 13.69 kB / 1.912 GB, free: 73.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/3.599, allocations: 260.4 kB / 1.912 GB, free: 73.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/3.6, allocations: 0.565 MB / 1.913 GB, free: 73.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/3.6, allocations: 171 kB / 1.913 GB, free: 73.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/3.601, allocations: 59.05 kB / 1.913 GB, free: 73.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/3.602, allocations: 0.6172 MB / 1.914 GB, free: 73.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/3.603, allocations: 0.7625 MB / 1.914 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/3.603, allocations: 0 / 1.914 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/3.603, allocations: 3.219 kB / 1.914 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/3.603, allocations: 23.06 kB / 1.914 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/3.607, allocations: 3.5 MB / 1.918 GB, free: 71.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/3.608, allocations: 0.6678 MB / 1.918 GB, free: 71.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/3.608, allocations: 356.1 kB / 1.919 GB, free: 71.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/3.609, allocations: 1.173 MB / 1.92 GB, free: 69.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/3.609, allocations: 39.59 kB / 1.92 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 2.114e-06/3.609, allocations: 0 / 1.92 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.003166/3.612, allocations: 1.131 MB / 1.921 GB, free: 69.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/3.612, allocations: 59.59 kB / 1.921 GB, free: 69.65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/3.612, allocations: 365.8 kB / 1.921 GB, free: 69.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/3.612, allocations: 28.64 kB / 1.921 GB, free: 69.51 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/3.612, allocations: 305.4 kB / 1.922 GB, free: 69.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/3.613, allocations: 273.5 kB / 1.922 GB, free: 69.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/3.613, allocations: 0 / 1.922 GB, free: 69.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/3.613, allocations: 382.2 kB / 1.922 GB, free: 68.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/3.613, allocations: 245 kB / 1.923 GB, free: 68.88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/3.613, allocations: 318.8 kB / 1.923 GB, free: 68.83 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/3.615, allocations: 376.4 kB / 1.923 GB, free: 68.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/3.615, allocations: 0 / 1.923 GB, free: 68.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003036/3.618, allocations: 1.202 MB / 1.924 GB, free: 68.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/3.618, allocations: 9.719 kB / 1.924 GB, free: 68.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/3.618, allocations: 0 / 1.924 GB, free: 68.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004771/3.618, allocations: 173 kB / 1.925 GB, free: 68.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/3.619, allocations: 202.6 kB / 1.925 GB, free: 68.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/3.623, allocations: 4.422 MB / 1.929 GB, free: 65.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/3.623, allocations: 80.84 kB / 1.929 GB, free: 65.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/3.623, allocations: 62.86 kB / 1.929 GB, free: 65.04 MB / 0.5886 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.0001526/3.623, allocations: 117.7 kB / 1.929 GB, free: 64.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/3.624, allocations: 69.34 kB / 1.929 GB, free: 64.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/3.628, allocations: 1.816 MB / 1.931 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/3.628, allocations: 11.72 kB / 1.931 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/3.628, allocations: 0 / 1.931 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/3.628, allocations: 6.094 kB / 1.931 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/3.633, allocations: 2.349 MB / 1.933 GB, free: 64.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/3.633, allocations: 2.938 kB / 1.934 GB, free: 64.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009169/3.634, allocations: 209.4 kB / 1.934 GB, free: 64.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/3.634, allocations: 178.6 kB / 1.934 GB, free: 64.38 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/3.634, allocations: 32.11 kB / 1.934 GB, free: 64.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/3.638, allocations: 4.416 MB / 1.938 GB, free: 60.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/3.638, allocations: 3.844 kB / 1.938 GB, free: 60.78 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003614/3.641, allocations: 1.821 MB / 1.94 GB, free: 60.49 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004581/3.646, allocations: 2.845 MB / 1.943 GB, free: 59.83 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/3.646, allocations: 245.9 kB / 1.943 GB, free: 59.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/3.646, allocations: 2.562 kB / 1.943 GB, free: 59.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/3.647, allocations: 55.45 kB / 1.943 GB, free: 59.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/3.647, allocations: 66.45 kB / 1.943 GB, free: 59.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/3.647, allocations: 68.84 kB / 1.943 GB, free: 59.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002537/3.647, allocations: 280.3 kB / 1.943 GB, free: 59.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003671/3.651, allocations: 1.149 MB / 1.945 GB, free: 59.39 MB / 0.5886 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 (85): * Single equations (assignments): 78 * Array equations: 2 * 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,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003919/3.655, allocations: 2.241 MB / 1.947 GB, free: 58.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001915/3.657, allocations: 1.238 MB / 1.948 GB, free: 58.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/3.657, allocations: 6.5 kB / 1.948 GB, free: 58.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/3.658, allocations: 0.9727 MB / 1.949 GB, free: 58.15 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000895/3.659, allocations: 148.2 kB / 1.949 GB, free: 58.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/3.663, allocations: 1.592 MB / 1.951 GB, free: 57.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/3.664, allocations: 1.21 MB / 1.952 GB, free: 57.06 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/3.664, allocations: 0 / 1.952 GB, free: 57.06 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1)