Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.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.Volumes,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_Volumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Volumes,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.002573/0.002573, allocations: 184 kB / 7.462 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.9686/0.9686, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0007557/0.0007557, allocations: 96.39 kB / 261.1 MB, free: 13.56 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.4947/0.4947, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1007/0.5954, allocations: 72.38 MB / 471.8 MB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.8192, allocations: 66.25 MB / 0.5254 GB, free: 28.9 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.605/2.424, allocations: 1.213 GB / 1.738 GB, free: 76.45 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/2.424, allocations: 81.22 kB / 1.739 GB, free: 76.41 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: 995 * Number of variables: 995 Notification: Performance of Generate backend data structure: time 4.32/6.744, allocations: 1.696 GB / 3.435 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/6.744, allocations: 9.406 kB / 3.435 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/6.76, allocations: 1.339 MB / 3.436 GB, free: 27.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/6.763, allocations: 2.096 MB / 3.438 GB, free: 26.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/6.763, allocations: 125.7 kB / 3.438 GB, free: 26.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004324/6.764, allocations: 242.9 kB / 3.438 GB, free: 26.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004904/6.768, allocations: 3.963 MB / 3.442 GB, free: 22.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/6.774, allocations: 4.381 MB / 3.447 GB, free: 18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/6.774, allocations: 7.938 kB / 3.447 GB, free: 17.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/6.774, allocations: 11.91 kB / 3.447 GB, free: 17.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/6.775, allocations: 273.8 kB / 3.447 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/6.803, allocations: 22.69 MB / 3.469 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/6.806, allocations: 2.396 MB / 3.471 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/6.809, allocations: 2.207 MB / 3.473 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/6.82, allocations: 9.77 MB / 3.483 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/6.82, allocations: 110 kB / 3.483 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=437): time 5.711e-06/6.82, allocations: 0 / 3.483 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=437): time 0.008968/6.829, allocations: 4.787 MB / 3.488 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/6.829, allocations: 273.9 kB / 3.488 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/6.831, allocations: 1.359 MB / 3.489 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/6.831, allocations: 33.7 kB / 3.489 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/6.831, allocations: 1.072 MB / 3.49 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008766/6.832, allocations: 1.451 MB / 3.492 GB, free: 400 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/6.833, allocations: 0 / 3.492 GB, free: 400 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.2148/7.047, allocations: 478.8 kB / 3.492 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/7.05, allocations: 1.669 MB / 3.494 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/7.053, allocations: 2.286 MB / 3.496 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/7.057, allocations: 2.035 MB / 3.498 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/7.057, allocations: 7.344 kB / 3.498 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=552) (initialization): time 0.008482/7.066, allocations: 5.2 MB / 3.503 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/7.066, allocations: 5.406 kB / 3.503 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/7.066, allocations: 14.19 kB / 3.503 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/7.067, allocations: 0.5428 MB / 3.504 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/7.07, allocations: 0.823 MB / 3.505 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/7.081, allocations: 23.18 MB / 3.527 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/7.083, allocations: 360.4 kB / 3.528 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/7.084, allocations: 240 kB / 3.528 GB, free: 84.11 MB / 0.6823 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.0007162/7.085, allocations: 193.1 kB / 3.528 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/7.085, allocations: 339.2 kB / 3.528 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/7.095, allocations: 5.734 MB / 3.534 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.327e-05/7.096, allocations: 68.52 kB / 3.534 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/7.096, allocations: 10.72 kB / 3.534 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/7.096, allocations: 21.67 kB / 3.534 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/7.11, allocations: 10.1 MB / 3.544 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/7.11, allocations: 7.594 kB / 3.544 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/7.113, allocations: 0.6777 MB / 3.545 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/7.115, allocations: 0.9035 MB / 3.545 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/7.116, allocations: 110 kB / 3.546 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/7.128, allocations: 29.29 MB / 3.574 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/7.128, allocations: 4.438 kB / 3.574 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01194/7.14, allocations: 8.833 MB / 3.583 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01485/7.155, allocations: 12.23 MB / 3.595 GB, free: 50.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/7.156, allocations: 438 kB / 3.595 GB, free: 50.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/7.156, allocations: 23.59 kB / 3.595 GB, free: 50.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006305/7.163, allocations: 377.1 kB / 3.596 GB, free: 50.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/7.163, allocations: 287.7 kB / 3.596 GB, free: 50.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004153/7.164, allocations: 251.4 kB / 3.596 GB, free: 50.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001091/7.165, allocations: 0.9953 MB / 3.597 GB, free: 49.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008967/7.174, allocations: 3.996 MB / 3.601 GB, free: 49.91 MB / 0.6823 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.008841/7.182, allocations: 6.289 MB / 3.607 GB, free: 48.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007483/7.19, allocations: 7.036 MB / 3.614 GB, free: 46.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/7.19, allocations: 8.875 kB / 3.614 GB, free: 46.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005601/7.196, allocations: 5.038 MB / 3.619 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/7.2, allocations: 1.06 MB / 3.62 GB, free: 44.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/7.213, allocations: 9.05 MB / 3.629 GB, free: 42.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/7.216, allocations: 2.922 MB / 3.632 GB, free: 41.74 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/7.216, allocations: 3.5 kB / 3.632 GB, free: 41.74 MB / 0.6823 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_Volumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_Volumes.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe 2>&1)