Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_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 4.0.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 182.9 kB / 7.461 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 1.053/1.053, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0008558/0.0008558, allocations: 109.1 kB / 280.1 MB, free: 1.324 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.007679/0.007679, allocations: 1.571 MB / 332.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4092/0.4092, allocations: 90.04 MB / 473.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1835/0.5927, allocations: 76.21 MB / 0.537 GB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.7053, allocations: 69.35 MB / 0.6047 GB, free: 8.805 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6394/1.345, allocations: 353.3 MB / 0.9497 GB, free: 76.94 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/1.345, allocations: 74.58 kB / 0.9498 GB, free: 76.91 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.4058/1.751, allocations: 135.6 MB / 1.082 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/1.751, allocations: 7.812 kB / 1.082 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/1.751, allocations: 93.7 kB / 1.082 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/1.752, allocations: 451.6 kB / 1.083 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.752, allocations: 25.81 kB / 1.083 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/1.752, allocations: 37.23 kB / 1.083 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007645/1.753, allocations: 0.5676 MB / 1.083 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/1.753, allocations: 0.5606 MB / 1.084 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.753, allocations: 3.469 kB / 1.084 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/1.753, allocations: 3.531 kB / 1.084 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/1.753, allocations: 18.97 kB / 1.084 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/1.756, allocations: 2.898 MB / 1.087 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/1.757, allocations: 324.6 kB / 1.087 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/1.757, allocations: 277.8 kB / 1.087 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/1.757, allocations: 0.6737 MB / 1.088 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.757, allocations: 45.88 kB / 1.088 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 1.864e-06/1.757, allocations: 0 / 1.088 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.004948/1.762, allocations: 1.246 MB / 1.089 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.762, allocations: 86.8 kB / 1.089 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/1.763, allocations: 332.3 kB / 1.09 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/1.763, allocations: 25.7 kB / 1.09 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/1.763, allocations: 247 kB / 1.09 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/1.763, allocations: 229.5 kB / 1.09 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/1.763, allocations: 0 / 1.09 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/1.763, allocations: 369.5 kB / 1.09 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/1.763, allocations: 201.3 kB / 1.091 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/1.764, allocations: 276.9 kB / 1.091 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/1.764, allocations: 242.3 kB / 1.091 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.764, allocations: 0 / 1.091 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005/1.769, allocations: 1.311 MB / 1.092 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.769, allocations: 9.969 kB / 1.092 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.769, allocations: 7.594 kB / 1.092 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/1.774, allocations: 0.9165 MB / 1.093 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/1.774, allocations: 101.8 kB / 1.093 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/1.776, allocations: 2.793 MB / 1.096 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/1.777, allocations: 52.84 kB / 1.096 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/1.777, allocations: 25.69 kB / 1.096 GB, free: 163.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 53 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.777, allocations: 126.4 kB / 1.096 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.777, allocations: 62.33 kB / 1.096 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/1.782, allocations: 1.405 MB / 1.098 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/1.782, allocations: 8.938 kB / 1.098 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.782, allocations: 0 / 1.098 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.782, allocations: 7.547 kB / 1.098 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/1.788, allocations: 2.041 MB / 1.1 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.788, allocations: 0 / 1.1 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/1.788, allocations: 82.06 kB / 1.1 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004591/1.793, allocations: 0.9275 MB / 1.101 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/1.793, allocations: 10.69 kB / 1.101 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/1.795, allocations: 2.773 MB / 1.104 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.795, allocations: 3.906 kB / 1.104 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0052/1.8, allocations: 1.79 MB / 1.105 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005632/1.806, allocations: 2.507 MB / 1.108 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/1.806, allocations: 144.9 kB / 1.108 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/1.806, allocations: 6.656 kB / 1.108 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.806, allocations: 20.14 kB / 1.108 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/1.806, allocations: 43.92 kB / 1.108 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/1.806, allocations: 18.91 kB / 1.108 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001838/1.806, allocations: 253 kB / 1.108 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001366/1.808, allocations: 389.8 kB / 1.109 GB, free: 159.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000617/1.808, allocations: 0.5453 MB / 1.109 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009427/1.809, allocations: 0.6916 MB / 1.11 GB, free: 159 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.809, allocations: 0 / 1.11 GB, free: 159 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/1.81, allocations: 467.1 kB / 1.11 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/1.811, allocations: 154.6 kB / 1.11 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/1.812, allocations: 0.9686 MB / 1.111 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.813, allocations: 0.9777 MB / 1.112 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/1.813, allocations: 3.938 kB / 1.112 GB, free: 157.8 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1)