Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.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.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_VolumesDirectCoupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_VolumesDirectCoupling",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.002932/0.002932, allocations: 187 kB / 7.465 MB, free: 2.227 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: 2.996 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.0008298/0.0008298, allocations: 105.2 kB / 280.1 MB, free: 1.289 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.007147/0.007147, allocations: 1.579 MB / 332.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4722/0.4722, allocations: 90.04 MB / 473.7 MB, free: 7.254 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1724/0.6446, allocations: 76.21 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.7409, allocations: 69.36 MB / 0.6047 GB, free: 8.766 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.724, allocations: 3.772 GB / 4.377 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/5.725, allocations: 87.11 kB / 4.377 GB, free: 136.3 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: 794 * Number of variables: 794 Notification: Performance of Generate backend data structure: time 2.767/8.492, allocations: 1.088 GB / 5.465 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/8.492, allocations: 13.91 kB / 5.465 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00887/8.501, allocations: 1.206 MB / 5.466 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/8.504, allocations: 1.602 MB / 5.468 GB, free: 45.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/8.504, allocations: 128.2 kB / 5.468 GB, free: 45.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/8.505, allocations: 199.6 kB / 5.468 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003928/8.508, allocations: 2.385 MB / 5.471 GB, free: 45.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/8.513, allocations: 3.099 MB / 5.474 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.558e-05/8.513, allocations: 13.25 kB / 5.474 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/8.513, allocations: 13.41 kB / 5.474 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/8.513, allocations: 78.19 kB / 5.474 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/8.538, allocations: 21.72 MB / 5.495 GB, free: 28.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/8.542, allocations: 1.366 MB / 5.496 GB, free: 28.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/8.544, allocations: 0.9973 MB / 5.497 GB, free: 28.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/8.546, allocations: 0.7881 MB / 5.498 GB, free: 27.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.336e-05/8.546, allocations: 89.56 kB / 5.498 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=267): time 8.005e-06/8.546, allocations: 0 / 5.498 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=282): time 0.03523/8.581, allocations: 8.998 MB / 5.507 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/8.581, allocations: 315.6 kB / 5.507 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/8.584, allocations: 1.076 MB / 5.508 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005476/8.584, allocations: 31.55 kB / 5.508 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/8.585, allocations: 1.076 MB / 5.509 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009426/8.586, allocations: 0.9423 MB / 5.51 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/8.586, allocations: 0 / 5.51 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001812/8.586, allocations: 439.6 kB / 5.511 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/8.589, allocations: 0.8544 MB / 5.511 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/8.592, allocations: 1.808 MB / 5.513 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/8.596, allocations: 1.09 MB / 5.514 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/8.596, allocations: 9.156 kB / 5.514 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=452) (initialization): time 0.02116/8.618, allocations: 4.615 MB / 5.519 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/8.618, allocations: 7.844 kB / 5.519 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.356e-05/8.618, allocations: 34.41 kB / 5.519 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/8.622, allocations: 0.8668 MB / 5.52 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/8.627, allocations: 0.6644 MB / 5.52 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/8.649, allocations: 22.53 MB / 5.542 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/8.655, allocations: 351.2 kB / 5.543 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/8.655, allocations: 175.2 kB / 5.543 GB, free: 15.26 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.heatportVolume14.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.heatportVolume14.V:DUMMY_DER(fixed = false ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.heatportVolume13.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.heatportVolume13.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.heatportVolume12.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.heatportVolume12.V:DUMMY_DER(fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 24 (heatportVolume1.medium.phase,heatportVolume1.inlet.state.phase,heatportVolume7.medium.phase,heatportVolume8.medium.phase,heatportVolume9.medium.phase,heatportVolume10.medium.phase,heatportVolume10.inlet.state.phase,heatportVolume11.medium.phase,heatportVolume12.medium.phase,heatportVolume13.medium.phase,heatportVolume14.medium.phase,heatportVolume5.medium.phase,heatportVolume6.medium.phase,heatportVolume3.medium.phase,heatportVolume4.medium.phase,heatportVolume2.medium.phase,heatportVolume14.state_in.phase,heatportVolume12.state_in.phase,heatportVolume11.state_in.phase,heatportVolume8.state_in.phase,heatportVolume7.state_in.phase,heatportVolume5.state_in.phase,heatportVolume3.state_in.phase,heatportVolume2.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 367 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 17 {1 1,1 1,1 1,1 1,1 1,1 1,2 4,2 4,2 3,2 3,2 4,2 3,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000713/8.656, allocations: 229.2 kB / 5.543 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002934/8.659, allocations: 0.9373 MB / 5.544 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/8.672, allocations: 8.921 MB / 5.553 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/8.672, allocations: 70.47 kB / 5.553 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/8.672, allocations: 7.781 kB / 5.553 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.214e-05/8.672, allocations: 20.62 kB / 5.553 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/8.676, allocations: 3.166 MB / 5.556 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/8.676, allocations: 3.094 kB / 5.556 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/8.678, allocations: 386.7 kB / 5.556 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005128/8.683, allocations: 3.68 MB / 5.56 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/8.683, allocations: 65.89 kB / 5.56 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/8.7, allocations: 25.75 MB / 5.585 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/8.701, allocations: 5.969 kB / 5.585 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01418/8.715, allocations: 9.517 MB / 5.594 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01594/8.731, allocations: 11.94 MB / 5.606 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009153/8.732, allocations: 345.2 kB / 5.606 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/8.732, allocations: 14.31 kB / 5.606 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/8.735, allocations: 358.9 kB / 5.607 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/8.736, allocations: 250.6 kB / 5.607 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002771/8.736, allocations: 129.7 kB / 5.607 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008663/8.737, allocations: 0.7259 MB / 5.608 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00784/8.745, allocations: 1.983 MB / 5.61 GB, free: 4.113 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 38 (heatportVolume2.M,heatportVolume2.U_med,heatportVolume2.m_flow_out,heatportVolume1.M,heatportVolume1.U_med,heatportVolume1.m_flow_in,heatportVolume3.M,heatportVolume3.U_med,heatportVolume3.m_flow_out,heatportVolume4.M,heatportVolume4.U_med,heatportVolume5.M,heatportVolume5.U_med,heatportVolume5.m_flow_out,heatportVolume6.M,heatportVolume6.U_med,heatportVolume7.M,heatportVolume7.U_med,heatportVolume7.m_flow_out,heatportVolume8.M,heatportVolume8.U_med,heatportVolume8.m_flow_out,heatportVolume9.M,heatportVolume9.U_med,heatportVolume10.M,heatportVolume10.U_med,heatportVolume10.m_flow_in,heatportVolume11.M,heatportVolume11.U_med,heatportVolume11.m_flow_out,heatportVolume12.M,heatportVolume12.U_med,heatportVolume12.m_flow_out,heatportVolume13.M,heatportVolume13.U_med,heatportVolume14.M,heatportVolume14.U_med,heatportVolume14.m_flow_out) * Number of discrete variables: 44 ($cse1.phase,$cse1.region,heatportVolume2.medium.phase,$cse2.phase,$cse2.region,heatportVolume1.medium.phase,heatportVolume1.inlet.state.phase,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,heatportVolume3.medium.phase,heatportVolume4.medium.phase,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,heatportVolume5.medium.phase,heatportVolume6.medium.phase,$cse7.phase,$cse7.region,heatportVolume7.medium.phase,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,heatportVolume8.medium.phase,heatportVolume9.medium.phase,$cse10.phase,$cse10.region,heatportVolume10.medium.phase,heatportVolume10.inlet.state.phase,$cse11.phase,$cse11.region,heatportVolume11.medium.phase,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,heatportVolume12.medium.phase,heatportVolume13.medium.phase,$cse14.phase,$cse14.region,heatportVolume14.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 180 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 17 {1 3,1 3,1 3,1 3,2 4,1 3,2 4,2 4,2 4,2 4,2 4,1 5,2 4,1 3,1 3,1 5,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007039/8.752, allocations: 2.761 MB / 5.612 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007001/8.759, allocations: 5.014 MB / 5.617 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/8.759, allocations: 8.062 kB / 5.617 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005938/8.765, allocations: 4.499 MB / 5.622 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/8.768, allocations: 0.5967 MB / 5.622 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/8.781, allocations: 7.877 MB / 5.63 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/8.783, allocations: 2.347 MB / 5.632 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/8.783, allocations: 0 / 5.632 GB, free: 14.92 MB / 0.6823 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_VolumesDirectCoupling_fmu --startTime=0 --stopTime=0.05 --timeout=1200 --tolerance=1e-07 ThermofluidStream_ThermofluidStream_Boundaries_Tests_VolumesDirectCoupling.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe 2>&1)