Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.DynamicBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",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.001719/0.001719, allocations: 185.6 kB / 7.459 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 0.9422/0.9422, allocations: 205.2 MB / 213.1 MB, free: 13.88 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.001009/0.001009, allocations: 98.08 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.4817/0.4817, allocations: 90.34 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1037/0.5854, allocations: 72.39 MB / 471.7 MB, free: 3.734 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.8094, allocations: 66.26 MB / 0.5254 GB, free: 28.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.501/5.31, allocations: 3.553 GB / 4.078 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/5.31, allocations: 79.8 kB / 4.078 GB, free: 124.7 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: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 3.346/8.657, allocations: 1.494 GB / 5.572 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/8.657, allocations: 10.09 kB / 5.572 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/8.659, allocations: 0.5434 MB / 5.572 GB, free: 35.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/8.66, allocations: 1.238 MB / 5.574 GB, free: 34.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/8.66, allocations: 73.91 kB / 5.574 GB, free: 34.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/8.66, allocations: 146.8 kB / 5.574 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00242/8.663, allocations: 1.721 MB / 5.576 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/8.666, allocations: 2.056 MB / 5.578 GB, free: 34.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/8.666, allocations: 5.281 kB / 5.578 GB, free: 34.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/8.666, allocations: 2.719 kB / 5.578 GB, free: 34.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/8.666, allocations: 68.47 kB / 5.578 GB, free: 34.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008622/8.674, allocations: 12.24 MB / 5.59 GB, free: 26.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/8.676, allocations: 0.9424 MB / 5.59 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/8.677, allocations: 0.9833 MB / 5.591 GB, free: 26.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05097/8.728, allocations: 32.37 MB / 5.623 GB, free: 22.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/8.728, allocations: 64.66 kB / 5.623 GB, free: 22.65 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 3.606e-06/8.728, allocations: 0 / 5.623 GB, free: 22.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.007322/8.735, allocations: 3.012 MB / 5.626 GB, free: 22.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/8.735, allocations: 210.4 kB / 5.626 GB, free: 22.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/8.736, allocations: 0.7843 MB / 5.627 GB, free: 22.04 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/8.736, allocations: 25.7 kB / 5.627 GB, free: 22 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/8.736, allocations: 0.6516 MB / 5.628 GB, free: 21.63 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/8.737, allocations: 0.7205 MB / 5.628 GB, free: 21.14 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/8.737, allocations: 0 / 5.628 GB, free: 21.14 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001318/8.737, allocations: 380.5 kB / 5.629 GB, free: 20.83 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009028/8.738, allocations: 0.6466 MB / 5.629 GB, free: 20.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009962/8.739, allocations: 0.8803 MB / 5.63 GB, free: 20.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/8.742, allocations: 1.102 MB / 5.631 GB, free: 20.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/8.742, allocations: 3.906 kB / 5.631 GB, free: 20.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.006823/8.749, allocations: 3.127 MB / 5.634 GB, free: 20.33 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/8.749, allocations: 3.719 kB / 5.634 GB, free: 20.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/8.749, allocations: 4.906 kB / 5.634 GB, free: 20.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/8.749, allocations: 298.3 kB / 5.635 GB, free: 20.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/8.751, allocations: 382.2 kB / 5.635 GB, free: 20.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005516/8.756, allocations: 8.423 MB / 5.643 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/8.757, allocations: 180.3 kB / 5.643 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/8.758, allocations: 88.41 kB / 5.644 GB, free: 12.94 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow1.inlet.state.phase,dynamicPressureInflow.inlet.state.phase,dynamicPressureInflow2.inlet.state.phase,dynamicPressureInflow3.inlet.state.phase,dynamicPressureInflow4.inlet.state.phase,dynamicPressureInflow5.inlet.state.phase,dynamicPressureInflow5.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 190 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002569/8.758, allocations: 152.9 kB / 5.644 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/8.76, allocations: 0.7665 MB / 5.644 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008637/8.768, allocations: 7.16 MB / 5.651 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-05/8.768, allocations: 79.61 kB / 5.651 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/8.768, allocations: 3.938 kB / 5.651 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/8.769, allocations: 14.86 kB / 5.652 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/8.779, allocations: 10.28 MB / 5.662 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/8.779, allocations: 4.031 kB / 5.662 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/8.781, allocations: 333.1 kB / 5.662 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000705/8.781, allocations: 309.7 kB / 5.662 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/8.782, allocations: 55.52 kB / 5.662 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00535/8.787, allocations: 8.421 MB / 5.67 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/8.787, allocations: 1.125 kB / 5.67 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009954/8.797, allocations: 8.034 MB / 5.678 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01264/8.809, allocations: 10.48 MB / 5.689 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/8.81, allocations: 332.4 kB / 5.689 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/8.81, allocations: 9.312 kB / 5.689 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/8.811, allocations: 115.3 kB / 5.689 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/8.812, allocations: 155.5 kB / 5.689 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/8.812, allocations: 92.45 kB / 5.689 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006145/8.812, allocations: 0.5706 MB / 5.69 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005996/8.818, allocations: 2.185 MB / 5.692 GB, free: 16.17 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (dynamicPressureOutflow5.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow3.inlet.m_flow,dynamicPressureOutflow2.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow) * Number of discrete variables: 42 ($cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,dynamicPressureInflow5.inlet.state.phase,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,dynamicPressureInflow4.inlet.state.phase,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,dynamicPressureInflow3.inlet.state.phase,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,dynamicPressureInflow2.inlet.state.phase,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,dynamicPressureInflow.inlet.state.phase,$cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,dynamicPressureInflow1.inlet.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 172 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005977/8.824, allocations: 4.068 MB / 5.696 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004136/8.828, allocations: 4.193 MB / 5.7 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/8.828, allocations: 0 / 5.7 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003167/8.832, allocations: 3.817 MB / 5.704 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/8.834, allocations: 0.6192 MB / 5.704 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008805/8.843, allocations: 5.951 MB / 5.71 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/8.845, allocations: 2.109 MB / 5.712 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of SimCode: time 3.6e-07/8.845, allocations: 0 / 5.712 GB, free: 9.156 MB / 0.6823 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1)