Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",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.002179/0.002179, allocations: 180.1 kB / 7.458 MB, free: 2.504 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.07/2.07, allocations: 221.4 MB / 229.3 MB, free: 3.051 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.0009281/0.0009279, allocations: 101.1 kB / 280.1 MB, free: 1.234 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.009059/0.009059, allocations: 1.575 MB / 332.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5549/0.5549, allocations: 90.04 MB / 473.7 MB, free: 7.258 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2978/0.8527, allocations: 76.2 MB / 0.537 GB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/1.002, allocations: 69.36 MB / 0.6047 GB, free: 8.793 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/2.055, allocations: 430.2 MB / 1.025 GB, free: 1.699 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/2.055, allocations: 78 kB / 1.025 GB, free: 1.664 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.3883/2.443, allocations: 66.38 MB / 1.09 GB, free: 208.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/2.444, allocations: 7.812 kB / 1.09 GB, free: 208.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/2.444, allocations: 31.7 kB / 1.09 GB, free: 208.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/2.444, allocations: 240.5 kB / 1.09 GB, free: 208.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/2.444, allocations: 3.969 kB / 1.09 GB, free: 208.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/2.444, allocations: 16.2 kB / 1.09 GB, free: 208.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003099/2.444, allocations: 120.5 kB / 1.09 GB, free: 208.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/2.445, allocations: 162.5 kB / 1.09 GB, free: 208.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/2.445, allocations: 0 / 1.09 GB, free: 208.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/2.445, allocations: 1.938 kB / 1.09 GB, free: 208.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/2.445, allocations: 5.125 kB / 1.09 GB, free: 208.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/2.446, allocations: 1.034 MB / 1.091 GB, free: 207.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/2.447, allocations: 149.2 kB / 1.091 GB, free: 207.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/2.447, allocations: 84.03 kB / 1.091 GB, free: 207.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/2.447, allocations: 251.3 kB / 1.092 GB, free: 207 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/2.447, allocations: 36.39 kB / 1.092 GB, free: 207 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 2.906e-06/2.447, allocations: 0.9688 kB / 1.092 GB, free: 207 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001752/2.449, allocations: 0.6066 MB / 1.092 GB, free: 206.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/2.449, allocations: 54.05 kB / 1.092 GB, free: 206.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/2.449, allocations: 136 kB / 1.093 GB, free: 206.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/2.449, allocations: 27.47 kB / 1.093 GB, free: 206.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/2.449, allocations: 130.2 kB / 1.093 GB, free: 206.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/2.449, allocations: 61.09 kB / 1.093 GB, free: 206.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/2.449, allocations: 1.438 kB / 1.093 GB, free: 206.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/2.449, allocations: 329.9 kB / 1.093 GB, free: 205.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/2.45, allocations: 67.91 kB / 1.093 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/2.45, allocations: 99.81 kB / 1.093 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/2.45, allocations: 91.62 kB / 1.093 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/2.45, allocations: 1.062 kB / 1.093 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006311/2.451, allocations: 289.7 kB / 1.094 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/2.451, allocations: 4.406 kB / 1.094 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/2.451, allocations: 1.219 kB / 1.094 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/2.451, allocations: 100.2 kB / 1.094 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/2.451, allocations: 20.03 kB / 1.094 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/2.454, allocations: 1.783 MB / 1.095 GB, free: 204.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/2.454, allocations: 10.83 kB / 1.095 GB, free: 204.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/2.454, allocations: 13.31 kB / 1.095 GB, free: 204.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.448e-05/2.454, allocations: 106 kB / 1.096 GB, free: 204 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/2.454, allocations: 15.17 kB / 1.096 GB, free: 204 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/2.455, allocations: 295.4 kB / 1.096 GB, free: 203.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/2.455, allocations: 1.188 kB / 1.096 GB, free: 203.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/2.455, allocations: 2.406 kB / 1.096 GB, free: 203.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/2.455, allocations: 5.109 kB / 1.096 GB, free: 203.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/2.455, allocations: 271.9 kB / 1.096 GB, free: 203.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/2.455, allocations: 2.156 kB / 1.096 GB, free: 203.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/2.455, allocations: 18.19 kB / 1.096 GB, free: 203.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/2.456, allocations: 101.1 kB / 1.096 GB, free: 203.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/2.456, allocations: 12.66 kB / 1.096 GB, free: 203.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/2.458, allocations: 1.789 MB / 1.098 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/2.458, allocations: 4.562 kB / 1.098 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007758/2.459, allocations: 442.4 kB / 1.098 GB, free: 202 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001009/2.46, allocations: 0.9053 MB / 1.099 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/2.46, allocations: 92.84 kB / 1.099 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/2.46, allocations: 6.062 kB / 1.099 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/2.46, allocations: 7.875 kB / 1.099 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/2.46, allocations: 14 kB / 1.099 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/2.46, allocations: 5.062 kB / 1.099 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.213e-05/2.46, allocations: 112 kB / 1.1 GB, free: 201.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00114/2.461, allocations: 98.92 kB / 1.1 GB, free: 201.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (splitterN.outlets[1].m_flow,splitterN.outlets[2].m_flow,splitterN.outlets[3].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004971/2.462, allocations: 265.5 kB / 1.1 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007571/2.462, allocations: 348.7 kB / 1.1 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/2.462, allocations: 0 / 1.1 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005704/2.463, allocations: 274.2 kB / 1.1 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/2.463, allocations: 23.34 kB / 1.101 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/2.465, allocations: 0.4898 MB / 1.101 GB, free: 200.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/2.465, allocations: 0.7821 MB / 1.102 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/2.465, allocations: 0 / 1.102 GB, free: 199.5 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat does not exist to compare? outputFormat=mat