Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.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.Boundaries.Tests.Volumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Volumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes",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.001826/0.001826, allocations: 183.2 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.379/1.379, allocations: 221.4 MB / 229.3 MB, free: 3.336 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.0008327/0.0008327, allocations: 100.7 kB / 280.1 MB, free: 1.25 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.007084/0.007084, allocations: 1.572 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.4674/0.4674, allocations: 90.03 MB / 473.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1714/0.6388, allocations: 76.22 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.7337, allocations: 69.35 MB / 0.6047 GB, free: 8.785 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.756/2.49, allocations: 1.174 GB / 1.779 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/2.49, allocations: 83.08 kB / 1.779 GB, free: 168.7 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: 995 * Number of variables: 995 Notification: Performance of Generate backend data structure: time 4.149/6.639, allocations: 1.628 GB / 3.407 GB, free: 28.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/6.639, allocations: 12 kB / 3.407 GB, free: 28.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/6.654, allocations: 1.341 MB / 3.408 GB, free: 27.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/6.657, allocations: 2.086 MB / 3.41 GB, free: 25.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/6.657, allocations: 131.3 kB / 3.41 GB, free: 25.22 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/6.658, allocations: 247.7 kB / 3.411 GB, free: 24.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004674/6.662, allocations: 3.971 MB / 3.414 GB, free: 21 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00541/6.668, allocations: 4.401 MB / 3.419 GB, free: 16.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.937e-05/6.668, allocations: 4 kB / 3.419 GB, free: 16.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/6.668, allocations: 4 kB / 3.419 GB, free: 16.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002587/6.669, allocations: 273.8 kB / 3.419 GB, free: 16.27 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02988/6.698, allocations: 22.73 MB / 3.441 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/6.702, allocations: 2.407 MB / 3.444 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/6.704, allocations: 2.208 MB / 3.446 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/6.715, allocations: 8.923 MB / 3.454 GB, free: 9.219 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/6.715, allocations: 102 kB / 3.455 GB, free: 9.109 MB / 0.698 GB Notification: Performance of pre-optimization done (n=437): time 5.871e-06/6.715, allocations: 0 / 3.455 GB, free: 9.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=437): time 0.009133/6.724, allocations: 4.853 MB / 3.459 GB, free: 4.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/6.724, allocations: 277.9 kB / 3.46 GB, free: 3.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/6.726, allocations: 1.359 MB / 3.461 GB, free: 2.449 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002802/6.726, allocations: 37.7 kB / 3.461 GB, free: 2.406 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/6.727, allocations: 1.076 MB / 3.462 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.2124/6.939, allocations: 1.449 MB / 3.463 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006374/6.94, allocations: 0 / 3.463 GB, free: 108.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001991/6.94, allocations: 475.7 kB / 3.464 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/6.943, allocations: 1.675 MB / 3.465 GB, free: 107.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/6.945, allocations: 2.293 MB / 3.468 GB, free: 107.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/6.95, allocations: 2.084 MB / 3.47 GB, free: 107.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/6.95, allocations: 3.469 kB / 3.47 GB, free: 107.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=552) (initialization): time 0.0089/6.959, allocations: 5.248 MB / 3.475 GB, free: 107 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/6.959, allocations: 6.625 kB / 3.475 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/6.959, allocations: 14.41 kB / 3.475 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/6.96, allocations: 0.5452 MB / 3.475 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/6.963, allocations: 0.8297 MB / 3.476 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/6.973, allocations: 23.19 MB / 3.499 GB, free: 85.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/6.976, allocations: 356.3 kB / 3.499 GB, free: 85.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003973/6.976, allocations: 246.8 kB / 3.499 GB, free: 85.47 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (488): * Single equations (assignments): 451 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000707/6.977, allocations: 194.9 kB / 3.5 GB, free: 85.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006499/6.978, allocations: 333.7 kB / 3.5 GB, free: 85.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/6.989, allocations: 7.118 MB / 3.507 GB, free: 84.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-05/6.989, allocations: 66.7 kB / 3.507 GB, free: 84.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/6.989, allocations: 13.66 kB / 3.507 GB, free: 84.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/6.989, allocations: 18.61 kB / 3.507 GB, free: 84.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/7.005, allocations: 10.17 MB / 3.517 GB, free: 83.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/7.005, allocations: 5.312 kB / 3.517 GB, free: 83.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/7.008, allocations: 0.69 MB / 3.518 GB, free: 83.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/7.01, allocations: 0.8981 MB / 3.518 GB, free: 83.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/7.01, allocations: 118.6 kB / 3.519 GB, free: 83.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/7.023, allocations: 29.28 MB / 3.547 GB, free: 56.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/7.023, allocations: 10.03 kB / 3.547 GB, free: 56.06 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01223/7.035, allocations: 8.903 MB / 3.556 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01541/7.05, allocations: 12.28 MB / 3.568 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/7.051, allocations: 441.7 kB / 3.568 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/7.052, allocations: 31.67 kB / 3.568 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006499/7.058, allocations: 369 kB / 3.569 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/7.059, allocations: 292.8 kB / 3.569 GB, free: 51.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004321/7.059, allocations: 253.6 kB / 3.569 GB, free: 51.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001077/7.06, allocations: 0.994 MB / 3.57 GB, free: 51.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007576/7.068, allocations: 3.207 MB / 3.573 GB, free: 51.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 48 (source.outlet.m_flow,sink.inlet.m_flow,flexVolume1.M,flexVolume1.U_med,flexVolume1.m_flow_in,volume.M,volume.U_med,heatportVolume.M,heatportVolume.U_med,heatportVolume.m_flow_in,heatportVolume.m_flow_out,heatportVolume3.M,heatportVolume3.U_med,volumeMix2.M,volumeMix2.MXi[1],volumeMix2.MXi[2],volumeMix2.U_med,volumeMix.M,volumeMix.MXi[1],volumeMix.MXi[2],volumeMix.U_med,source2.outlet.m_flow,source3.outlet.m_flow,sink2.inlet.m_flow,volumeMix1.M,volumeMix1.MXi[1],volumeMix1.MXi[2],volumeMix1.U_med,source4.outlet.m_flow,source5.outlet.m_flow,sink3.inlet.m_flow,heatportVolume1.M,heatportVolume1.U_med,source6.outlet.m_flow,heatportVolume2.M,heatportVolume2.U_med,sink4.inlet.m_flow,volume1.M,volume1.U_med,volume1.m_flow_in,volume1.m_flow_out,volumeMix3.M,volumeMix3.MXi[1],volumeMix3.MXi[2],volumeMix3.U_med,source8.outlet.m_flow,source9.outlet.m_flow,sink6.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (374): * Single equations (assignments): 326 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 29 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 11 {2 3,1 2,1 2,1 2,1 1,1 1,1 1,1 2,1 2,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007013/7.075, allocations: 4.976 MB / 3.578 GB, free: 49.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009828/7.085, allocations: 7.034 MB / 3.585 GB, free: 47.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.81e-05/7.085, allocations: 7.344 kB / 3.585 GB, free: 47.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008781/7.094, allocations: 5.075 MB / 3.59 GB, free: 61.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006315/7.1, allocations: 1.06 MB / 3.591 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/7.118, allocations: 9.069 MB / 3.6 GB, free: 59.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004447/7.123, allocations: 2.977 MB / 3.603 GB, free: 59.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.183e-06/7.123, allocations: 0 / 3.603 GB, free: 59.2 MB / 0.7136 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe 2>&1)