Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.Boundaries.Tests.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_VolumesDirectCoupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.004943/0.004943, allocations: 185.2 kB / 7.457 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.0008939/0.0008936, allocations: 96.45 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.03/1.03, allocations: 90.34 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.1758/1.206, allocations: 72.41 MB / 471.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/1.751, allocations: 66.25 MB / 0.5254 GB, free: 28.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.531/10.28, allocations: 3.554 GB / 4.079 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/10.28, allocations: 82.7 kB / 4.079 GB, free: 0.7695 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: 1074 * Number of variables: 1074 Notification: Performance of Generate backend data structure: time 4.192/14.47, allocations: 1.168 GB / 5.248 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/14.47, allocations: 8.5 kB / 5.248 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/14.49, allocations: 1.482 MB / 5.249 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/14.49, allocations: 1.887 MB / 5.251 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005071/14.49, allocations: 163.8 kB / 5.251 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/14.5, allocations: 251.9 kB / 5.251 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01027/14.51, allocations: 2.992 MB / 5.254 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/14.52, allocations: 4.012 MB / 5.258 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/14.52, allocations: 11.88 kB / 5.258 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/14.52, allocations: 16 kB / 5.258 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/14.52, allocations: 111.9 kB / 5.258 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.429/14.95, allocations: 31.05 MB / 5.288 GB, free: 70.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/14.95, allocations: 1.709 MB / 5.29 GB, free: 70.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/14.96, allocations: 1.167 MB / 5.291 GB, free: 70.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/14.96, allocations: 1.022 MB / 5.292 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.306e-05/14.96, allocations: 82.39 kB / 5.292 GB, free: 69.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 4.588e-06/14.96, allocations: 0 / 5.292 GB, free: 69.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332): time 0.03121/14.99, allocations: 11.57 MB / 5.304 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/14.99, allocations: 317.3 kB / 5.304 GB, free: 64.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/14.99, allocations: 1.251 MB / 5.305 GB, free: 64.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008393/14.99, allocations: 25.7 kB / 5.305 GB, free: 64.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009508/14.99, allocations: 1.421 MB / 5.307 GB, free: 63.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/15, allocations: 1.096 MB / 5.308 GB, free: 63.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/15, allocations: 0 / 5.308 GB, free: 63.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000193/15, allocations: 471.5 kB / 5.308 GB, free: 62.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/15, allocations: 1.048 MB / 5.309 GB, free: 62.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/15, allocations: 2.235 MB / 5.311 GB, free: 61.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005067/15, allocations: 1.918 MB / 5.313 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/15, allocations: 10.72 kB / 5.313 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01602/15.02, allocations: 5.917 MB / 5.319 GB, free: 60.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/15.02, allocations: 8.969 kB / 5.319 GB, free: 60.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/15.02, allocations: 40.5 kB / 5.319 GB, free: 60.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/15.02, allocations: 0.8085 MB / 5.32 GB, free: 60.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003463/15.03, allocations: 0.8235 MB / 5.321 GB, free: 60.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/15.04, allocations: 22.38 MB / 5.343 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/15.05, allocations: 491.1 kB / 5.343 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/15.05, allocations: 210.3 kB / 5.343 GB, free: 39.73 MB / 0.6355 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.002182/15.05, allocations: 261.2 kB / 5.343 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004591/15.06, allocations: 1.118 MB / 5.345 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/15.08, allocations: 10.15 MB / 5.354 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/15.08, allocations: 84.94 kB / 5.355 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-05/15.08, allocations: 3.5 kB / 5.355 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.449e-05/15.08, allocations: 19.34 kB / 5.355 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/15.09, allocations: 3.609 MB / 5.358 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.139e-05/15.09, allocations: 2.625 kB / 5.358 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/15.09, allocations: 488.7 kB / 5.359 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006761/15.1, allocations: 3.591 MB / 5.362 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008364/15.1, allocations: 77.78 kB / 5.362 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/15.12, allocations: 25.64 MB / 5.387 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/15.12, allocations: 5.281 kB / 5.387 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02463/15.14, allocations: 10.99 MB / 5.398 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02689/15.17, allocations: 13.68 MB / 5.411 GB, free: 28.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/15.17, allocations: 382.2 kB / 5.412 GB, free: 28.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/15.17, allocations: 13 kB / 5.412 GB, free: 28.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004929/15.18, allocations: 409.8 kB / 5.412 GB, free: 28.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009146/15.18, allocations: 296.3 kB / 5.412 GB, free: 28.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007761/15.18, allocations: 137.3 kB / 5.412 GB, free: 28.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001871/15.18, allocations: 0.8139 MB / 5.413 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01551/15.2, allocations: 2.193 MB / 5.415 GB, free: 28.24 MB / 0.6511 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.01487/15.21, allocations: 2.881 MB / 5.418 GB, free: 27.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01307/15.22, allocations: 5.446 MB / 5.423 GB, free: 26.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.489e-05/15.22, allocations: 3.594 kB / 5.423 GB, free: 26.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.009419/15.23, allocations: 4.664 MB / 5.428 GB, free: 25.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005684/15.24, allocations: 0.6262 MB / 5.429 GB, free: 25.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/15.26, allocations: 8.604 MB / 5.437 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006437/15.27, allocations: 2.632 MB / 5.44 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of SimCode: time 2.024e-06/15.27, allocations: 0 / 5.44 GB, free: 23.39 MB / 0.6511 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_VolumesDirectCoupling_fmu --startTime=0 --stopTime=0.05 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_VolumesDirectCoupling.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.pipe 2>&1)