Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Boundaries.Tests.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_VolumesDirectCoupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.005565/0.005565, allocations: 187 kB / 7.46 MB, free: 2.52 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.709/1.709, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001067/0.001067, allocations: 99.3 kB / 280.1 MB, free: 1.258 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.01167/0.01167, allocations: 1.578 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.4592/0.4592, allocations: 90.04 MB / 473.6 MB, free: 7.258 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.2979/0.7571, allocations: 76.22 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/1.018, allocations: 69.35 MB / 0.6047 GB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.23/9.248, allocations: 3.774 GB / 4.379 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/9.248, allocations: 93.52 kB / 4.379 GB, free: 131.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: 1074 * Number of variables: 1074 Notification: Performance of Generate backend data structure: time 2.977/12.22, allocations: 1.182 GB / 5.561 GB, free: 44.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/12.22, allocations: 11.75 kB / 5.561 GB, free: 44.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008973/12.23, allocations: 1.481 MB / 5.562 GB, free: 44.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/12.24, allocations: 1.885 MB / 5.564 GB, free: 43.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/12.24, allocations: 159.1 kB / 5.564 GB, free: 43.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/12.24, allocations: 254.9 kB / 5.565 GB, free: 43.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004185/12.24, allocations: 2.98 MB / 5.567 GB, free: 43.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004864/12.25, allocations: 4.024 MB / 5.571 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-05/12.25, allocations: 17.12 kB / 5.571 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/12.25, allocations: 15.66 kB / 5.571 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.027e-05/12.25, allocations: 108.6 kB / 5.571 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/12.27, allocations: 31.05 MB / 5.602 GB, free: 18.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/12.27, allocations: 1.718 MB / 5.603 GB, free: 18.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/12.27, allocations: 1.17 MB / 5.605 GB, free: 18.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/12.27, allocations: 1.022 MB / 5.606 GB, free: 17.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/12.27, allocations: 83.67 kB / 5.606 GB, free: 17.44 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=317): time 4.819e-06/12.27, allocations: 0 / 5.606 GB, free: 17.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=332): time 0.02286/12.29, allocations: 11.55 MB / 5.617 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/12.29, allocations: 325.2 kB / 5.617 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/12.29, allocations: 1.24 MB / 5.619 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002681/12.29, allocations: 29.39 kB / 5.619 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/12.3, allocations: 1.418 MB / 5.62 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006014/12.3, allocations: 1.109 MB / 5.621 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/12.3, allocations: 0 / 5.621 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001412/12.3, allocations: 464.1 kB / 5.621 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/12.3, allocations: 1.041 MB / 5.622 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/12.3, allocations: 2.24 MB / 5.625 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004509/12.3, allocations: 1.93 MB / 5.627 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/12.3, allocations: 11.62 kB / 5.627 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01382/12.32, allocations: 5.907 MB / 5.632 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/12.32, allocations: 6.031 kB / 5.632 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/12.32, allocations: 37.84 kB / 5.632 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/12.32, allocations: 0.8065 MB / 5.633 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/12.32, allocations: 0.8293 MB / 5.634 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/12.34, allocations: 22.38 MB / 5.656 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/12.34, allocations: 493.1 kB / 5.656 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/12.34, allocations: 211.8 kB / 5.656 GB, free: 3.234 MB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.heatportVolume14.medium.d:DUMMY_DER(fixed = false ) "Density of medium" 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 34 (heatportVolume12.medium.phase,heatportVolume13.medium.phase,heatportVolume8.medium.phase,heatportVolume9.medium.phase,heatportVolume7.medium.phase,boundaryFore1.rear.state_rearwards.phase,heatportVolume11.medium.phase,boundaryFore2.rear.state_rearwards.phase,heatportVolume14.medium.phase,boundaryFore3.rear.state_rearwards.phase,heatportVolume1.medium.phase,boundaryRear.fore.state_forwards.phase,heatportVolume10.medium.phase,boundaryRear1.fore.state_forwards.phase,heatportVolume2.medium.phase,boundaryFore.rear.state_rearwards.phase,heatportVolume3.medium.phase,heatportVolume4.medium.phase,heatportVolume5.medium.phase,heatportVolume6.medium.phase,heatportVolume14.state_in_rear.phase,heatportVolume13.state_in_fore.phase,heatportVolume12.state_in_rear.phase,heatportVolume11.state_in_rear.phase,heatportVolume10.state_in_fore.phase,heatportVolume9.state_in_fore.phase,heatportVolume8.state_in_rear.phase,heatportVolume7.state_in_rear.phase,heatportVolume6.state_in_fore.phase,heatportVolume5.state_in_rear.phase,heatportVolume4.state_in_fore.phase,heatportVolume3.state_in_rear.phase,heatportVolume1.state_in_fore.phase,heatportVolume2.state_in_rear.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,2 3,2 3,1 1,1 1,1 1,1 1,1 1,2 3,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000685/12.34, allocations: 253.9 kB / 5.657 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002986/12.34, allocations: 1.118 MB / 5.658 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/12.36, allocations: 10.16 MB / 5.668 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001131/12.36, allocations: 86.27 kB / 5.668 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.905e-05/12.36, allocations: 4.625 kB / 5.668 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.63e-05/12.36, allocations: 15.91 kB / 5.668 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009431/12.37, allocations: 3.607 MB / 5.671 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/12.37, allocations: 3.25 kB / 5.671 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/12.38, allocations: 485.8 kB / 5.672 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005525/12.38, allocations: 3.594 MB / 5.675 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008725/12.38, allocations: 75.34 kB / 5.675 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/12.4, allocations: 25.64 MB / 5.7 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/12.4, allocations: 0 / 5.7 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01705/12.42, allocations: 11 MB / 5.711 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02564/12.45, allocations: 13.67 MB / 5.725 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/12.45, allocations: 386.3 kB / 5.725 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008903/12.45, allocations: 12.41 kB / 5.725 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/12.45, allocations: 410.7 kB / 5.725 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005673/12.45, allocations: 291.4 kB / 5.726 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003326/12.45, allocations: 147.2 kB / 5.726 GB, free: 7.781 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001085/12.46, allocations: 0.8116 MB / 5.727 GB, free: 7.637 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008173/12.46, allocations: 2.183 MB / 5.729 GB, free: 7.488 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 38 (heatportVolume12.M,heatportVolume12.U_med,heatportVolume12.m_flow_fore,heatportVolume13.M,heatportVolume13.U_med,heatportVolume8.M,heatportVolume8.U_med,heatportVolume8.m_flow_fore,heatportVolume9.M,heatportVolume9.U_med,heatportVolume5.M,heatportVolume5.U_med,heatportVolume5.m_flow_fore,heatportVolume6.M,heatportVolume6.U_med,heatportVolume3.M,heatportVolume3.U_med,heatportVolume3.m_flow_fore,heatportVolume4.M,heatportVolume4.U_med,heatportVolume2.M,heatportVolume2.U_med,heatportVolume2.m_flow_fore,heatportVolume7.M,heatportVolume7.U_med,heatportVolume7.m_flow_fore,heatportVolume11.M,heatportVolume11.U_med,heatportVolume11.m_flow_fore,heatportVolume14.M,heatportVolume14.U_med,heatportVolume14.m_flow_fore,heatportVolume1.M,heatportVolume1.U_med,heatportVolume1.m_flow_rear,heatportVolume10.M,heatportVolume10.U_med,heatportVolume10.m_flow_rear) * Number of discrete variables: 48 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,heatportVolume12.medium.phase,heatportVolume13.medium.phase,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,heatportVolume8.medium.phase,heatportVolume9.medium.phase,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,heatportVolume5.medium.phase,heatportVolume6.medium.phase,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,heatportVolume3.medium.phase,heatportVolume4.medium.phase,$cse9.phase,$cse9.region,heatportVolume2.medium.phase,boundaryFore.rear.state_rearwards.phase,$cse10.phase,$cse10.region,heatportVolume7.medium.phase,boundaryFore1.rear.state_rearwards.phase,$cse11.phase,$cse11.region,heatportVolume11.medium.phase,boundaryFore2.rear.state_rearwards.phase,$cse12.phase,$cse12.region,heatportVolume14.medium.phase,boundaryFore3.rear.state_rearwards.phase,$cse13.phase,$cse13.region,heatportVolume1.medium.phase,boundaryRear.fore.state_forwards.phase,$cse14.phase,$cse14.region,heatportVolume10.medium.phase,boundaryRear1.fore.state_forwards.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 3,1 3,2 4,2 4,2 4,1 3,1 3,1 3,1 3,2 4,2 4,1 1,1 3,1 3,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005771/12.47, allocations: 2.886 MB / 5.731 GB, free: 6.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006512/12.48, allocations: 5.446 MB / 5.737 GB, free: 5.785 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/12.48, allocations: 2.219 kB / 5.737 GB, free: 5.785 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005813/12.48, allocations: 4.682 MB / 5.741 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/12.49, allocations: 0.6189 MB / 5.742 GB, free: 3.125 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/12.5, allocations: 8.598 MB / 5.75 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/12.5, allocations: 2.646 MB / 5.753 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of SimCode: time 6.32e-07/12.5, allocations: 0 / 5.753 GB, free: 14.89 MB / 0.7136 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_VolumesDirectCoupling_fmu --startTime=0 --stopTime=0.05 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_VolumesDirectCoupling.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe 2>&1)