Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.CounterFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.002899/0.002899, allocations: 178.2 kB / 7.456 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 1.013/1.013, 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.0007439/0.000744, allocations: 95.08 kB / 261.1 MB, free: 13.55 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.506/0.506, allocations: 90.36 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1137/0.6198, allocations: 72.38 MB / 471.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.855, allocations: 66.26 MB / 0.5254 GB, free: 28.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.898, allocations: 0.7559 GB / 1.281 GB, free: 85.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/1.899, allocations: 81.45 kB / 1.281 GB, free: 85.23 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.621/3.52, allocations: 0.6305 GB / 1.912 GB, free: 76.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/3.52, allocations: 12.12 kB / 1.912 GB, free: 76.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/3.521, allocations: 251.3 kB / 1.912 GB, free: 76.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/3.522, allocations: 0.5727 MB / 1.913 GB, free: 75.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/3.522, allocations: 171.5 kB / 1.913 GB, free: 75.85 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/3.523, allocations: 56.09 kB / 1.913 GB, free: 75.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009587/3.524, allocations: 0.617 MB / 1.914 GB, free: 75.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/3.525, allocations: 0.7684 MB / 1.914 GB, free: 75.75 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/3.525, allocations: 0 / 1.914 GB, free: 75.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/3.525, allocations: 2.578 kB / 1.914 GB, free: 75.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/3.525, allocations: 21.78 kB / 1.914 GB, free: 75.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/3.528, allocations: 3.513 MB / 1.918 GB, free: 73.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/3.529, allocations: 0.6742 MB / 1.918 GB, free: 73.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/3.529, allocations: 355.3 kB / 1.919 GB, free: 73.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/3.53, allocations: 1.177 MB / 1.92 GB, free: 72.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/3.53, allocations: 44.34 kB / 1.92 GB, free: 72.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 1.834e-06/3.53, allocations: 0 / 1.92 GB, free: 72.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.003008/3.533, allocations: 1.126 MB / 1.921 GB, free: 72.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/3.533, allocations: 64.25 kB / 1.921 GB, free: 72.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/3.533, allocations: 367.2 kB / 1.921 GB, free: 72.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/3.534, allocations: 28.39 kB / 1.921 GB, free: 72.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/3.534, allocations: 295.3 kB / 1.922 GB, free: 72.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/3.534, allocations: 285.6 kB / 1.922 GB, free: 71.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/3.534, allocations: 0 / 1.922 GB, free: 71.89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/3.534, allocations: 376.6 kB / 1.922 GB, free: 71.58 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/3.534, allocations: 249.1 kB / 1.923 GB, free: 71.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/3.535, allocations: 324.9 kB / 1.923 GB, free: 71.53 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/3.536, allocations: 379 kB / 1.923 GB, free: 71.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/3.536, allocations: 0 / 1.923 GB, free: 71.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002934/3.539, allocations: 1.196 MB / 1.924 GB, free: 71.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/3.539, allocations: 7.719 kB / 1.924 GB, free: 71.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/3.539, allocations: 3.812 kB / 1.924 GB, free: 71.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/3.539, allocations: 171.6 kB / 1.925 GB, free: 71.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008395/3.54, allocations: 202.1 kB / 1.925 GB, free: 71.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/3.544, allocations: 4.419 MB / 1.929 GB, free: 67.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/3.544, allocations: 78.98 kB / 1.929 GB, free: 67.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/3.544, allocations: 64.14 kB / 1.929 GB, free: 67.75 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.0001417/3.544, allocations: 125.7 kB / 1.929 GB, free: 67.63 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/3.544, allocations: 70.09 kB / 1.929 GB, free: 67.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/3.549, allocations: 1.813 MB / 1.931 GB, free: 67.49 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/3.549, allocations: 9.188 kB / 1.931 GB, free: 67.49 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/3.549, allocations: 6.5 kB / 1.931 GB, free: 67.49 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/3.549, allocations: 3.141 kB / 1.931 GB, free: 67.49 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/3.554, allocations: 2.327 MB / 1.933 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/3.554, allocations: 0 / 1.933 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009348/3.554, allocations: 205.6 kB / 1.934 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/3.555, allocations: 179.9 kB / 1.934 GB, free: 67.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/3.555, allocations: 31.78 kB / 1.934 GB, free: 67.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/3.558, allocations: 4.42 MB / 1.938 GB, free: 63.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/3.558, allocations: 0 / 1.938 GB, free: 63.49 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003489/3.562, allocations: 1.807 MB / 1.94 GB, free: 63.2 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004499/3.566, allocations: 2.844 MB / 1.943 GB, free: 62.55 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/3.566, allocations: 153.7 kB / 1.943 GB, free: 62.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/3.567, allocations: 6.438 kB / 1.943 GB, free: 62.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/3.567, allocations: 53.09 kB / 1.943 GB, free: 62.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/3.567, allocations: 67.47 kB / 1.943 GB, free: 62.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/3.567, allocations: 65.98 kB / 1.943 GB, free: 62.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002215/3.568, allocations: 279.6 kB / 1.943 GB, free: 62.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003112/3.571, allocations: 1.155 MB / 1.944 GB, free: 62.11 MB / 0.5886 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 (83): * Single equations (assignments): 76 * 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.003524/3.574, allocations: 2.237 MB / 1.947 GB, free: 61.61 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001852/3.576, allocations: 1.239 MB / 1.948 GB, free: 61.24 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/3.576, allocations: 3.688 kB / 1.948 GB, free: 61.24 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/3.577, allocations: 0.9678 MB / 1.949 GB, free: 60.87 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/3.578, allocations: 149.8 kB / 1.949 GB, free: 60.87 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/3.581, allocations: 1.579 MB / 1.951 GB, free: 60.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/3.582, allocations: 1.214 MB / 1.952 GB, free: 59.78 MB / 0.5886 GB Notification: Performance of SimCode: time 3.21e-07/3.582, allocations: 3.469 kB / 1.952 GB, free: 59.78 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)