Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.002196/0.002196, allocations: 177.4 kB / 7.459 MB, free: 2.512 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.9938/0.9938, 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.0007892/0.0007894, allocations: 90.59 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.5158/0.5158, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1095/0.6253, allocations: 72.39 MB / 471.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.867, allocations: 66.25 MB / 0.5254 GB, free: 29.01 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.91, allocations: 0.7559 GB / 1.281 GB, free: 86.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/1.91, allocations: 76.97 kB / 1.281 GB, free: 86.07 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 2.087/3.997, allocations: 0.8018 GB / 2.083 GB, free: 74.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/3.997, allocations: 8.312 kB / 2.083 GB, free: 74.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/3.999, allocations: 375.9 kB / 2.084 GB, free: 74.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008548/4, allocations: 0.6974 MB / 2.084 GB, free: 74.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/4, allocations: 316.4 kB / 2.085 GB, free: 74.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/4, allocations: 70.69 kB / 2.085 GB, free: 74.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001267/4.002, allocations: 0.8872 MB / 2.086 GB, free: 74.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/4.003, allocations: 1.053 MB / 2.087 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/4.003, allocations: 0 / 2.087 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/4.003, allocations: 3.906 kB / 2.087 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/4.003, allocations: 29.41 kB / 2.087 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004404/4.008, allocations: 4.713 MB / 2.091 GB, free: 71.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/4.009, allocations: 0.9361 MB / 2.092 GB, free: 71.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/4.009, allocations: 494.5 kB / 2.093 GB, free: 71.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008266/4.01, allocations: 1.621 MB / 2.094 GB, free: 70.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/4.01, allocations: 52.97 kB / 2.094 GB, free: 70.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=112): time 2.425e-06/4.01, allocations: 0 / 2.094 GB, free: 70.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.004446/4.015, allocations: 1.701 MB / 2.096 GB, free: 69.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/4.015, allocations: 64.88 kB / 2.096 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/4.015, allocations: 427.4 kB / 2.096 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-05/4.015, allocations: 25.7 kB / 2.096 GB, free: 69.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/4.015, allocations: 364.4 kB / 2.097 GB, free: 69.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/4.015, allocations: 372.5 kB / 2.097 GB, free: 69.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/4.016, allocations: 0 / 2.097 GB, free: 69.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/4.016, allocations: 402.1 kB / 2.097 GB, free: 69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/4.016, allocations: 363 kB / 2.098 GB, free: 69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/4.017, allocations: 441.5 kB / 2.098 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/4.018, allocations: 0.5112 MB / 2.099 GB, free: 68.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/4.018, allocations: 3.969 kB / 2.099 GB, free: 68.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004376/4.023, allocations: 1.793 MB / 2.1 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/4.023, allocations: 10.09 kB / 2.1 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/4.023, allocations: 0 / 2.1 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/4.023, allocations: 265.5 kB / 2.101 GB, free: 68.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/4.025, allocations: 299.6 kB / 2.101 GB, free: 68.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/4.03, allocations: 6.168 MB / 2.107 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/4.031, allocations: 138.4 kB / 2.107 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/4.031, allocations: 82 kB / 2.107 GB, free: 63.95 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 (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001742/4.031, allocations: 117.2 kB / 2.107 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/4.031, allocations: 89.34 kB / 2.107 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006523/4.038, allocations: 2.552 MB / 2.11 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/4.038, allocations: 14.94 kB / 2.11 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/4.038, allocations: 2.562 kB / 2.11 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/4.038, allocations: 9.234 kB / 2.11 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006305/4.044, allocations: 3.271 MB / 2.113 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/4.044, allocations: 0 / 2.113 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/4.045, allocations: 298 kB / 2.113 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005987/4.046, allocations: 273.9 kB / 2.114 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/4.046, allocations: 38.41 kB / 2.114 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/4.051, allocations: 6.173 MB / 2.12 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/4.051, allocations: 3.031 kB / 2.12 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005271/4.056, allocations: 2.566 MB / 2.122 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00652/4.063, allocations: 3.831 MB / 2.126 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/4.063, allocations: 176 kB / 2.126 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/4.063, allocations: 5.125 kB / 2.126 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/4.064, allocations: 92.94 kB / 2.126 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/4.064, allocations: 90.48 kB / 2.126 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/4.064, allocations: 82.42 kB / 2.126 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002933/4.064, allocations: 331.2 kB / 2.127 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003959/4.068, allocations: 1.423 MB / 2.128 GB, free: 57.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (109): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003442/4.072, allocations: 2.651 MB / 2.131 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002736/4.075, allocations: 1.791 MB / 2.132 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/4.075, allocations: 5.406 kB / 2.133 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/4.077, allocations: 1.392 MB / 2.134 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/4.077, allocations: 180.7 kB / 2.134 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/4.081, allocations: 2.053 MB / 2.136 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/4.082, allocations: 1.369 MB / 2.137 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/4.082, allocations: 0 / 2.137 GB, free: 54.32 MB / 0.6042 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)