Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.00333/0.00333, allocations: 179.8 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.118/2.118, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0009223/0.0009222, allocations: 98.45 kB / 280.1 MB, free: 1.254 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.008552/0.008552, allocations: 1.579 MB / 332.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5555/0.5555, allocations: 90.04 MB / 473.6 MB, free: 7.273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2952/0.8508, allocations: 76.22 MB / 0.537 GB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.9953, allocations: 69.35 MB / 0.6047 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/2.06, allocations: 432.2 MB / 1.027 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/2.06, allocations: 82.06 kB / 1.027 GB, free: 15.87 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.4764/2.536, allocations: 89.65 MB / 1.114 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/2.536, allocations: 8.25 kB / 1.114 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/2.537, allocations: 38.88 kB / 1.114 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/2.537, allocations: 304.7 kB / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/2.537, allocations: 7.812 kB / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/2.537, allocations: 15.62 kB / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003093/2.538, allocations: 158.7 kB / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/2.538, allocations: 249.9 kB / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/2.538, allocations: 0 / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/2.538, allocations: 0 / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/2.538, allocations: 14.83 kB / 1.115 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/2.54, allocations: 1.52 MB / 1.117 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/2.54, allocations: 164.8 kB / 1.117 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/2.54, allocations: 84.56 kB / 1.117 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/2.541, allocations: 465.1 kB / 1.117 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/2.541, allocations: 36.48 kB / 1.117 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.023e-06/2.541, allocations: 3.938 kB / 1.117 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0009042/2.542, allocations: 299.5 kB / 1.118 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/2.542, allocations: 106.7 kB / 1.118 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/2.542, allocations: 223.2 kB / 1.118 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/2.542, allocations: 29.7 kB / 1.118 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/2.542, allocations: 166.6 kB / 1.118 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/2.542, allocations: 79.62 kB / 1.118 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/2.542, allocations: 3.938 kB / 1.118 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/2.542, allocations: 339.1 kB / 1.119 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/2.542, allocations: 64.05 kB / 1.119 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/2.542, allocations: 120.2 kB / 1.119 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/2.543, allocations: 160.1 kB / 1.119 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/2.543, allocations: 0 / 1.119 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007249/2.544, allocations: 354.6 kB / 1.119 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/2.544, allocations: 3.906 kB / 1.119 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/2.544, allocations: 3.906 kB / 1.119 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/2.544, allocations: 23.84 kB / 1.119 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/2.544, allocations: 57.7 kB / 1.119 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008969/2.545, allocations: 1.235 MB / 1.121 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/2.545, allocations: 27.66 kB / 1.121 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/2.545, allocations: 15.23 kB / 1.121 GB, free: 149.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.454e-05/2.545, allocations: 108 kB / 1.121 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/2.546, allocations: 39.19 kB / 1.121 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/2.546, allocations: 350 kB / 1.121 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/2.546, allocations: 7.406 kB / 1.121 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/2.546, allocations: 0 / 1.121 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.546, allocations: 128 / 1.121 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/2.547, allocations: 304.6 kB / 1.121 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/2.547, allocations: 7.844 kB / 1.121 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/2.547, allocations: 42.12 kB / 1.121 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.164e-05/2.547, allocations: 24.03 kB / 1.121 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/2.547, allocations: 3.906 kB / 1.121 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/2.548, allocations: 1.242 MB / 1.123 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/2.548, allocations: 3.703 kB / 1.123 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008572/2.549, allocations: 0.6586 MB / 1.123 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001067/2.55, allocations: 1.132 MB / 1.124 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/2.55, allocations: 106.2 kB / 1.124 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/2.55, allocations: 4 kB / 1.124 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/2.55, allocations: 18.06 kB / 1.124 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/2.55, allocations: 18.73 kB / 1.125 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/2.55, allocations: 7.75 kB / 1.125 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001342/2.551, allocations: 172.8 kB / 1.125 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001276/2.552, allocations: 148.1 kB / 1.125 GB, free: 146.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_rear.fore.m_flow,terminal_rear.p,terminal_fore.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004748/2.552, allocations: 324.8 kB / 1.125 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007071/2.553, allocations: 314.5 kB / 1.125 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.553, allocations: 0 / 1.125 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/2.553, allocations: 237.8 kB / 1.126 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/2.554, allocations: 71.66 kB / 1.126 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/2.555, allocations: 0.5532 MB / 1.126 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/2.556, allocations: 0.8284 MB / 1.127 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/2.556, allocations: 0 / 1.127 GB, free: 145.1 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat does not exist to compare? outputFormat=mat