Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_VolumesDirectCoupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.001695/0.001695, 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 3.2.3+maint.om/package.mo): time 0.9586/0.9586, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007403/0.0007404, allocations: 101.1 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5013/0.5013, allocations: 90.35 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1035/0.6049, allocations: 72.39 MB / 471.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.8342, allocations: 66.26 MB / 0.5254 GB, free: 28.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.578/5.412, allocations: 3.552 GB / 4.078 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/5.413, allocations: 74.78 kB / 4.078 GB, free: 1.188 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: 794 * Number of variables: 794 Notification: Performance of Generate backend data structure: time 2.674/8.087, allocations: 1.075 GB / 5.153 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/8.087, allocations: 12.28 kB / 5.153 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007416/8.094, allocations: 1.205 MB / 5.154 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/8.096, allocations: 1.596 MB / 5.156 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/8.096, allocations: 136.2 kB / 5.156 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/8.097, allocations: 191.8 kB / 5.156 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00337/8.1, allocations: 2.393 MB / 5.158 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/8.104, allocations: 3.098 MB / 5.161 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/8.104, allocations: 12.25 kB / 5.161 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/8.104, allocations: 15.92 kB / 5.161 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/8.104, allocations: 83.38 kB / 5.161 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/8.118, allocations: 21.72 MB / 5.183 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/8.12, allocations: 1.378 MB / 5.184 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/8.121, allocations: 0.996 MB / 5.185 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009883/8.122, allocations: 0.8072 MB / 5.186 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/8.122, allocations: 88.03 kB / 5.186 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=267): time 3.807e-06/8.122, allocations: 4 kB / 5.186 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=282): time 0.01641/8.139, allocations: 8.969 MB / 5.194 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/8.139, allocations: 319.1 kB / 5.195 GB, free: 7.742 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/8.14, allocations: 1.094 MB / 5.196 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/8.14, allocations: 29.7 kB / 5.196 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/8.14, allocations: 1.07 MB / 5.197 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/8.141, allocations: 0.9356 MB / 5.198 GB, free: 4.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/8.141, allocations: 0 / 5.198 GB, free: 4.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001169/8.141, allocations: 444.5 kB / 5.198 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/8.142, allocations: 0.8511 MB / 5.199 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/8.144, allocations: 1.81 MB / 5.201 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/8.146, allocations: 1.1 MB / 5.202 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/8.146, allocations: 8 kB / 5.202 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of matching and sorting (n=452) (initialization): time 0.01091/8.157, allocations: 4.622 MB / 5.206 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/8.157, allocations: 8 kB / 5.206 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/8.157, allocations: 28 kB / 5.206 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/8.159, allocations: 0.8677 MB / 5.207 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/8.161, allocations: 0.6639 MB / 5.208 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/8.176, allocations: 22.53 MB / 5.23 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/8.179, allocations: 361.8 kB / 5.23 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/8.18, allocations: 174.9 kB / 5.231 GB, free: 3.027 MB / 0.6355 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.000684/8.18, allocations: 236.5 kB / 5.231 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002635/8.183, allocations: 0.9307 MB / 5.232 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1848/8.368, allocations: 8.93 MB / 5.24 GB, free: 107 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/8.368, allocations: 68.62 kB / 5.24 GB, free: 107 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/8.368, allocations: 7.156 kB / 5.24 GB, free: 107 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/8.368, allocations: 19.08 kB / 5.24 GB, free: 107 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/8.372, allocations: 3.162 MB / 5.244 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/8.372, allocations: 2.625 kB / 5.244 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/8.374, allocations: 392.4 kB / 5.244 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00466/8.378, allocations: 3.686 MB / 5.248 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/8.378, allocations: 64.14 kB / 5.248 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/8.391, allocations: 25.74 MB / 5.273 GB, free: 85.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/8.391, allocations: 2.969 kB / 5.273 GB, free: 85.88 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01154/8.403, allocations: 9.517 MB / 5.282 GB, free: 84.38 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01348/8.416, allocations: 11.92 MB / 5.294 GB, free: 82.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/8.417, allocations: 356.3 kB / 5.294 GB, free: 82.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/8.417, allocations: 9.5 kB / 5.294 GB, free: 82.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/8.419, allocations: 354.5 kB / 5.294 GB, free: 82.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/8.42, allocations: 245 kB / 5.295 GB, free: 82.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/8.42, allocations: 133.6 kB / 5.295 GB, free: 82.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007262/8.421, allocations: 0.7218 MB / 5.295 GB, free: 81.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006562/8.427, allocations: 1.99 MB / 5.297 GB, free: 81.94 MB / 0.6355 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.004808/8.432, allocations: 2.754 MB / 5.3 GB, free: 81.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005316/8.438, allocations: 5.029 MB / 5.305 GB, free: 80.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/8.438, allocations: 6.625 kB / 5.305 GB, free: 80.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004777/8.442, allocations: 4.503 MB / 5.309 GB, free: 79.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/8.445, allocations: 0.5915 MB / 5.31 GB, free: 79.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/8.455, allocations: 7.868 MB / 5.318 GB, free: 78.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/8.457, allocations: 2.344 MB / 5.32 GB, free: 77.29 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/8.457, allocations: 0 / 5.32 GB, free: 77.29 MB / 0.6355 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_VolumesDirectCoupling_fmu --startTime=0 --stopTime=0.05 --timeout=1200 --tolerance=1e-07 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_VolumesDirectCoupling.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.VolumesDirectCoupling.pipe 2>&1)