Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.01002/0.01002, allocations: 180.4 kB / 7.458 MB, free: 2.5 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.571/2.571, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.001644/0.001644, allocations: 94.38 kB / 280.1 MB, free: 1.312 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.02271/0.02271, allocations: 1.569 MB / 332.5 MB, free: 12.96 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.7 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.6159/1.877, allocations: 76.2 MB / 0.537 GB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/2.155, allocations: 69.35 MB / 0.6047 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.957/6.112, allocations: 0.7542 GB / 1.359 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000456/6.113, allocations: 88.23 kB / 1.359 GB, free: 158.8 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 3.236/9.348, allocations: 473.7 MB / 1.822 GB, free: 111 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.107e-05/9.349, allocations: 12.28 kB / 1.822 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/9.352, allocations: 214.7 kB / 1.822 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/9.354, allocations: 494.6 kB / 1.822 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/9.355, allocations: 165.9 kB / 1.822 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/9.355, allocations: 39.62 kB / 1.822 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002082/9.357, allocations: 0.4972 MB / 1.823 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/9.359, allocations: 0.5455 MB / 1.824 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/9.359, allocations: 0 / 1.824 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/9.359, allocations: 0 / 1.824 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/9.359, allocations: 15.53 kB / 1.824 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/9.364, allocations: 2.65 MB / 1.826 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/9.365, allocations: 346.2 kB / 1.826 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/9.366, allocations: 279.8 kB / 1.827 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/9.367, allocations: 1.007 MB / 1.828 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/9.367, allocations: 42.41 kB / 1.828 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 7.985e-06/9.367, allocations: 3.75 kB / 1.828 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.004822/9.372, allocations: 0.94 MB / 1.829 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/9.372, allocations: 58.03 kB / 1.829 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/9.373, allocations: 297.5 kB / 1.829 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/9.373, allocations: 25.7 kB / 1.829 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/9.373, allocations: 250 kB / 1.829 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/9.373, allocations: 209.9 kB / 1.829 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/9.373, allocations: 0 / 1.829 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002107/9.374, allocations: 370.6 kB / 1.83 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/9.374, allocations: 199.2 kB / 1.83 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/9.375, allocations: 205.4 kB / 1.83 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/9.377, allocations: 262.9 kB / 1.83 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/9.377, allocations: 0 / 1.83 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.006051/9.383, allocations: 0.9693 MB / 1.831 GB, free: 107 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/9.383, allocations: 2.969 kB / 1.831 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/9.383, allocations: 3.75 kB / 1.831 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/9.384, allocations: 154.9 kB / 1.832 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/9.386, allocations: 145.2 kB / 1.832 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/9.392, allocations: 4.306 MB / 1.836 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/9.394, allocations: 79.89 kB / 1.836 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/9.394, allocations: 42.25 kB / 1.836 GB, free: 103.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 51 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005016/9.394, allocations: 111.3 kB / 1.836 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004315/9.395, allocations: 48.47 kB / 1.836 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008879/9.404, allocations: 1.721 MB / 1.838 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.682e-05/9.404, allocations: 14.56 kB / 1.838 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.085e-05/9.404, allocations: 0 / 1.838 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/9.404, allocations: 3.328 kB / 1.838 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/9.413, allocations: 1.9 MB / 1.84 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/9.413, allocations: 2.062 kB / 1.84 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/9.414, allocations: 148.3 kB / 1.84 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008076/9.415, allocations: 161.4 kB / 1.84 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/9.415, allocations: 26.94 kB / 1.84 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006712/9.422, allocations: 4.313 MB / 1.844 GB, free: 99.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/9.422, allocations: 3.906 kB / 1.844 GB, free: 99.13 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007898/9.43, allocations: 1.439 MB / 1.846 GB, free: 98.88 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008881/9.439, allocations: 2.264 MB / 1.848 GB, free: 98.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/9.439, allocations: 140.1 kB / 1.848 GB, free: 98.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/9.44, allocations: 0 / 1.848 GB, free: 98.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/9.441, allocations: 59.42 kB / 1.848 GB, free: 98.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/9.441, allocations: 46.28 kB / 1.848 GB, free: 98.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/9.442, allocations: 46.14 kB / 1.848 GB, free: 98.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006171/9.442, allocations: 233.8 kB / 1.848 GB, free: 98.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006185/9.448, allocations: 0.6533 MB / 1.849 GB, free: 97.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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%) 3,(3,88.9%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00627/9.455, allocations: 1.507 MB / 1.85 GB, free: 97.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00458/9.459, allocations: 1.07 MB / 1.852 GB, free: 97.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/9.459, allocations: 1.422 kB / 1.852 GB, free: 97.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003189/9.463, allocations: 0.8606 MB / 1.852 GB, free: 96.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/9.465, allocations: 112.8 kB / 1.852 GB, free: 96.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006669/9.471, allocations: 1.195 MB / 1.854 GB, free: 96.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/9.474, allocations: 1.101 MB / 1.855 GB, free: 95.93 MB / 0.6042 GB Notification: Performance of SimCode: time 2.896e-06/9.474, allocations: 0 / 1.855 GB, free: 95.93 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)